Page MenuHomeSolus

Edimax 7811un USB wifi adapter, drops connection at random.
Closed, WontfixPublic

Description

Using a Edimax 7811un USB wifi adapter drops the internet connection at random if there's no traffic for 3-5 minutes.
Sometimes the connection can remain stable for 15-20 minutes, other times it drops after just a couple of minutes. If you are streaming something or somehow are sending or receiving data continuously then the connection stays longer. Feels like some power saving thing.. Read some posts about that the linux kernel might be the culprit.
I've tried the adapter on an older Acer Aspire One laptop, and a Macbook Pro 2014 with the same issue.

Event Timeline

crash added a subscriber: crash.Aug 16 2016, 9:48 PM

maybe the adapter is faulty? i mean if you have tried it ona macbook pro with OSX.

Alot of other people have had similar issues with Debian and other distros. It works but behaves just like that there is some power saving setting on. But i only does this with linux. I have no tried it with OS X, only on a Macbook but with a linux distro. OS X rejects the adapter :/

Hmm ok that is weird, can you test with adding/creating a file in /etc/modprobe.d/8192cu.conf and reboot after wards
put that in the conf file:

options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

this should turn the power savings off :)

I have tried that before with no success but i'll try it again with all the latest patches.

I have created the file 8192cu.conf and all that. Everything seemed for about a couple of hours then it started doing the same drop outs again. And now i have to always run a online radio station (and therefore) always generate traffic, because otherwise the connection drops starts again after about 15-20 minutes.

I found something that might give us a clue. If i type "sudo tlp-stat" i get an output that states:
+++ Configured Settings: /etc/default/tlp
USB_AUTOSUSPEND=1.

Doesn't that make USB devices to sleep after a awhile of idle?

That only applies if you're on battery power and you can change to 0 to disable it. That being said, some saner defaults for TLP are needed and it is something I'll look into addressing in the future.

DataDrake closed this task as Wontfix.Sep 10 2016, 12:20 PM
DataDrake claimed this task.
DataDrake added a subscriber: DataDrake.

At the end of the day, this is looking more like a kernel driver issue and not a Solus-specific issue. Recent changes to TLP have resolved any USB autosuspend issue.