Raspberry Pi wifi sleep issue with Edimax EW-7811Un

August 30, 2015

Although I have been reasonably happy with my current airplay speaker setup I ran into some issues where I couldn’t find the airplay speakers listed. I also couldn’t ssh in, and on the pi directly ifconfig wasn’t reporting an IP address either. I found myself having to continually run ifconfig wlan0 up.

Turns out the Edimax EW-7811Un wifi adapter on Raspbian has an issue with very conservative power management. A quick google search turned up this forum post that worked me.

Essentially create a text file at /etc/modprobe.d/8192cu.conf with the contents (may require sudo to write):

# Disable power management options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

Save that, restart, and hopefully all is fixed.

Another small quirk, but still very happy with everything. In all this I also discovered that shairport-sync had been updated to 2.4 with some bugfixes, yay.