2002-01-03 21:54:31 +03:00
|
|
|
# $NetBSD: files.usb,v 1.39 2002/01/03 18:54:32 augustss Exp $
|
1998-07-12 23:51:55 +04:00
|
|
|
#
|
|
|
|
# Config file and device description for machine-independent USB code.
|
|
|
|
# Included by ports that need it. Ports that use it must provide
|
|
|
|
# their own "major" declarations for the appropriate devices.
|
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag USBVERBOSE
|
1998-07-12 23:51:55 +04:00
|
|
|
|
|
|
|
device usb { }
|
|
|
|
attach usb at usbus
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/usb.c usb needs-flag
|
1998-07-12 23:51:55 +04:00
|
|
|
file dev/usb/usbdi.c usb
|
|
|
|
file dev/usb/usbdi_util.c usb
|
1998-07-25 19:36:30 +04:00
|
|
|
file dev/usb/usb_mem.c usb
|
1998-07-12 23:51:55 +04:00
|
|
|
file dev/usb/usb_subr.c usb
|
|
|
|
file dev/usb/usb_quirks.c usb
|
|
|
|
|
|
|
|
# Hub driver
|
1999-05-16 17:51:05 +04:00
|
|
|
device uhub { [port = -1], [configuration = -1], [interface = -1],
|
|
|
|
[vendor = -1], [product = -1], [release = -1] }
|
1998-07-12 23:51:55 +04:00
|
|
|
attach uhub at usb
|
|
|
|
file dev/usb/uhub.c usb
|
|
|
|
|
|
|
|
attach uhub at uhub with uhub_uhub
|
|
|
|
|
2000-01-25 11:12:58 +03:00
|
|
|
# Modem and com serial port "bus"
|
|
|
|
define ucombus {[ portno = -1 ]}
|
|
|
|
|
2001-01-02 21:49:56 +03:00
|
|
|
# EZ-USB firmware loader
|
|
|
|
define ezload
|
|
|
|
file dev/usb/ezload.c ezload
|
|
|
|
|
1998-12-03 01:47:19 +03:00
|
|
|
# Audio devices
|
|
|
|
device uaudio: audio, auconv, mulaw
|
|
|
|
attach uaudio at uhub
|
|
|
|
file dev/usb/uaudio.c uaudio
|
1998-07-12 23:51:55 +04:00
|
|
|
|
2001-01-31 02:26:47 +03:00
|
|
|
# MIDI devices
|
|
|
|
device umidi: midibus
|
|
|
|
attach umidi at uhub
|
|
|
|
file dev/usb/umidi.c umidi
|
|
|
|
file dev/usb/umidi_quirks.c umidi
|
|
|
|
|
2000-01-25 11:12:58 +03:00
|
|
|
# Modem and com serial port
|
|
|
|
device ucom
|
|
|
|
attach ucom at ucombus
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/ucom.c ucom | ucombus needs-flag
|
2000-01-25 11:12:58 +03:00
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
|
1998-12-03 01:47:19 +03:00
|
|
|
# Generic devices
|
|
|
|
device ugen
|
|
|
|
attach ugen at uhub
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/ugen.c ugen needs-flag
|
1998-07-12 23:51:55 +04:00
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
|
|
|
|
# HID
|
2001-12-29 13:50:55 +03:00
|
|
|
# HID "bus"
|
|
|
|
define uhidbus {[ reportid = -1 ]}
|
|
|
|
|
|
|
|
# HID processing
|
|
|
|
define hid
|
|
|
|
file dev/usb/hid.c hid
|
|
|
|
|
2001-12-28 20:32:36 +03:00
|
|
|
# HID root device for multiple report IDs
|
2001-12-29 13:50:55 +03:00
|
|
|
device uhidev: hid, uhidbus
|
2001-12-28 20:32:36 +03:00
|
|
|
attach uhidev at uhub
|
|
|
|
file dev/usb/uhidev.c uhidev
|
|
|
|
|
1998-07-12 23:51:55 +04:00
|
|
|
# Generic HID devices
|
2001-12-29 13:50:55 +03:00
|
|
|
device uhid: hid
|
2001-12-28 20:32:36 +03:00
|
|
|
attach uhid at uhidbus
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/uhid.c uhid needs-flag
|
1998-07-12 23:51:55 +04:00
|
|
|
|
1998-12-03 01:47:19 +03:00
|
|
|
# Keyboards
|
2001-12-29 13:50:55 +03:00
|
|
|
device ukbd: hid, wskbddev
|
2001-12-28 20:32:36 +03:00
|
|
|
attach ukbd at uhidbus
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/ukbd.c ukbd needs-flag
|
1999-01-10 14:09:02 +03:00
|
|
|
file dev/usb/ukbdmap.c ukbd
|
1998-12-03 01:47:19 +03:00
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
# Mice
|
2001-12-29 13:50:55 +03:00
|
|
|
device ums: hid, wsmousedev
|
2001-12-28 20:32:36 +03:00
|
|
|
attach ums at uhidbus
|
2001-01-11 09:00:31 +03:00
|
|
|
file dev/usb/ums.c ums
|
|
|
|
|
|
|
|
|
1998-07-12 23:51:55 +04:00
|
|
|
# Printers
|
1998-07-25 19:36:30 +04:00
|
|
|
device ulpt
|
1998-07-12 23:51:55 +04:00
|
|
|
attach ulpt at uhub
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/ulpt.c ulpt needs-flag
|
1998-07-12 23:51:55 +04:00
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
|
1999-05-16 17:51:05 +04:00
|
|
|
# Mass storage
|
2001-12-24 16:43:24 +03:00
|
|
|
device umass: scsi, atapi, ata
|
1999-08-23 11:07:47 +04:00
|
|
|
attach umass at uhub
|
|
|
|
file dev/usb/umass.c umass
|
2001-12-24 16:43:24 +03:00
|
|
|
file dev/usb/umass_isdata.c umass & wd
|
2001-12-17 15:16:14 +03:00
|
|
|
file dev/usb/umass_quirks.c umass
|
2001-12-24 16:25:52 +03:00
|
|
|
file dev/usb/umass_scsipi.c umass & (scsibus | atapibus)
|
1999-05-16 17:51:05 +04:00
|
|
|
|
2000-01-16 12:40:07 +03:00
|
|
|
|
2001-12-12 18:27:24 +03:00
|
|
|
# IrDA bridges
|
|
|
|
device uirda: irbus
|
|
|
|
attach uirda at uhub
|
|
|
|
file dev/usb/uirda.c uirda
|
|
|
|
|
|
|
|
|
2002-01-03 21:54:31 +03:00
|
|
|
# SigmaTel IrDA bridge
|
|
|
|
device ustir: irbus, irdasir
|
|
|
|
attach ustir at uhub
|
|
|
|
file dev/usb/ustir.c ustir
|
|
|
|
|
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
# Misc
|
2000-04-14 18:20:02 +04:00
|
|
|
# Diamond Multimedia Rio 500
|
|
|
|
device urio
|
|
|
|
attach urio at uhub
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/urio.c urio needs-flag
|
2000-04-14 18:20:02 +04:00
|
|
|
|
2000-03-30 20:56:19 +04:00
|
|
|
# Handspring Visor
|
|
|
|
device uvisor: ucombus
|
|
|
|
attach uvisor at uhub
|
|
|
|
file dev/usb/uvisor.c uvisor
|
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
# YAP phone firmware loader
|
|
|
|
device uyap: ezload
|
|
|
|
attach uyap at uhub
|
|
|
|
file dev/usb/uyap.c uyap
|
|
|
|
|
2002-01-02 06:21:36 +03:00
|
|
|
# D-Link DSB-R100 FM radio
|
|
|
|
device udsbr: radio
|
|
|
|
attach udsbr at uhub
|
|
|
|
file dev/usb/udsbr.c udsbr
|
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
|
2000-01-16 12:40:07 +03:00
|
|
|
# Ethernet adapters
|
|
|
|
# ADMtek AN986 Pegasus
|
2000-02-14 23:29:54 +03:00
|
|
|
device aue: arp, ether, ifnet, mii, mii_phy
|
2000-01-16 12:40:07 +03:00
|
|
|
attach aue at uhub
|
|
|
|
file dev/usb/if_aue.c aue
|
|
|
|
|
|
|
|
# CATC USB-EL1201A
|
|
|
|
device cue: arp, ether, ifnet
|
|
|
|
attach cue at uhub
|
|
|
|
file dev/usb/if_cue.c cue
|
|
|
|
|
|
|
|
# Kawasaki LSI KL5KUSB101B
|
|
|
|
device kue: arp, ether, ifnet
|
|
|
|
attach kue at uhub
|
|
|
|
file dev/usb/if_kue.c kue
|
2000-04-09 22:23:23 +04:00
|
|
|
|
|
|
|
# Prolific PL2302 host-host
|
|
|
|
device upl: ifnet
|
|
|
|
attach upl at uhub
|
|
|
|
file dev/usb/if_upl.c upl
|
2000-04-14 18:51:22 +04:00
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
|
2000-04-14 18:51:22 +04:00
|
|
|
# Serial drivers
|
2001-01-11 09:00:31 +03:00
|
|
|
# Modems
|
|
|
|
device umodem: ucombus
|
|
|
|
attach umodem at uhub
|
|
|
|
file dev/usb/umodem.c umodem
|
|
|
|
|
2000-04-14 18:51:22 +04:00
|
|
|
# FTDI serial driver
|
|
|
|
device uftdi: ucombus
|
|
|
|
attach uftdi at uhub
|
|
|
|
file dev/usb/uftdi.c uftdi
|
2000-09-23 08:32:23 +04:00
|
|
|
|
2001-01-23 04:24:10 +03:00
|
|
|
# Prolific PL2303 serial driver
|
|
|
|
device uplcom: ucombus
|
|
|
|
attach uplcom at uhub
|
|
|
|
file dev/usb/uplcom.c uplcom
|
2001-01-11 09:00:31 +03:00
|
|
|
|
2001-03-28 22:42:13 +04:00
|
|
|
# MCT USB-232 serial driver
|
|
|
|
device umct: ucombus
|
|
|
|
attach umct at uhub
|
|
|
|
file dev/usb/umct.c umct
|
|
|
|
|
2001-12-28 20:32:36 +03:00
|
|
|
|
2000-09-23 08:32:23 +04:00
|
|
|
# Scanners
|
2001-01-11 09:00:31 +03:00
|
|
|
# Generic scanner support
|
2000-09-23 08:32:23 +04:00
|
|
|
device uscanner
|
|
|
|
attach uscanner at uhub
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/uscanner.c uscanner needs-flag
|
2001-01-02 21:52:44 +03:00
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
# Avision SCSI over USB, HP5300
|
|
|
|
device usscanner: scsi
|
|
|
|
attach usscanner at uhub
|
|
|
|
file dev/usb/usscanner.c usscanner
|