From 503ff804a3656c3018c30ba3b2e2ef3e09431dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 22 Oct 2013 16:51:38 +0200 Subject: [PATCH] suspend: fix order of modules unload ehci_hcd is used by ehci_pci, so can't be unloaded first. --- qubes-rpc/prepare-suspend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes-rpc/prepare-suspend b/qubes-rpc/prepare-suspend index a840c3d..e3b81ca 100755 --- a/qubes-rpc/prepare-suspend +++ b/qubes-rpc/prepare-suspend @@ -9,7 +9,7 @@ if [ x"$action" == x"suspend" ]; then for if in `ls /sys/class/net|grep -v "lo\|vif"`; do ip l s $if down done - modprobe -r uhci_hcd ehci_hcd ehci_pci + modprobe -r uhci_hcd ehci_pci ehci_hcd lsmod|grep -q iwldvm && touch /var/run/qubes/suspend-iwldvm-loaded modprobe -r iwldvm else