From owner-freebsd-current@FreeBSD.ORG Sun Mar 22 17:23:48 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 C5277106566C for ; Sun, 22 Mar 2009 17:23:48 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-fx0-f167.google.com (mail-fx0-f167.google.com [209.85.220.167]) by mx1.freebsd.org (Postfix) with ESMTP id EC0708FC1F for ; Sun, 22 Mar 2009 17:23:47 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: by fxm11 with SMTP id 11so1400941fxm.43 for ; Sun, 22 Mar 2009 10:23:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:message-id:user-agent:mime-version:content-type; bh=fWJjGN5/pZOTNbUcbKIkRUiVv9FyJhHfj4bPwysC3+s=; b=TzpLuIievV8gRC7boSKafrUOkBLAb3CyTkBKwNzIYs4bPvGFK4ZQA1zk3lS2aoYJm1 4tpWGZsdyn9d2YZ1opUavO2XXMm/h5p8WmBKuRJGG6gVZq4fHCukGyeIQpV3RNbn16Cx Zgg9ur400WEDaFFT0q+47pT618RBED46RZ91Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=G4WnxQgocnWKelHNWARVMcOkJFAST+0wOkvs636Yvdw96ee+13e4exfjl8AFWAuD6X TwLw+1uRvxfy3mBP/S+a9PxcokOQ761EPrC46bkW9VrFWphAutEzwkpJR0+HcQVNumVs BOUSh6ep48Ofsq2hESjoqBoSl3/q1Tgi0l9IE= Received: by 10.86.3.4 with SMTP id 4mr2941952fgc.41.1237742626736; Sun, 22 Mar 2009 10:23:46 -0700 (PDT) Received: from localhost (95-24-174-59.broadband.corbina.ru [95.24.174.59]) by mx.google.com with ESMTPS id 4sm2044434fge.18.2009.03.22.10.23.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Mar 2009 10:23:46 -0700 (PDT) From: Anonymous To: Pieter de Goeje References: <200903211448.28590.pieter@degoeje.nl> <200903221541.44336.pieter@degoeje.nl> <20090322161830.GA78270@citylink.fud.org.nz> <200903221754.26871.pieter@degoeje.nl> Date: Sun, 22 Mar 2009 20:23:06 +0300 Message-ID: <867i2hmpz9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@freebsd.org, Andrew Thompson , 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 17:23:49 -0000 Pieter de Goeje writes: > On Sunday 22 March 2009 17:18:30 Andrew Thompson wrote: >> 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 > > Yes! Excellent, thank you :-) And for me, too. my dmesg + hw.usb2.dev.debug=5 when running `usbconfig' without applying the patch - http://pastebin.com/m2e1db504