From owner-freebsd-bugs@FreeBSD.ORG Thu Oct 28 12:30:21 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBD9B16A4CE for ; Thu, 28 Oct 2004 12:30:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE67143D5C for ; Thu, 28 Oct 2004 12:30:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9SCUKPt049666 for ; Thu, 28 Oct 2004 12:30:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9SCUKWH049664; Thu, 28 Oct 2004 12:30:20 GMT (envelope-from gnats) Resent-Date: Thu, 28 Oct 2004 12:30:20 GMT Resent-Message-Id: <200410281230.i9SCUKWH049664@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Daan Vreeken [PA4DAN]" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF95816A4CE for ; Thu, 28 Oct 2004 12:22:43 +0000 (GMT) Received: from amsfep18-int.chello.nl (amsfep18-int.chello.nl [213.46.243.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8588243D46 for ; Thu, 28 Oct 2004 12:22:42 +0000 (GMT) (envelope-from pa4dan@Vitsch.net) Received: from Vitsch.net ([212.187.78.35]) by amsfep18-int.chello.nl (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20041028122240.BMMK3605.amsfep18-int.chello.nl@Vitsch.net> for ; Thu, 28 Oct 2004 14:22:40 +0200 Received: (from pa4dan@localhost) by Vitsch.net (8.12.3p2/8.11.3) id i9SCMYvY082059; Thu, 28 Oct 2004 14:22:34 +0200 (CEST) (envelope-from pa4dan) Message-Id: <200410281222.i9SCMYvY082059@Vitsch.net> Date: Thu, 28 Oct 2004 14:22:34 +0200 (CEST) From: "Daan Vreeken [PA4DAN]" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/73239: [PATCH] Teach usbd.conf about axe(4) devices X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Daan Vreeken \[PA4DAN\]" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 12:30:22 -0000 >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: