Date: Thu, 28 Oct 2004 14:22:34 +0200 (CEST) From: "Daan Vreeken [PA4DAN]" <Danovitsch@Vitsch.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/73239: [PATCH] Teach usbd.conf about axe(4) devices Message-ID: <200410281222.i9SCMYvY082059@Vitsch.net> Resent-Message-ID: <200410281230.i9SCUKWH049664@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Oct 28 12:30:20 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Daan Vreeken [PA4DAN] >Release: FreeBSD 5.1-RELEASE i386 >Organization: >Environment: 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 >Description: 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. >How-To-Repeat: Add the next 2 lines to /etc/rc.conf : removable_interfaces="axe0" ifconfig_axe0="10.0.0.1" 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 automatically. >Fix: 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 --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410281222.i9SCMYvY082059>