Re: USB2 + ucom + UHCI: still not happy

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Thu, 22 Jan 2009 22:09:50 +0100
On Thursday 22 January 2009, Andrew Thompson wrote:
> On Thu, Jan 22, 2009 at 04:24:12PM +0100, Hans Petter Selasky wrote:
> > Hi,
> >
> > Try these patches on a clean -current. Tested with a similar device of
> > yours!
> >
> > http://perforce.freebsd.org/chv.cgi?CH=156521
> > http://perforce.freebsd.org/chv.cgi?CH=156522
>
> I am still seeing the UHCI attach issue with these patches applied.
>
> usb2_alloc_device:1401: set address 2 failed (ignored)
> usb2_alloc_device:1436: getting device descriptor at addr 2 failed!
> usb2_req_re_enumerate:1366: addr=2, set address failed! (ignored)
> usb2_req_re_enumerate:1379: getting device descriptor at addr 2 failed!
> usb2_req_re_enumerate:1366: addr=2, set address failed! (ignored)
> usb2_req_re_enumerate:1379: getting device descriptor at addr 2 failed!
> ugen1.2: <> at usbus1 (disconnected)
> uhub_reattach_port:413: could not allocate new device!
>
>
> Andrew

Hi,

You can try editing "uhci2.c" and change the "if ()" in:

static void
uhci_set_hw_power(struct usb2_bus *bus)

to "if (1)". That will prevent the USB schedule from ever stopping.

--HPS
Received on Thu Jan 22 2009 - 20:07:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:40 UTC