Re: [linux-usb-devel] 2.6.10-rc1 OHCI usb error messages

From: David Brownell
Date: Wed Oct 27 2004 - 18:54:46 EST


On Wednesday 27 October 2004 02:07, Colin Leroy wrote:
> On 26 Oct 2004 at 09h10, David Brownell wrote:
>
> > What's wrong there is emitting voluminous diagnostics for
> > something that's not an error ... the root hub is suspended,
> > and as with any suspended device, you can't talk to it.
>
> Btw, there's something else wrong, because the root hub shouldn't be
> suspended during boot, should it ?

You're not reporting that it fails to activate when there's an
active device connected; and you obviously enabled CONFIG_PM,
which Kconfig says means that

... parts of your computer are shut off or put into a
power conserving "sleep" mode if they are not being used.

So: since it's not being actively used then, why shouldn't the
root hub (or any other device) be suspended? During boot, or at
any other time. So long as it works when you plug in a USB device,
it looks to me like everything is behaving quite reasonably.


> At least, it's not on 2.6.9. Also,
> lsusb -v fails with long timeouts due to that on 2.6.10-rc1, not on 2.6.9.

I've never observed "lsusb" ever timing out when accessing a
suspended USB device; the URB submissions fail right away.
So if something's timing out, it's for some other reason.
(Such as bugs in "lsusb"; the "usbutils" package is overdue
for a new release, it's changed a lot since the 0.11 tarball
that's widely available.)

- Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/