From ed129f5e35724f96239fe7d15a54226f897a6d8e Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Sun, 11 Oct 2015 19:13:46 +1100 Subject: [PATCH] gsmd2: stop removing/adding modules. It seems not to help... Signed-off-by: NeilBrown --- gsm/gsmd2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gsm/gsmd2.py b/gsm/gsmd2.py index 317b33f..281989b 100644 --- a/gsm/gsmd2.py +++ b/gsm/gsmd2.py @@ -376,7 +376,7 @@ class modem(Engine,AtChannel): time.sleep(0.5) gpio_set(186,0) time.sleep(2); - Popen("rmmod ehci_hcd", shell=True).wait(); + #Popen("rmmod ehci_hcd", shell=True).wait(); def set_suspend(self): self.suspended = True @@ -418,7 +418,7 @@ class modem(Engine,AtChannel): print "will now reboot" sys.stdout.flush() Popen("/sbin/reboot -f", shell=True).wait() - Popen('rmmod ehci_omap; rmmod ehci-hcd; modprobe ehci-hcd; modprobe ehci_omap', shell=True).wait() + #Popen('rmmod ehci_omap; rmmod ehci-hcd; modprobe ehci-hcd; modprobe ehci_omap', shell=True).wait() time.sleep(1) gpio_set(186, 1) time.sleep(0.5) -- 2.39.5