Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2011 16:15:17 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        Robert Millan <rmh@debian.org>, freebsd-current@FreeBSD.org, freebsd-usb@FreeBSD.org
Subject:   Re: [RFT] Automatic load of USB kernel modules
Message-ID:  <7DADEF94-A0E8-4B1F-8A95-DCD532DF12EB@bsdimp.com>
In-Reply-To: <201106242342.47194.hselasky@c2i.net>
References:  <201106242342.47194.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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,
>=20
> I've been working today on getting auto load of USB kernel modules =
working=20
> properly. I've identified and fixed several issues since the initial =
patch by=20
> Robert Millan was posted. I would like to request testing of the =
attached=20
> patch before I commit it. The patch is about only having ukbd, ums and =
umass=20
> per default in the kernel GENERIC config file(s).
>=20
> The 9-current kernel version you need to checkout is:
>=20
> http://svn.freebsd.org/changeset/base/223519
>=20
> And you need to make sure you have the file mentioned in the commit =
above=20
> under /etc/devd/ else the new stuff will not work.
>=20
> No userspace changes except the bus_auto.conf file is required.
>=20
> At the present moment ukbd and ums will not auto load because they =
don't=20
> export any USB device entries. This will get fixed before the final =
auto load=20
> commit.
>=20
> --HPS
> =3D=3D=3D sys/i386/conf/GENERIC
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- sys/i386/conf/GENERIC	(revision 223494)
> +++ sys/i386/conf/GENERIC	(local)
> @@ -310,39 +310,9 @@
> 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
>=20
> # FireWire support
> device		firewire	# FireWire bus code
> @@ -357,5 +327,4 @@
> 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
> =3D=3D=3D sys/amd64/conf/GENERIC
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- sys/amd64/conf/GENERIC	(revision 223494)
> +++ sys/amd64/conf/GENERIC	(local)
> @@ -297,39 +297,9 @@
> 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
>=20
> # FireWire support
> device		firewire	# FireWire bus code
> @@ -344,5 +314,4 @@
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7DADEF94-A0E8-4B1F-8A95-DCD532DF12EB>