Created attachment 27422 [details] Patch 1 that turns off all usb devices After the machine is shut down are USB devices still powered, e.g. the optical mouse is still lighted. Other USB ports, even without any hardware connected, keep power too. I have included two patches: - The first patch directly turns off all usb devices without specifying module options. This might not work well on some machines, since this is untested code. - The second patch turns off all usb devices only when specifying the "ohci_hcd.power_off_usb=1" module option. This bug was originally reported on LaunchPad: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/42149
Created attachment 27423 [details] Patch 2 that turns off all usb devices
On Fri, Aug 13, 2010 at 01:32:20AM +0000, bugzilla-daemon@bugzilla.kernel.org wrote: > Created an attachment (id=27422) > --> (https://bugzilla.kernel.org/attachment.cgi?id=27422) > Patch 1 that turns off all usb devices Please send all patches to the linux-usb@vger.kernel.org mailing list in a format that we can apply them (read Documentation/SubmittingPatches please.) thanks, greg k-h
I just sent a message to linux-usb@vger.kernel.org containing a corrected patch. Hope it will be useful :) PS: and sorry for being late ;)
All USB bugs should be sent to the linux-usb@vger.kernel.org mailing list, and not entered into bugzilla. Please bring this issue up there, if it is still a problem in the latest kernel release.