[solved] A20 How to disable sleep/susend/hibernate?

Started by erkobg, January 28, 2016, 04:29:20 PM

Previous topic - Next topic

erkobg

 Hello,
while using through SSH, A20 goes into a sleep mode, and connection ( which is thorough wifi) stops,
and I am not able to start board until I restart it...

This is annoying ... :o :o :o :o

Is there a way to make board always awake?
Any instructions will be very helpful

erkobg

This never happens when board is connected with cable to the LAN,
only happens when connected over wifi with USB stick.

igorpec

linux for ARM development boards
www.armbian.com

erkobg

#3
I was able to disable it, following
https://www.raspberrypi.org/forums/viewtopic.php?t=51543&p=397663

The 8192cu kernel module has power management enabled by default:

$ cat /sys/module/8192cu/parameters/rtw_power_mgnt
1



I was able to disable power management completely by creating /etc/modprobe.d/8192cu.conf with the following contents:


# Disable power saving
options 8192cu rtw_power_mgnt=0



After creating the file, you will need to reboot. You can confirm that power management is disabled after rebooting by verifying that the value of the rtw_power_mgnt parameter is now 0.
~ $ cat /sys/module/8192cu/parameters/rtw_power_mgnt
0