]> git.neil.brown.name Git - plato.git/commitdiff
gsmd2: stop removing/adding modules.
authorNeilBrown <neil@brown.name>
Sun, 11 Oct 2015 08:13:46 +0000 (19:13 +1100)
committerNeilBrown <neil@brown.name>
Sun, 11 Oct 2015 08:13:46 +0000 (19:13 +1100)
It seems not to help...

Signed-off-by: NeilBrown <neil@brown.name>
gsm/gsmd2.py

index 317b33f6400a5fbd74ac590d0ba1fd52c3082aee..281989bd2146106451a3858ef98b44005e25f230 100644 (file)
@@ -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)