1# $OpenBSD: files.usb,v 1.127 2016/06/01 09:48:20 mglocker Exp $ 2# $NetBSD: files.usb,v 1.16 2000/02/14 20:29:54 augustss Exp $ 3# 4# Config file and device description for machine-independent USB code. 5# Included by ports that need it. Ports that use it must provide 6# their own "major" declarations for the appropriate devices. 7 8device usb {} 9attach usb at usbus 10file dev/usb/usb.c usb needs-flag 11file dev/usb/usbdi.c usb 12file dev/usb/usbdi_util.c usb 13file dev/usb/usb_mem.c usb | usbf 14file dev/usb/usb_subr.c usb 15file dev/usb/usb_quirks.c usb 16 17# Hub driver 18device uhub {[port = -1], [configuration = -1], [interface = -1], 19 [vendor = -1], [product = -1], [release = -1]} 20attach uhub at usb 21file dev/usb/uhub.c usb 22 23attach uhub at uhub with uhub_uhub 24 25# Modem and com serial port "bus" 26define ucombus {[portno = -1]} 27 28# Audio devices 29device uaudio: audio 30attach uaudio at uhub 31file dev/usb/uaudio.c uaudio 32 33# Video devices 34device uvideo: video, firmload 35attach uvideo at uhub 36file dev/usb/uvideo.c uvideo 37 38# USBTV007 devices 39device utvfu: video, audio 40attach utvfu at uhub 41file dev/usb/utvfu.c utvfu 42 43device udl: wsemuldisplaydev, rasops16, edid 44attach udl at uhub 45file dev/usb/udl.c udl 46 47# MIDI devices 48device umidi: midibus 49attach umidi at uhub 50file dev/usb/umidi.c umidi 51file dev/usb/umidi_quirks.c umidi 52 53# Modem and com serial port 54device ucom 55attach ucom at ucombus 56file dev/usb/ucom.c ucom | ucombus needs-flag 57 58 59# Generic devices 60device ugen 61attach ugen at uhub 62file dev/usb/ugen.c ugen needs-flag 63 64 65# HID 66# HID "bus" 67define uhidbus {[reportid = -1]} 68 69# HID root device for multiple report IDs 70device uhidev: hid, uhidbus 71attach uhidev at uhub 72file dev/usb/uhidev.c uhidev 73 74# Generic HID devices 75device uhid: hid 76attach uhid at uhidbus 77file dev/usb/uhid.c uhid needs-flag 78 79# Keyboards 80file dev/usb/ukbdmap.c hidkbd 81device ukbd: hid, hidkbd, wskbddev 82attach ukbd at uhidbus 83file dev/usb/ukbd.c ukbd needs-flag 84 85# Mice 86device ums: hid, hidms, wsmousedev 87attach ums at uhidbus 88file dev/usb/ums.c ums 89 90# USB Touchscreen 91device uts: wsmousedev 92attach uts at uhub 93file dev/usb/uts.c uts 94 95# Apple USB Touchpad 96device utpms: hid, wsmousedev 97attach utpms at uhidbus 98file dev/usb/utpms.c utpms 99 100# Broadcom touchpad 101device ubcmtp: wsmousedev 102attach ubcmtp at uhub 103file dev/usb/ubcmtp.c ubcmtp 104 105# Cypress microcontroller based serial adpaters 106device ucycom: hid, ucombus 107attach ucycom at uhidbus 108file dev/usb/ucycom.c ucycom needs-flag 109 110# Silicon Labs USB HID based UART controller 111device uslhcom: hid, ucombus 112attach uslhcom at uhidbus 113file dev/usb/uslhcom.c uslhcom needs-flag 114 115# Printers 116device ulpt: firmload 117attach ulpt at uhub 118file dev/usb/ulpt.c ulpt needs-flag 119 120 121# Mass storage 122device umass: scsi 123attach umass at uhub 124file dev/usb/umass.c umass 125file dev/usb/umass_quirks.c umass 126file dev/usb/umass_scsi.c umass & scsibus 127 128 129# Sensors 130# TEMPerHUM HID 131device uthum: hid 132attach uthum at uhidbus 133file dev/usb/uthum.c uthum 134 135# gold TEMPer 136device ugold: hid 137attach ugold at uhidbus 138file dev/usb/ugold.c ugold 139 140# Strawberry Linux USBRH 141device utrh: hid 142attach utrh at uhidbus 143file dev/usb/utrh.c utrh 144 145# Fujitsu Compnent Smart Power Strip FX-5204PS 146device usps 147attach usps at uhub 148file dev/usb/usps.c usps 149 150# Toradex OAK common 151define uoak 152file dev/usb/uoak_subr.c uoakrh | uoaklux | uoakv 153 154# Toradex OAK series USB RH sensor 155device uoakrh: hid, uoak 156attach uoakrh at uhidbus 157file dev/usb/uoakrh.c uoakrh 158 159# Toradex OAK series USB LUX sensor 160device uoaklux: hid, uoak 161attach uoaklux at uhidbus 162file dev/usb/uoaklux.c uoaklux 163 164# Toradex OAK series USB 10V sensor 165device uoakv: hid, uoak 166attach uoakv at uhidbus 167file dev/usb/uoakv.c uoakv 168 169# Misc 170# Araneus Alea II TRNG 171device ualea 172attach ualea at uhub 173file dev/usb/ualea.c ualea 174 175# Moonbase Otago OneRNG TRNG 176device uonerng 177attach uonerng at uhub 178file dev/usb/uonerng.c uonerng 179 180# Gude Expert mouseCLOCK DCF77 time signal station receiver 181device udcf 182attach udcf at uhub 183file dev/usb/udcf.c udcf 184 185# Meinberg USB5131 DCF77 radio clock 186device umbg 187attach umbg at uhub 188file dev/usb/umbg.c umbg 189 190# Handspring Visor 191device uvisor: ucombus 192attach uvisor at uhub 193file dev/usb/uvisor.c uvisor 194 195# D-Link DSB-R100 FM radio 196device udsbr: radiobus 197attach udsbr at uhub 198file dev/usb/udsbr.c udsbr 199 200# Maywa-denki/Kayac YUREX 201device utwitch: hid 202attach utwitch at uhidbus 203file dev/usb/utwitch.c utwitch 204 205# Ethernet adapters 206# ADMtek AN986 Pegasus 207device aue: ether, ifnet, mii, ifmedia 208attach aue at uhub 209file dev/usb/if_aue.c aue 210 211# Ethernet adapters 212# ASIX Electronics AX88172 213device axe: ether, ifnet, mii, ifmedia 214attach axe at uhub 215file dev/usb/if_axe.c axe 216 217# Ethernet adapters 218# ASIX Electronics AX88178a and AX88179 219device axen: ether, ifnet, mii, ifmedia 220attach axen at uhub 221file dev/usb/if_axen.c axen 222 223# SMSC LAN95xx 224device smsc: ether, ifnet, mii, ifmedia 225attach smsc at uhub 226file dev/usb/if_smsc.c smsc 227 228# CATC USB-EL1201A 229device cue: ether, ifnet, ifmedia 230attach cue at uhub 231file dev/usb/if_cue.c cue 232 233# Kawasaki LSI KL5KUSB101B 234device kue: ether, ifnet, ifmedia, firmload 235attach kue at uhub 236file dev/usb/if_kue.c kue 237 238# CDC Ethernet 239device cdce: ether, ifnet, ifmedia 240attach cdce at uhub 241file dev/usb/if_cdce.c cdce 242 243# RNDIS 244device urndis: ether, ifnet, ifmedia 245attach urndis at uhub 246file dev/usb/if_urndis.c urndis 247 248# Moschip MCS7x30 Ethernet 249device mos: ether, ifnet, mii, ifmedia 250attach mos at uhub 251file dev/usb/if_mos.c mos 252 253# Davicom DM9601 254device udav: ether, ifnet, mii, ifmedia 255attach udav at uhub 256file dev/usb/if_udav.c udav 257 258# Prolific PL2302 host-host 259device upl: ifnet 260attach upl at uhub 261file dev/usb/if_upl.c upl 262 263# Genesys Logic GL620USB-A host-host 264device ugl: ether, ifnet, ifmedia 265attach ugl at uhub 266file dev/usb/if_ugl.c ugl 267 268# Realtek RTL8150L(M) 269device url: ether, ifnet, mii 270attach url at uhub 271file dev/usb/if_url.c url 272 273 274# Serial drivers 275# Modems 276device umodem: ucombus 277attach umodem at uhub 278file dev/usb/umodem.c umodem 279 280# FTDI serial driver 281device uftdi: ucombus 282attach uftdi at uhub 283file dev/usb/uftdi.c uftdi 284 285# Prolific PL2303 serial driver 286device uplcom: ucombus 287attach uplcom at uhub 288file dev/usb/uplcom.c uplcom 289 290# MCT USB-232 serial driver 291device umct: ucombus 292attach umct at uhub 293file dev/usb/umct.c umct 294 295# SUNTAC Slipper U VS-10U driver 296device uvscom: ucombus 297attach uvscom at uhub 298file dev/usb/uvscom.c uvscom 299 300# Belkin & other serial driver 301device ubsa: ucombus 302attach ubsa at uhub 303file dev/usb/ubsa.c ubsa 304 305# Silicon Laboratories CP210x serial 306device uslcom: ucombus 307attach uslcom at uhub 308file dev/usb/uslcom.c uslcom 309 310# Arkmicro ARK3116 serial 311device uark: ucombus 312attach uark at uhub 313file dev/usb/uark.c uark 314 315# MosChip MCS7703 serial 316device moscom: ucombus 317attach moscom at uhub 318file dev/usb/moscom.c moscom 319 320# MosChip MCS78x0 serials 321device umcs: ucombus 322attach umcs at uhub 323file dev/usb/umcs.c umcs 324 325# simple serial 326device uscom: ucombus 327attach uscom at uhub 328file dev/usb/uscom.c uscom 329 330# iPAQ PDAs 331# Generic ipaq support 332device uipaq: ucombus 333attach uipaq at uhub 334file dev/usb/uipaq.c uipaq 335 336# Qualcomm MSM EVDO 337device umsm: ucombus 338attach umsm at uhub 339file dev/usb/umsm.c umsm 340 341# WinChipHead CH341/340 serial 342device uchcom: ucombus 343attach uchcom at uhub 344file dev/usb/uchcom.c uchcom 345 346# TI TUSB3410 serial 347device uticom: ucombus 348attach uticom at uhub 349file dev/usb/uticom.c uticom 350 351# Prism3 WI @ USB 352attach wi at uhub with wi_usb 353file dev/usb/if_wi_usb.c wi_usb 354 355# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB 356device atu: ether, ifnet, ifmedia, wlan, firmload 357attach atu at uhub 358file dev/usb/if_atu.c atu 359 360# Ralink Technology RT2500USB 361device ural: ether, ifnet, ifmedia, wlan 362attach ural at uhub 363file dev/usb/if_ral.c ural 364 365# Ralink Technology RT2501USB 366device rum: ether, ifnet, ifmedia, wlan, firmload 367attach rum at uhub 368file dev/usb/if_rum.c rum 369 370# Ralink Technology RT2700U/RT2800U/RT3000U 371device run: ether, ifnet, ifmedia, wlan, firmload 372attach run at uhub 373file dev/usb/if_run.c run 374 375# Zydas ZD1211 376device zyd: ether, ifnet, ifmedia, wlan, firmload 377attach zyd at uhub 378file dev/usb/if_zyd.c zyd 379 380# PrismGT 381device upgt: ether, ifnet, ifmedia, wlan, firmload 382attach upgt at uhub 383file dev/usb/if_upgt.c upgt 384 385# Realtek 8187 386device urtw: ether, ifnet, ifmedia, wlan 387attach urtw at uhub 388file dev/usb/if_urtw.c urtw 389 390# Realtek RTL8188CU/RTL8192CU 391device urtwn: ether, ifnet, ifmedia, wlan, firmload 392attach urtwn at uhub 393file dev/usb/if_urtwn.c urtwn 394 395# Realtek RTL8188SU/RTL8191SU/RTL8192SU 396device rsu: ether, ifnet, ifmedia, wlan, firmload 397attach rsu at uhub 398file dev/usb/if_rsu.c rsu 399 400# Atheros AR9170 401device otus: ether, ifnet, ifmedia, wlan, firmload 402attach otus at uhub 403file dev/usb/if_otus.c otus 404 405# USB logical device 406device usbf {} 407attach usbf at usbdev 408file dev/usb/usbf.c usbf needs-flag 409file dev/usb/usbf_subr.c usbf 410 411# Communication Device Class Ethernet function 412device cdcef {} 413attach cdcef at usbf 414file dev/usb/if_cdcef.c cdcef 415 416# Atheros AR5005UG/AR5005UX 417device uath: ether, ifnet, ifmedia, wlan, firmload 418attach uath at uhub 419file dev/usb/if_uath.c uath 420 421# Atheros AR9002U 422attach athn at uhub with athn_usb: firmload 423file dev/usb/if_athn_usb.c athn_usb needs-flag 424 425# Maxim/Dallas DS2490 1-Wire adapter 426device uow: onewirebus 427attach uow at uhub 428file dev/usb/uow.c uow 429 430# Research In Motion BlackBerry 431device uberry {} 432attach uberry at uhub 433file dev/usb/uberry.c uberry 434 435# USB Power Devices 436device upd: hid 437attach upd at uhidbus 438file dev/usb/upd.c upd 439