[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

conf/73239: [PATCH] Teach usbd.conf about axe(4) devices

>Number:         73239
>Category:       conf
>Synopsis:       [PATCH] Teach usbd.conf about axe(4) devices
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 28 12:30:20 GMT 2004
>Originator:     Daan Vreeken [PA4DAN]
>Release:        FreeBSD 5.1-RELEASE i386
System: FreeBSD Racebeest.Danovitsch.LAN 5.1-RELEASE FreeBSD 5.1-RELEASE #24: Thu Oct 28 11:47:02 CEST 2004 root@:/usr/src.5.1/sys/i386/compile/Laptop i386

	When plugging in a USB ethernet device, usbd will start
/etc/pccard_ether to configure the interface. This is done for all devices,
except for axe(4) devices.
	Add the next 2 lines to /etc/rc.conf :

	Now make sure usbd is running and plug in a device that is supported
by the axe(4) driver.

	Type 'ifconfig axe0' to see that the device didn't get configured

	Apply the following patch (to -current). This makes the regexp for
USB ether devices also match axe interfaces.

--- usbd.conf.diff begins here ---
--- /etc/usbd.conf.org	Thu Oct 28 13:36:49 2004
+++ /etc/usbd.conf	Thu Oct 28 13:57:49 2004
@@ -27,7 +27,7 @@
 # it shouldn't be too big a deal :-)
 device "USB ethernet"
-	devname "[ackr]ue[0-9]+"
+	devname "([ackr]u|ax)e[0-9]+"
 	attach  "/etc/pccard_ether ${DEVNAME} start"
 	detach  "/etc/pccard_ether ${DEVNAME} stop"
--- usbd.conf.diff ends here ---


Visit your host, monkey.org