From owner-freebsd-usb@FreeBSD.ORG Tue May 3 00:41:52 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 D01C2106564A for ; Tue, 3 May 2011 00:41:52 +0000 (UTC) (envelope-from freebsd@johnea.net) Received: from mail.johnea.net (johnea.net [70.167.123.7]) by mx1.freebsd.org (Postfix) with ESMTP id 96E7E8FC1F for ; Tue, 3 May 2011 00:41:52 +0000 (UTC) Received: from [192.168.100.239] (vhost.johnea.net [192.168.100.239]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.johnea.net (Postfix) with ESMTPSA id B26D573F1863 for ; Mon, 2 May 2011 17:23:24 -0700 (PDT) Message-ID: <4DBF4AFC.3030700@johnea.net> Date: Mon, 02 May 2011 17:23:00 -0700 From: freebsd@johnea.net User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Lanikai/3.1.3 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 00:41:52 -0000 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