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.


Connecting Raspberry to a EW-7811Un

After succesfully getting my Raspberry set up and playing around with it I thought it would be a good idea to unleash the beast. So I decided to get rid of the network cable and looked for an appropriate WLAN adapter. The small size of the raspberry lead me straight to the Edimax EW-7811Un – a nano USB adapter.

Read more →