You are not logged in.

#1 2013-02-07 09:12:09

Joe S
Registered: 2013-01-18
Posts: 4

[SOLVED] Suspend Resume WLAN USB Realtek r8712u Linux 3.7.5-1

After suspend to ram any r8712u wireless usb device won't wake up, killing the wireless network.

The solution I found was to stop the network and unload the module before going into suspend. The following systemd service file does the trick:


Description=Local system suspend actions

ExecStart=/usr/bin/systemctl stop network ; /usr/bin/rmmod r8712u


To load the module and start the network:


Description=Local system resume actions                                                            
ExecStart=/sbin/modprobe r8712u ; /usr/bin/systemctl start network


After enabling

systemctl enable root-resume root-suspend

and starting the unit files

systemctl start root-resume root-suspend

the wireless network works after suspend to ram.


#2 2013-02-08 17:24:36

From: Croatia
Registered: 2013-02-08
Posts: 4

Re: [SOLVED] Suspend Resume WLAN USB Realtek r8712u Linux 3.7.5-1

I was facing exact same problem with my Airlive WN-370USB witch uses r8712u driver and my solution is almost same as yours except I didn't stop the network. Is there any particular reason for doing this? And after resume it takes about a minute to connect.
The only thing different I had to do because of Airlive card is UDEV rule.
in /etc/udev/rules.d/10-local.rules

ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1b75", ATTRS{idProduct}=="8171", RUN+="/bin/wlan"

VID and PID are specific to my adapter, if anyone faces same problems, lsusb will get you VID and PID.
For quick solution to get wireless working when installing. This works on all linux systems that I tried.

modprobe r8712u
echo VID PID > /sys/bus/usb/drivers/r8712u/new_id

Hope this will help someone.

Last edited by Mihael (2013-02-15 11:01:08)


Board footer

Powered by FluxBB