suspend: Blacklist iwldvm
Some users reports that this module causes problems on resume. So unload it before suspend and load again at resume.
This commit is contained in:
parent
6d18b0034b
commit
e54d35b8d1
@ -10,7 +10,10 @@ if [ x"$action" == x"suspend" ]; then
|
||||
ip l s $if down
|
||||
done
|
||||
modprobe -r uhci_hcd ehci_hcd ehci_pci
|
||||
lsmod|grep -q iwldvm && touch /var/run/qubes/suspend-iwldvm-loaded
|
||||
modprobe -r iwldvm
|
||||
else
|
||||
modprobe ehci_pci; modprobe uhci_hcd;
|
||||
modprobe ehci_pci; modprobe uhci_hcd
|
||||
test -e /var/run/qubes/suspend-iwldvm-loaded && modprobe iwldvm
|
||||
nmcli nm sleep false || { [ -x /bin/systemctl ] && systemctl start NetworkManager.service; } || service qubes-core-netvm start
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user