1# $OpenBSD: files.usb,v 1.136 2018/08/25 20:31:31 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# Silicon Laboratories CP210x serial 321device uslcom: ucombus 322attach uslcom at uhub 323file dev/usb/uslcom.c uslcom 324 325# Arkmicro ARK3116 serial 326device uark: ucombus 327attach uark at uhub 328file dev/usb/uark.c uark 329 330# MosChip MCS7703 serial 331device moscom: ucombus 332attach moscom at uhub 333file dev/usb/moscom.c moscom 334 335# MosChip MCS78x0 serials 336device umcs: ucombus 337attach umcs at uhub 338file dev/usb/umcs.c umcs 339 340# simple serial 341device uscom: ucombus 342attach uscom at uhub 343file dev/usb/uscom.c uscom 344 345# iPAQ PDAs 346# Generic ipaq support 347device uipaq: ucombus 348attach uipaq at uhub 349file dev/usb/uipaq.c uipaq 350 351# Qualcomm MSM EVDO 352device umsm: ucombus 353attach umsm at uhub 354file dev/usb/umsm.c umsm 355 356# WinChipHead CH341/340 serial 357device uchcom: ucombus 358attach uchcom at uhub 359file dev/usb/uchcom.c uchcom 360 361# TI TUSB3410 serial 362device uticom: ucombus 363attach uticom at uhub 364file dev/usb/uticom.c uticom 365 366# Prism3 WI @ USB 367attach wi at uhub with wi_usb 368file dev/usb/if_wi_usb.c wi_usb 369 370# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB 371device atu: ether, ifnet, ifmedia, wlan, firmload 372attach atu at uhub 373file dev/usb/if_atu.c atu 374 375# Ralink Technology RT2500USB 376device ural: ether, ifnet, ifmedia, wlan 377attach ural at uhub 378file dev/usb/if_ral.c ural 379 380# Ralink Technology RT2501USB 381device rum: ether, ifnet, ifmedia, wlan, firmload 382attach rum at uhub 383file dev/usb/if_rum.c rum 384 385# Ralink Technology RT2700U/RT2800U/RT3000U 386device run: ether, ifnet, ifmedia, wlan, firmload 387attach run at uhub 388file dev/usb/if_run.c run 389 390# Zydas ZD1211 391device zyd: ether, ifnet, ifmedia, wlan, firmload 392attach zyd at uhub 393file dev/usb/if_zyd.c zyd 394 395# PrismGT 396device upgt: ether, ifnet, ifmedia, wlan, firmload 397attach upgt at uhub 398file dev/usb/if_upgt.c upgt 399 400# Realtek 8187 401device urtw: ether, ifnet, ifmedia, wlan 402attach urtw at uhub 403file dev/usb/if_urtw.c urtw 404 405# Realtek RTL8188CU/RTL8192CU 406device urtwn: ether, ifnet, ifmedia, wlan, firmload 407attach urtwn at uhub 408file dev/usb/if_urtwn.c urtwn 409 410# Realtek RTL8188SU/RTL8191SU/RTL8192SU 411device rsu: ether, ifnet, ifmedia, wlan, firmload 412attach rsu at uhub 413file dev/usb/if_rsu.c rsu 414 415# Atheros AR9170 416device otus: ether, ifnet, ifmedia, wlan, firmload 417attach otus at uhub 418file dev/usb/if_otus.c otus 419 420# Mobile Broadband Interface Model 421device umb: ifnet, ifmedia 422attach umb at uhub 423file dev/usb/if_umb.c umb 424 425# Atheros AR5005UG/AR5005UX 426device uath: ether, ifnet, ifmedia, wlan, firmload 427attach uath at uhub 428file dev/usb/if_uath.c uath 429 430# Atheros AR9002U 431attach athn at uhub with athn_usb: firmload 432file dev/usb/if_athn_usb.c athn_usb needs-flag 433 434# Maxim/Dallas DS2490 1-Wire adapter 435device uow: onewirebus 436attach uow at uhub 437file dev/usb/uow.c uow 438 439# Research In Motion BlackBerry 440device uberry {} 441attach uberry at uhub 442file dev/usb/uberry.c uberry 443 444# USB Power Devices 445device upd: hid 446attach upd at uhidbus 447file dev/usb/upd.c upd 448 449# Wacom tablets 450device uwacom: hid, hidms, wsmousedev 451attach uwacom at uhidbus 452file dev/usb/uwacom.c uwacom 453 454attach bwfm at uhub with bwfm_usb: firmload 455file dev/usb/if_bwfm_usb.c bwfm_usb 456