Power management on the Raspberry WLAN adapter

Having my raspberry connected to my WLAN (read the full story here) I discovered that it sometimes was disconnected from the network. I suspected the power management of the driver causing this. Therefore I created a file called 8192cu.conf (the name doesn’t matter as long as it ends with .conf) in the /etc/modprobe.d directory with the content:

#
# rtw_power_mgnt=0 disable PS
# rtw_power_mgnt=1 enable PS, MIN_PS Mode
# rtw_power_mgnt=2 enable PS, MAX_PS Mode
#
options 8192cu rtw_power_mgnt=0

I placed the comments in this file in order to explain the possible settings the driver accepts. With this file each time the driver is loaded the given arguments are passed along.

Leave a comment