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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s