Raspberry Pi - Disable USB Sleep Mode
Instructions here:
In case it goes away:
Disable Power Management
First you read the power management flag using :
cat /sys/module/8192cu/parameters/rtw_power_mgnt
This will report a value of “1”.
To set it to zero you can use :
sudo nano /etc/modprobe.d/8192cu.conf
and add the following line :
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
To quit from nano use [CTRL-X], [Y] then [ENTER].
You are now ready to reboot using :
sudo reboot