Page MenuHomeSolus

USB Wifi adapter will not resume from Suspend.
Closed, InvalidPublic

Description

I've recently noticed that my USB wifi adapter will not turn back on upon resuming from Suspend, the only thing that resolves the issue is to unplug the adapter, and then reinsert it. After which it will work normally until put into suspend again.

My specific adapter is a Rosewill RNX-N180UBE, which according to this website and from my own verification using the command lsusb, uses the Realtek RTL8191SU chipset.

From searching around, it appears this is a common problem for other distros as well. However, this gentleman here seems to have found a solution to the issue on Ubuntu. Upon attempting this fix myself, I found that Solus doesn't have the same directories as Ubuntu, and I am unsure of what the equivalents would be.

Any help on how to adapt this fix to Solus (if possible) would be much appreciated. :)

Event Timeline

Poking around the internet, and it looks like systemd managed this differently. It will execute a script when entering and exiting suspend, if it is located in:

/usr/lib/systemd/system-sleep/

The following script should work for your purposes (double check the module name with lsmod, please):

#!/bin/bash

case $1 in
    pre)
        modprobe -r r8191su
    ;;
    post)
        modprobe r8191su
    ;;
esac

Ironically, I did something similar awhile ago as a Bash function for "kicking over" my Intel wireless card.

Closing due to lack of response.