USB2 + ucom + UHCI: still not happy

Hans Petter Selasky hselasky at c2i.net
Thu Jan 22 13:07:30 PST 2009


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


More information about the freebsd-current mailing list