Comment 42 for bug 116752

Revision history for this message
Neo23x0 (neo-x) wrote :

Currently I run the system with the following script executed by cron every 5 minutes to ensure that every connected devices it set correctly:

for i in /sys/bus/usb/devices/*/power/control; do echo on > $i; done
for i in /sys/bus/usb/devices/*/power/autosuspend; do echo -1 > $i; done

No freeze up to now.
Perhaps this could be a quick help for someone.
Remember that this would cause a slightly higher power consumption due to the deactivation of the autosuspend and power level feature for USB devices.