Re: USB devices fail unnecessarily on unpowered hubs

From: Andrew Morton
Date: Thu Jun 01 2006 - 12:54:27 EST


On Thu, 1 Jun 2006 10:58:43 -0400 (EDT)
Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:

> As an alternative, we could allow an "over-budget window" of say 10%.

That, plus we should provide a suitable i-know-what-im-doing user override,
with the appropriate warnings, as well as a printk which directs users to
this option when we decided to disable their device.

> Configurations that exceed the power budget by less than that amount would
> still be accepted. I don't know whether this would be enough of a help,
> however. I've heard of devices that claim to require 200 mA, for
> instance. It just doesn't seem right to enable them when the upstream hub
> can only provide 100 mA.

The power supply spec is a conservative minimum, whereas the device spec is
a worst-case maximum. One would expect a lot of devices will work OK when
run "out of spec".

(Goes away and pats all his 240V plugpacks which are happily working off 110V).

-
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/