Re: USB devices fail unnecessarily on unpowered hubs

From: Robert Hancock
Date: Thu Jun 01 2006 - 19:36:49 EST


Alan Stern wrote:

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

They probably will. The question is, how far out-of-spec should the kernel allow by default? 200% is likely to be too far (your plugpacks notwithstanding).

I would say by default the kernel should not allow any out-of-spec power condition. Some devices might decide to go into over-current mode if a device draws too much power, taking down other devices on the USB bus. This sort of behavior should only be enabled if the user explicitly chooses to live dangerously.

Especially given the fact that Windows enforces the USB power supply limits strictly, and that's where all the hardware is best tested..

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

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