From owner-svn-src-all@FreeBSD.ORG Tue Jan 6 11:13:56 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9F5B1065674; Tue, 6 Jan 2009 11:13:56 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 8CF028FC1E; Tue, 6 Jan 2009 11:13:55 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Ay6owWMc1CgA:10 a=tgiRRak4JjAA:10 a=rREUrScshOl7G2h6aTFPgw==:17 a=Zo1utoyLX5JlXuvC6oQA:9 a=FcHCRB79suTTbTiChUVNcnwtclgA:4 a=SV7veod9ZcQA:10 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [62.73.248.227] (account mc467741@c2i.net [62.73.248.227] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1175326276; Tue, 06 Jan 2009 12:13:53 +0100 From: Hans Petter Selasky To: Stanislav Sedov Date: Tue, 6 Jan 2009 12:15:37 +0100 User-Agent: KMail/1.9.7 References: <200901040012.n040C2gH040928@svn.freebsd.org> <20090106124303.d8bab0de.stas@FreeBSD.org> <20090106133507.1e2bc2d2.stas@FreeBSD.org> In-Reply-To: <20090106133507.1e2bc2d2.stas@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901061215.37947.hselasky@c2i.net> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Alfred Perlstein , src-committers@freebsd.org Subject: Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/us... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 11:13:57 -0000 On Tuesday 06 January 2009, Stanislav Sedov wrote: > On Tue, 6 Jan 2009 12:43:03 +0300 > > Stanislav Sedov mentioned: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On Tue, 6 Jan 2009 09:36:49 +0100 > > > > Hans Petter Selasky mentioned: > > > Hi, > > > > > > I'm trying to push these patches into -current. Can you tell us what > > > CPU architecture you are using? And how much RAM? > > > > That will be nice to have these fixes in tree. > > I'm using Core2Quad Q9400 w/ 4Gb RAM running amd64. > > BTW, I'm still experiencing problems with some kinds of devices. > E.g. Anydata E100X modem (ubsa) fails to select configuration and > attach both on amd64 and arm with following messages in the log. > > usb2_alloc_device:1423: set address 2 failed (ignored) > usb2_alloc_device:1458: getting device descriptor at addr 2 failed! > usb2_req_re_enumerate:1362: addr=2, set address failed! (ignored) > usb2_req_re_enumerate:1375: getting device descriptor at addr 2 failed! > ugen0.2: at usbus0 > > Do you by a chance know what is going on? Hi, As long as your device shows up like "ugen0.2" it is detected properly and will function. Check with "usbconfig". Suggestions: usbconfig -u 0 -a 2 reset usbconfig -u 0 -a 2 dump_device_desc The failures indicate that the firmware on your USB device is not reponding correctly at the time the set address command is being sent to the device. As you can see the new USB stack will try to re-enumerate the device one time. Have you loaded the correct driver for your serial device? kldload usb2_serial_bsa or kldload usb2_serial_u3g or kldload usb2_serial_gensa --HPS