]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: usbcore: always turn on hub port power
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 27 Apr 2006 19:54:22 +0000 (15:54 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:09 +0000 (15:04 -0700)
commit8eeb0b73097790dd7dc1802659eac2e45306dd10
treef79eb7f00a4d95eb7505b2f29283b2ce927feac4
parent65bb561bc28e0750ead8f675a09cef0d5c156377
[PATCH] USB: usbcore: always turn on hub port power

Some hubs claim not to support port-power switching, and right now the
hub driver believes them and does not enable power to their ports.
However it turns out that even though they don't actually switch power,
they do ignore all events on a port until told to turn on the power!
This problem has been reported by several users.

This revised patch (as672b) makes the hub driver always try to turn on
port power to all hubs, regardless of what the hub descriptor says.  It
also adds a comment explaining the need for this.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c