*** This bug is a duplicate of bug 868034 ***
    https://bugs.launchpad.net/bugs/868034

I just found a newer firmware version (11.313.02.00.01). After fimware
upgrade the problems (and workaround) still persist.

Some more details:

When ModemManager is allowed to probe /dev/ttyUSB1:

Feb 15 14:51:12 jbls-xps modem-manager[595]: <debug> [mm-plugin-base.c:850] 
try_open(): (ttyUSB1): probe requested by plugin 'Huawei'
...
Feb 15 14:51:12 jbls-xps modem-manager[595]: <debug> [mm-modem-base.c:155] 
mm_modem_base_add_port(): (ttyUSB1) type secondary claimed by 
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-1
Feb 15 14:51:12 jbls-xps modem-manager[595]: <info>  [mm-manager.c:564] 
do_grab_port(): (Huawei): GSM modem 
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-1 claimed port ttyUSB1


Then, when trying to connect ttyUSB0, both ttyUSB0 and ttyUSB1 get the commands 
AT+CREG=2 and AT+CGREG=2. ttyUSB1 does not seem to like this and responds first 
with "+CME ERROR: 3" and then "^BOOT:59866241,0,0,0,6":

Feb 15 14:51:15 jbls-xps modem-manager[595]: <debug> [mm-at-serial-port.c:298] 
debug_log(): (ttyUSB1): --> 'AT+CREG=2<CR>'
Feb 15 14:51:15 jbls-xps modem-manager[595]: <debug> [mm-at-serial-port.c:298] 
debug_log(): (ttyUSB1): <-- '<CR><LF>+CME ERROR: 3<CR><LF>'
Feb 15 14:51:15 jbls-xps modem-manager[595]: <debug> [mm-serial-parsers.c:412] 
mm_serial_parser_v1_parse(): Got failure code 3: Operation not allowed
Feb 15 14:51:15 jbls-xps modem-manager[595]: <debug> [mm-at-serial-port.c:298] 
debug_log(): (ttyUSB1): --> 'AT+CGREG=2<CR>'
Feb 15 14:51:15 jbls-xps modem-manager[595]: <debug> [mm-at-serial-port.c:298] 
debug_log(): (ttyUSB1): <-- '<CR><LF>^BOOT:59866241,0,0,0,6<CR><LF>'

After that the modem does not respond at all. Even my otherwise working
pppd scripts fail to communicate with the modem.


When command 'cat /dev/ttyUSB1' is running ModemManager probing fails on
ttyUSB1:

Feb 15 14:54:29 jbls-xps modem-manager[595]: <debug> [mm-plugin-base.c:850] 
try_open(): (ttyUSB1): probe requested by plugin 'Huawei'
...
Feb 15 14:54:46 jbls-xps modem-manager[595]: <debug> [mm-manager.c:624] 
supports_callback(): (tty/ttyUSB1): ignoring port unsupported by physical 
modem's plugin

After that ModemManager does not touch /dev/ttyUSB1 and NetworkManager
is able to connect using /dev/ttyUSB0.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/932824

Title:
  ModemManager hangs Huawei E220 Modem when probing ttyUSB1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/932824/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to