1# $OpenBSD: files.usb,v 1.139 2019/06/07 16:06:59 jcs 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 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# HID Multitouch Trackpad 91device umt: hid, hidmt, wsmousedev 92attach umt at uhidbus 93file dev/usb/umt.c umt 94 95# USB Touchscreen 96device uts: wsmousedev 97attach uts at uhub 98file dev/usb/uts.c uts 99 100# Apple USB Touchpad 101device utpms: hid, wsmousedev 102attach utpms at uhidbus 103file dev/usb/utpms.c utpms 104 105# Broadcom touchpad 106device ubcmtp: wsmousedev 107attach ubcmtp at uhub 108file dev/usb/ubcmtp.c ubcmtp 109 110# Cypress microcontroller based serial adpaters 111device ucycom: hid, ucombus 112attach ucycom at uhidbus 113file dev/usb/ucycom.c ucycom needs-flag 114 115# Silicon Labs USB HID based UART controller 116device uslhcom: hid, ucombus 117attach uslhcom at uhidbus 118file dev/usb/uslhcom.c uslhcom needs-flag 119 120# Printers 121device ulpt: firmload 122attach ulpt at uhub 123file dev/usb/ulpt.c ulpt needs-flag 124 125 126# Mass storage 127device umass: scsi 128attach umass at uhub 129file dev/usb/umass.c umass 130file dev/usb/umass_quirks.c umass 131file dev/usb/umass_scsi.c umass & scsibus 132 133 134# Sensors 135# TEMPerHUM HID 136device uthum: hid 137attach uthum at uhidbus 138file dev/usb/uthum.c uthum 139 140# gold TEMPer 141device ugold: hid 142attach ugold at uhidbus 143file dev/usb/ugold.c ugold 144 145# Strawberry Linux USBRH 146device utrh: hid 147attach utrh at uhidbus 148file dev/usb/utrh.c utrh 149 150# Fujitsu Compnent Smart Power Strip FX-5204PS 151device usps 152attach usps at uhub 153file dev/usb/usps.c usps 154 155# Toradex OAK common 156define uoak 157file dev/usb/uoak_subr.c uoakrh | uoaklux | uoakv 158 159# Toradex OAK series USB RH sensor 160device uoakrh: hid, uoak 161attach uoakrh at uhidbus 162file dev/usb/uoakrh.c uoakrh 163 164# Toradex OAK series USB LUX sensor 165device uoaklux: hid, uoak 166attach uoaklux at uhidbus 167file dev/usb/uoaklux.c uoaklux 168 169# Toradex OAK series USB 10V sensor 170device uoakv: hid, uoak 171attach uoakv at uhidbus 172file dev/usb/uoakv.c uoakv 173 174# Misc 175# Moonbase Otago OneRNG TRNG 176device uonerng 177attach uonerng at uhub 178file dev/usb/uonerng.c uonerng 179 180# USB Random Number Generator 181device urng 182attach urng at uhub 183file dev/usb/urng.c urng 184 185# Gude Expert mouseCLOCK DCF77 time signal station receiver 186device udcf 187attach udcf at uhub 188file dev/usb/udcf.c udcf 189 190# Meinberg USB5131 DCF77 radio clock 191device umbg 192attach umbg at uhub 193file dev/usb/umbg.c umbg 194 195# Handspring Visor 196device uvisor: ucombus 197attach uvisor at uhub 198file dev/usb/uvisor.c uvisor 199 200# D-Link DSB-R100 FM radio 201device udsbr: radiobus 202attach udsbr at uhub 203file dev/usb/udsbr.c udsbr 204 205# Maywa-denki/Kayac YUREX 206device utwitch: hid 207attach utwitch at uhidbus 208file dev/usb/utwitch.c utwitch 209 210# Ethernet adapters 211# ADMtek AN986 Pegasus 212device aue: ether, ifnet, mii, ifmedia 213attach aue at uhub 214file dev/usb/if_aue.c aue 215 216# Ethernet adapters 217# ASIX Electronics AX88172 218device axe: ether, ifnet, mii, ifmedia 219attach axe at uhub 220file dev/usb/if_axe.c axe 221 222# Ethernet adapters 223# ASIX Electronics AX88178a and AX88179 224device axen: ether, ifnet, mii, ifmedia 225attach axen at uhub 226file dev/usb/if_axen.c axen 227 228# SMSC LAN95xx 229device smsc: ether, ifnet, mii, ifmedia 230attach smsc at uhub 231file dev/usb/if_smsc.c smsc 232 233# CATC USB-EL1201A 234device cue: ether, ifnet, ifmedia 235attach cue at uhub 236file dev/usb/if_cue.c cue 237 238# Kawasaki LSI KL5KUSB101B 239device kue: ether, ifnet, ifmedia, firmload 240attach kue at uhub 241file dev/usb/if_kue.c kue 242 243# CDC Ethernet 244device cdce: ether, ifnet, ifmedia 245attach cdce at uhub 246file dev/usb/if_cdce.c cdce 247 248# RNDIS 249device urndis: ether, ifnet, ifmedia 250attach urndis at uhub 251file dev/usb/if_urndis.c urndis 252 253# Moschip MCS7x30 Ethernet 254device mos: ether, ifnet, mii, ifmedia 255attach mos at uhub 256file dev/usb/if_mos.c mos 257 258# Microchip LAN75xx/LAN78xx 259device mue: ether, ifnet, mii, ifmedia 260attach mue at uhub 261file dev/usb/if_mue.c mue 262 263# Davicom DM9601 264device udav: ether, ifnet, mii, ifmedia 265attach udav at uhub 266file dev/usb/if_udav.c udav 267 268# Prolific PL2302 host-host 269device upl: ifnet 270attach upl at uhub 271file dev/usb/if_upl.c upl 272 273# Genesys Logic GL620USB-A host-host 274device ugl: ether, ifnet, ifmedia 275attach ugl at uhub 276file dev/usb/if_ugl.c ugl 277 278# Realtek RTL8150L(M) 279device url: ether, ifnet, mii 280attach url at uhub 281file dev/usb/if_url.c url 282 283# Realtek RTL8152 284device ure: ether, ifnet, mii 285attach ure at uhub 286file dev/usb/if_ure.c ure 287 288 289# Serial drivers 290# Modems 291device umodem: ucombus 292attach umodem at uhub 293file dev/usb/umodem.c umodem 294 295# FTDI serial driver 296device uftdi: ucombus 297attach uftdi at uhub 298file dev/usb/uftdi.c uftdi 299 300# Prolific PL2303 serial driver 301device uplcom: ucombus 302attach uplcom at uhub 303file dev/usb/uplcom.c uplcom 304 305# MCT USB-232 serial driver 306device umct: ucombus 307attach umct at uhub 308file dev/usb/umct.c umct 309 310# SUNTAC Slipper U VS-10U driver 311device uvscom: ucombus 312attach uvscom at uhub 313file dev/usb/uvscom.c uvscom 314 315# Belkin & other serial driver 316device ubsa: ucombus 317attach ubsa at uhub 318file dev/usb/ubsa.c ubsa 319 320# Keyspan USA19HS serial 321device ukspan: ucombus 322attach ukspan at uhub 323file dev/usb/ukspan.c ukspan 324 325# Silicon Laboratories CP210x serial 326device uslcom: ucombus 327attach uslcom at uhub 328file dev/usb/uslcom.c uslcom 329 330# Arkmicro ARK3116 serial 331device uark: ucombus 332attach uark at uhub 333file dev/usb/uark.c uark 334 335# MosChip MCS7703 serial 336device moscom: ucombus 337attach moscom at uhub 338file dev/usb/moscom.c moscom 339 340# MosChip MCS78x0 serials 341device umcs: ucombus 342attach umcs at uhub 343file dev/usb/umcs.c umcs 344 345# simple serial 346device uscom: ucombus 347attach uscom at uhub 348file dev/usb/uscom.c uscom 349 350# Chromebook serial 351device ucrcom: ucombus 352attach ucrcom at uhub 353file dev/usb/ucrcom.c ucrcom 354 355# Exar XR21V1410 356device uxrcom: ucombus 357attach uxrcom at uhub 358file dev/usb/uxrcom.c uxrcom 359 360# iPAQ PDAs 361# Generic ipaq support 362device uipaq: ucombus 363attach uipaq at uhub 364file dev/usb/uipaq.c uipaq 365 366# Qualcomm MSM EVDO 367device umsm: ucombus 368attach umsm at uhub 369file dev/usb/umsm.c umsm 370 371# WinChipHead CH341/340 serial 372device uchcom: ucombus 373attach uchcom at uhub 374file dev/usb/uchcom.c uchcom 375 376# TI TUSB3410 serial 377device uticom: ucombus 378attach uticom at uhub 379file dev/usb/uticom.c uticom 380 381# Prism3 WI @ USB 382attach wi at uhub with wi_usb 383file dev/usb/if_wi_usb.c wi_usb 384 385# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB 386device atu: ether, ifnet, ifmedia, wlan, firmload 387attach atu at uhub 388file dev/usb/if_atu.c atu 389 390# Ralink Technology RT2500USB 391device ural: ether, ifnet, ifmedia, wlan 392attach ural at uhub 393file dev/usb/if_ral.c ural 394 395# Ralink Technology RT2501USB 396device rum: ether, ifnet, ifmedia, wlan, firmload 397attach rum at uhub 398file dev/usb/if_rum.c rum 399 400# Ralink Technology RT2700U/RT2800U/RT3000U 401device run: ether, ifnet, ifmedia, wlan, firmload 402attach run at uhub 403file dev/usb/if_run.c run 404 405# Zydas ZD1211 406device zyd: ether, ifnet, ifmedia, wlan, firmload 407attach zyd at uhub 408file dev/usb/if_zyd.c zyd 409 410# PrismGT 411device upgt: ether, ifnet, ifmedia, wlan, firmload 412attach upgt at uhub 413file dev/usb/if_upgt.c upgt 414 415# Realtek 8187 416device urtw: ether, ifnet, ifmedia, wlan 417attach urtw at uhub 418file dev/usb/if_urtw.c urtw 419 420# Realtek RTL8188CU/RTL8192CU 421device urtwn: ether, ifnet, ifmedia, wlan, firmload 422attach urtwn at uhub 423file dev/usb/if_urtwn.c urtwn 424 425# Realtek RTL8188SU/RTL8191SU/RTL8192SU 426device rsu: ether, ifnet, ifmedia, wlan, firmload 427attach rsu at uhub 428file dev/usb/if_rsu.c rsu 429 430# Atheros AR9170 431device otus: ether, ifnet, ifmedia, wlan, firmload 432attach otus at uhub 433file dev/usb/if_otus.c otus 434 435# Mobile Broadband Interface Model 436device umb: ifnet, ifmedia 437attach umb at uhub 438file dev/usb/if_umb.c umb 439 440# Atheros AR5005UG/AR5005UX 441device uath: ether, ifnet, ifmedia, wlan, firmload 442attach uath at uhub 443file dev/usb/if_uath.c uath 444 445# Atheros AR9002U 446attach athn at uhub with athn_usb: firmload 447file dev/usb/if_athn_usb.c athn_usb needs-flag 448 449# Maxim/Dallas DS2490 1-Wire adapter 450device uow: onewirebus 451attach uow at uhub 452file dev/usb/uow.c uow 453 454# Research In Motion BlackBerry 455device uberry {} 456attach uberry at uhub 457file dev/usb/uberry.c uberry 458 459# USB Power Devices 460device upd: hid 461attach upd at uhidbus 462file dev/usb/upd.c upd 463 464# Wacom tablets 465device uwacom: hid, hidms, wsmousedev 466attach uwacom at uhidbus 467file dev/usb/uwacom.c uwacom 468 469attach bwfm at uhub with bwfm_usb: firmload 470file dev/usb/if_bwfm_usb.c bwfm_usb 471