I got pretty sick of this when it was first installed as a default feature, so I manually edited the init script to turn it off.
However, I rapidly got tired of this, and wrote a little script to run once on a WP85 install to disable the feature.
Script is attached.
Install instructions:
- unpack the script using
gunzip
on linux, or7zip
on windows. - Copy the script to your WP85 device (
scp
on linux,WinSCP
on windows) - run the script:
./DisableUsbSleep.sh
This modifies /etc/init.d/enable_autosleep.sh
to disable the auto-sleep feature.
To uninstall:
edit /etc/init.d/enable_autosleep.sh
and follow the instructions in the comment lines starting with ## modified by DisableUsbSleep.sh (c)Renfell Engineering P/L 2016
I hope that this is useful to someone.
DisableUsbSleep.sh (1.3 KB)
ciao, Dave