From e54d35b8d1ca4e5e1a1d4414d4347d0db77a8093 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Fri, 19 Jul 2013 03:40:06 +0200 Subject: [PATCH] suspend: Blacklist iwldvm Some users reports that this module causes problems on resume. So unload it before suspend and load again at resume. --- qubes-rpc/prepare-suspend | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qubes-rpc/prepare-suspend b/qubes-rpc/prepare-suspend index a12b1af..a840c3d 100755 --- a/qubes-rpc/prepare-suspend +++ b/qubes-rpc/prepare-suspend @@ -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