$ python ./mm-test.py
GSM modem
Driver: 'sierra'
Modem device: '/sys/devices/pci0000:00/0000:00:1d.2/usb7/7-1'
Data device: 'ttyUSB2'
Traceback (most recent call last):
File "./mm-test.py", line 276, in <module>
modem.Enable(True)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.ModemManager.Modem.General: The modem was removed or disabled.
after test script exits with an error I see that this
sudo killall modem-manager; sudo modem-manager --debug 2>&1 | tee /tmp/modem.log.txt
is still running. Then I try to connect to my mobile ISP and get the described above crash. And I see that this
sudo killall modem-manager; sudo modem-manager --debug 2>&1 | tee /tmp/modem.log.txt
attached are the logs as described here: https:/ /wiki.ubuntu. com/DebuggingMo demmanager
the mm-test.py crashed though:
$ python ./mm-test.py pci0000: 00/0000: 00:1d.2/ usb7/7- 1' Enable( True) pymodules/ python2. 6/dbus/ proxies. py", line 140, in __call__ pymodules/ python2. 6/dbus/ connection. py", line 620, in call_blocking .DBusException: org.freedesktop .ModemManager. Modem.General: The modem was removed or disabled.
GSM modem
Driver: 'sierra'
Modem device: '/sys/devices/
Data device: 'ttyUSB2'
Traceback (most recent call last):
File "./mm-test.py", line 276, in <module>
modem.
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions
after test script exits with an error I see that this
sudo killall modem-manager; sudo modem-manager --debug 2>&1 | tee /tmp/modem.log.txt
is still running. Then I try to connect to my mobile ISP and get the described above crash. And I see that this
sudo killall modem-manager; sudo modem-manager --debug 2>&1 | tee /tmp/modem.log.txt
is terminated.