From owner-freebsd-usb@FreeBSD.ORG Tue May 3 06:50:53 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 493CB1065675 for ; Tue, 3 May 2011 06:50:53 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id CB2808FC19 for ; Tue, 3 May 2011 06:50:52 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=wd7fLirDSts22yawIUsTeMUS9lsm8Llc0grT6RvpTjU= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=SVESe8JpVkUA:10 a=WQU8e4WWZSUA:10 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=Tw93OqNOAAAA:8 a=Dg2R5ygxVcQUU-0z1X4A:9 a=g67QOhloT3cm6rW1LdUA:7 a=QEXdDO2ut3YA:10 a=zSnZYL3HvHsA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 121192081; Tue, 03 May 2011 08:50:49 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 3 May 2011 08:49:42 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4DBF4AFC.3030700@johnea.net> In-Reply-To: <4DBF4AFC.3030700@johnea.net> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201105030849.42634.hselasky@c2i.net> Cc: Subject: Re: ugen device repeatedly disconnected after upgrade to 8.1 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2011 06:50:53 -0000 On Tuesday 03 May 2011 02:23:00 freebsd@johnea.net wrote: > Hello, > > I posted this question to freebsd-questions, but no response. I hope > posting to this list is correct. > > There is a USB connected UPS device, that shows as /dev/ugen1.2 and is > identified by usbconfig: > > ugen1.2: at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > The affected system: No updates needed to update system to 8.1-RELEASE-p3. > > The device continuously disconnects and re-enumerates, as shown in > /var/log/messages: > > May 1 14:36:57 epicenter root: Unknown USB device: vendor 0x0764 product > 0x0501 bus uhub1 May 1 14:36:57 epicenter kernel: ugen1.2: at > usbus1 > May 1 14:37:19 epicenter kernel: ugen1.2: at usbus1 (disconnected) > May 1 14:37:22 epicenter root: Unknown USB device: vendor 0x0764 product > 0x0501 bus uhub1 May 1 14:37:22 epicenter kernel: ugen1.2: at > usbus1 > > I had this problem in 7.1, but it was corrected in upgrading to 7.3. > > Now that I've upgraded to 8.1 the problem is back. > > The device is listed in the device quirks: > > epicenter# usbconfig -d ugen1.2 dump_device_quirks | grep 0x0764 > VID=0x0764 PID=0x0501 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE > > dmesg | grep -v " at usbus1" | tail yields: > > usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored) > usb_alloc_device: getting device descriptor at addr 2 failed, > USB_ERR_STALLED > > I believe lack of the UQ_HID_IGNORE quirk was the issue in 7.1. > > Any ideas why 8.1 is not identifying this device? > > Thank You! > > johnea Could you try 8-stable? Also it might be worth trying an XHCI (USB 3.0) host controller device. --HPS