I wrote a wrapper script around nm-modem-probe.

It turns out it works only if you probe the modem twice!

I tried sleeping for 3, 5, 8, 10 seconds and then probing once, but that
didn't work.

I could probe using /dev/.tmp-char-188:0 the first time and /dev/ttyUSB0
the second time, the other way around, or the same device twice.

The only thing that mattered was that I probed the device twice.

3975 13:30:47 nm-modem-probe /dev/.tmp-char-188:0:
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
E: error writing command: 5
ID_NM_MODEM_PROBED=1
3975 13:30:53 nm-modem-probe /dev/ttyUSB0:
ID_NM_MODEM_GSM=1
ID_NM_MODEM_PROBED=1

-- 
Network-Manager not seeing broadband card
https://bugs.launchpad.net/bugs/360905
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to