From owner-freebsd-current@FreeBSD.ORG Sun Mar 22 16:18:35 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0BA21065672 for ; Sun, 22 Mar 2009 16:18:35 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 7BFB38FC1F for ; Sun, 22 Mar 2009 16:18:35 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 939A1FF32; Mon, 23 Mar 2009 05:18:34 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OmnT8+i36YAb; Mon, 23 Mar 2009 05:18:31 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Mon, 23 Mar 2009 05:18:31 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 8B81F1142F; Mon, 23 Mar 2009 05:18:30 +1300 (NZDT) Date: Sun, 22 Mar 2009 09:18:30 -0700 From: Andrew Thompson To: Pieter de Goeje Message-ID: <20090322161830.GA78270@citylink.fud.org.nz> References: <200903211448.28590.pieter@degoeje.nl> <200903220152.55252.pieter@degoeje.nl> <20090322042401.GB50126@citylink.fud.org.nz> <200903221541.44336.pieter@degoeje.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903221541.44336.pieter@degoeje.nl> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Anonymous , freebsd-current@freebsd.org, Hans Petter Selasky Subject: Re: usbconfig / hal-device no longer lists usb devices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2009 16:18:36 -0000 On Sun, Mar 22, 2009 at 03:41:44PM +0100, Pieter de Goeje wrote: > On Sunday 22 March 2009 05:24:01 Andrew Thompson wrote: > > On Sun, Mar 22, 2009 at 01:52:54AM +0100, Pieter de Goeje wrote: > > > On Sunday 22 March 2009 01:03:31 Andrew Thompson wrote: > > > > On Sun, Mar 22, 2009 at 02:52:33AM +0300, Anonymous wrote: > > > > > > I added a bunch of printf()s to libusb, specifically > > > > > > ugen20_enumerate(). Both ugen0.2 and ugen1.2 failed at ioctl(f, > > > > > > USB_GET_PLUGTIME, &plugtime) because it returned EINVAL. The > > > > > > ugenX.2 files were opened successfully. > > > > > > > > > > > > At this point it looks like the problem lies somewhere in the > > > > > > kernel, which makes it a lot harder for me to debug. > > > > > > > > > > Can you try to back out r189906? Doing so makes my keyboard to appear > > > > > in usbconfig output again. Here is a ktrace diff for `usbconfig -u 0 > > > > > -a 3'. > > > > > > I'll give it a shot. It's rather late so the results will probably have > > > to wait until tomorrow. > > That didn't make a difference. Does this fix it for you? http://people.freebsd.org/~thompsa/usb_dev.diff Andrew