Hi Michael,
Michael Leuchtenburg wrote:
This patch looks great, but isn't quite sufficient. This will set the
autosuspend timeout for all existing USB devices to 0 when activated,
but will not modify the timeout for new USB devices. This can be set by
writing to /sys/module/usbcore/parameters/autosuspend. Both this and the
existing behavior of the script are required to make sure that all USB
devices connected to the system when on battery have autosuspend=0.
I'm not sure how to set the default power level for new devices - it
would probably require some HAL hooks.
Attached is a modified version of the script with this change.
Cool, thanks for contributing! I'll include this modified version in the
next upstream release.
Cheers,
Bart
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org