Hey Hans, Given that all this stuff is really new and shiny, and we're really close to the feature freeze, I'm not sure enabling it by default is the prudent action. Warner On Jun 24, 2011, at 3:42 PM, Hans Petter Selasky wrote: > Hi, > > I've been working today on getting auto load of USB kernel modules working > properly. I've identified and fixed several issues since the initial patch by > Robert Millan was posted. I would like to request testing of the attached > patch before I commit it. The patch is about only having ukbd, ums and umass > per default in the kernel GENERIC config file(s). > > The 9-current kernel version you need to checkout is: > > http://svn.freebsd.org/changeset/base/223519 > > And you need to make sure you have the file mentioned in the commit above > under /etc/devd/ else the new stuff will not work. > > No userspace changes except the bus_auto.conf file is required. > > At the present moment ukbd and ums will not auto load because they don't > export any USB device entries. This will get fixed before the final auto load > commit. > > --HPS > === sys/i386/conf/GENERIC > ================================================================== > --- sys/i386/conf/GENERIC (revision 223494) > +++ sys/i386/conf/GENERIC (local) > _at__at_ -310,39 +310,9 _at__at_ > device ehci # EHCI PCI->USB interface (USB 2.0) > device xhci # XHCI PCI->USB interface (USB 3.0) > device usb # USB Bus (required) > -#device udbp # USB Double Bulk Pipe devices (needs netgraph) > -device uhid # "Human Interface Devices" > -device ukbd # Keyboard > -device ulpt # Printer > -device umass # Disks/Mass storage - Requires scbus and da > -device ums # Mouse > -device urio # Diamond Rio 500 MP3 player > -# USB Serial devices > -device u3g # USB-based 3G modems (Option, Huawei, Sierra) > -device uark # Technologies ARK3116 based serial adapters > -device ubsa # Belkin F5U103 and compatible serial adapters > -device uftdi # For FTDI usb serial adapters > -device uipaq # Some WinCE based devices > -device uplcom # Prolific PL-2303 serial adapters > -device uslcom # SI Labs CP2101/CP2102 serial adapters > -device uvisor # Visor and Palm devices > -device uvscom # USB serial support for DDI pocket's PHS > -# USB Ethernet, requires miibus > -device aue # ADMtek USB Ethernet > -device axe # ASIX Electronics USB Ethernet > -device cdce # Generic USB over Ethernet > -device cue # CATC USB Ethernet > -device kue # Kawasaki LSI USB Ethernet > -device rue # RealTek RTL8150 USB Ethernet > -device udav # Davicom DM9601E USB > -# USB Wireless > -device rum # Ralink Technology RT2501USB wireless NICs > -device run # Ralink Technology RT2700/RT2800/RT3000 NICs. > -device uath # Atheros AR5523 wireless NICs > -device upgt # Conexant/Intersil PrismGT wireless NICs. > -device ural # Ralink Technology RT2500USB wireless NICs > -device urtw # Realtek RTL8187B/L wireless NICs > -device zyd # ZyDAS zb1211/zb1211b wireless NICs > +device ukbd # USB Keyboard > +device ums # USB Mouse > +device umass # USB Disks/Mass storage - Requires scbus and da > > # FireWire support > device firewire # FireWire bus code > _at__at_ -357,5 +327,4 _at__at_ > device snd_es137x # Ensoniq AudioPCI ES137x > device snd_hda # Intel High Definition Audio > device snd_ich # Intel, NVidia and other ICH AC'97 Audio > -device snd_uaudio # USB Audio > device snd_via8233 # VIA VT8233x Audio > === sys/amd64/conf/GENERIC > ================================================================== > --- sys/amd64/conf/GENERIC (revision 223494) > +++ sys/amd64/conf/GENERIC (local) > _at__at_ -297,39 +297,9 _at__at_ > device ehci # EHCI PCI->USB interface (USB 2.0) > device xhci # XHCI PCI->USB interface (USB 3.0) > device usb # USB Bus (required) > -#device udbp # USB Double Bulk Pipe devices (needs netgraph) > -device uhid # "Human Interface Devices" > -device ukbd # Keyboard > -device ulpt # Printer > -device umass # Disks/Mass storage - Requires scbus and da > -device ums # Mouse > -device urio # Diamond Rio 500 MP3 player > -# USB Serial devices > -device u3g # USB-based 3G modems (Option, Huawei, Sierra) > -device uark # Technologies ARK3116 based serial adapters > -device ubsa # Belkin F5U103 and compatible serial adapters > -device uftdi # For FTDI usb serial adapters > -device uipaq # Some WinCE based devices > -device uplcom # Prolific PL-2303 serial adapters > -device uslcom # SI Labs CP2101/CP2102 serial adapters > -device uvisor # Visor and Palm devices > -device uvscom # USB serial support for DDI pocket's PHS > -# USB Ethernet, requires miibus > -device aue # ADMtek USB Ethernet > -device axe # ASIX Electronics USB Ethernet > -device cdce # Generic USB over Ethernet > -device cue # CATC USB Ethernet > -device kue # Kawasaki LSI USB Ethernet > -device rue # RealTek RTL8150 USB Ethernet > -device udav # Davicom DM9601E USB > -# USB Wireless > -device rum # Ralink Technology RT2501USB wireless NICs > -device run # Ralink Technology RT2700/RT2800/RT3000 NICs. > -device uath # Atheros AR5523 wireless NICs > -device upgt # Conexant/Intersil PrismGT wireless NICs. > -device ural # Ralink Technology RT2500USB wireless NICs > -device urtw # Realtek RTL8187B/L wireless NICs > -device zyd # ZyDAS zb1211/zb1211b wireless NICs > +device ukbd # USB Keyboard > +device ums # USB Mouse > +device umass # USB Disks/Mass storage - Requires scbus and da > > # FireWire support > device firewire # FireWire bus code > _at__at_ -344,5 +314,4 _at__at_ > device snd_es137x # Ensoniq AudioPCI ES137x > device snd_hda # Intel High Definition Audio > device snd_ich # Intel, NVidia and other ICH AC'97 Audio > -device snd_uaudio # USB Audio > device snd_via8233 # VIA VT8233x AudioReceived on Fri Jun 24 2011 - 20:16:25 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC