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