Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2009 22:09:50 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Andrew Thompson <thompsa@freebsd.org>
Cc:        Poul-Henning Kamp <phk@phk.freebsd.dk>, freebsd-current@freebsd.org, current@freebsd.org
Subject:   Re: USB2 + ucom + UHCI: still not happy
Message-ID:  <200901222209.51225.hselasky@c2i.net>
In-Reply-To: <20090122195809.GD84458@citylink.fud.org.nz>
References:  <1421.1232314073@critter.freebsd.dk> <200901221624.13536.hselasky@c2i.net> <20090122195809.GD84458@citylink.fud.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901222209.51225.hselasky>