Bug 89482

Summary: ModemManager not reliably working with one of my SIM card (same modem)
Product: ModemManager Reporter: Laurent Bigonville <bigon>
Component: generalAssignee: ModemManager bug user <modemmanager>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: 1.4   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Base
Proximus
Base debug
Proximus debug

Description Laurent Bigonville 2015-03-07 11:28:40 UTC
Hello,

With the same modem, with one of my SIM card (Base) MM seems to work properly (even if the SIM card is not in service anymore I can use geoclue and get an approximate position). But with the SIM card from an other provider (Proximus), MM keeps releasing the modem. Note that sometimes, MM is also able to keep the modem up with the proximus SIM card, but this seems to be completely random.

The modem is, according to lsusb: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Comment 1 Laurent Bigonville 2015-03-07 11:30:16 UTC
Created attachment 114104 [details]
Base
Comment 2 Laurent Bigonville 2015-03-07 11:30:30 UTC
Created attachment 114105 [details]
Proximus
Comment 3 Laurent Bigonville 2015-03-07 11:46:07 UTC
Created attachment 114106 [details]
Base debug

As you can see, the SMS are displayed here for example
Comment 4 Laurent Bigonville 2015-03-07 11:48:18 UTC
Created attachment 114107 [details]
Proximus debug

But here the SMS are not displayed
Comment 5 Aleksander Morgado 2015-03-09 08:18:45 UTC
Unfortunately, I don't think there is any clear thing we can do with this issue.

The Huawei modem is rebooting itself at some point when using the Proximus simcard, see the following logs:

ModemManager[31481]: <debug> [1425727361.328214] [mm-iface-modem.c:1235] signal_quality_check_ready(): Periodic signal quality checks rescheduled (interval = 30s)
ModemManager[31481]: <debug> [1425727361.328296] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): --> 'AT^SYSINFOEX<CR>'
ModemManager[31481]: <debug> [1425727361.346703] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): <-- '<CR><LF>ERROR<CR><LF>'
ModemManager[31481]: <debug> [1425727361.346799] [mm-serial-parsers.c:364] mm_serial_parser_v1_parse(): Got failure code 100: Unknown error
ModemManager[31481]: <debug> [1425727361.346840] [huawei/mm-broadband-modem-huawei.c:271] run_sysinfoex_ready(): ^SYSINFOEX failed: Unknown error, assuming unsupported
ModemManager[31481]: <debug> [1425727361.346866] [mm-port-serial.c:1237] mm_port_serial_open(): (ttyUSB2) device open count is 3 (open)
ModemManager[31481]: <debug> [1425727361.346889] [mm-port-serial.c:1294] _close_internal(): (ttyUSB2) device open count is 2 (close)
ModemManager[31481]: <debug> [1425727361.346920] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): --> 'AT^SYSINFO<CR>'
ModemManager[31481]: <debug> [1425727361.361419] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): <-- '<CR><LF>^SYSINFO:2,3,0,5,1,,4<CR><LF><CR><LF>OK<CR><LF>'
ModemManager[31481]: <debug> [1425727361.361625] [huawei/mm-broadband-modem-huawei.c:582] load_access_technologies_finish(): Access Technology: 'umts'
ModemManager[31481]: <debug> [1425727361.361705] [mm-iface-modem.c:894] mm_iface_modem_update_access_technologies(): Modem /org/freedesktop/ModemManager1/Modem/0: access technology changed (unknown -> umts)
ModemManager[31481]: <debug> [1425727361.361731] [mm-port-serial.c:1294] _close_internal(): (ttyUSB2) device open count is 1 (close)

(and crash)

ModemManager[31481]: <debug> [1425727366.222540] [mm-port-serial.c:889] common_input_available(): (ttyUSB1) unexpected port hangup!
ModemManager[31481]: <debug> [1425727366.222594] [mm-port-serial.c:1421] port_serial_close_force(): (ttyUSB1) forced to close port
ModemManager[31481]: <debug> [1425727366.222608] [mm-port-serial.c:1294] _close_internal(): (ttyUSB1) device open count is 0 (close)
ModemManager[31481]: <debug> [1425727366.222620] [mm-port-serial.c:1310] _close_internal(): (ttyUSB1) closing serial port...
ModemManager[31481]: <debug> [1425727366.222645] [mm-port-serial.c:1359] _close_internal(): (ttyUSB1) serial port closed
ModemManager[31481]: <debug> [1425727366.223032] [mm-port-serial.c:889] common_input_available(): (ttyUSB2) unexpected port hangup!
ModemManager[31481]: <debug> [1425727366.223061] [mm-port-serial.c:1421] port_serial_close_force(): (ttyUSB2) forced to close port
ModemManager[31481]: <debug> [1425727366.223091] [mm-port-serial.c:1294] _close_internal(): (ttyUSB2) device open count is 0 (close)
ModemManager[31481]: <debug> [1425727366.223116] [mm-port-serial.c:1310] _close_internal(): (ttyUSB2) closing serial port...
ModemManager[31481]: <debug> [1425727366.223144] [mm-port-serial.c:1359] _close_internal(): (ttyUSB2) serial port closed
ModemManager[31481]: <info>  [1425727366.223723] [mm-base-manager.c:381] device_removed(): (tty/ttyUSB1): released by modem /sys/devices/pci0000:00/0000:00:1a.7/usb7/7-5/7-5.2
ModemManager[31481]: <info>  [1425727366.223963] [mm-base-manager.c:381] device_removed(): (tty/ttyUSB2): released by modem /sys/devices/pci0000:00/0000:00:1a.7/usb7/7-5/7-5.2
ModemManager[31481]: <info>  [1425727366.224366] [mm-base-manager.c:381] device_removed(): (tty/ttyUSB0): released by modem /sys/devices/pci0000:00/0000:00:1a.7/usb7/7-5/7-5.2
ModemManager[31481]: <debug> [1425727366.224426] [mm-base-manager.c:386] device_removed(): Removing empty device '/sys/devices/pci0000:00/0000:00:1a.7/usb7/7-5/7-5.2'
ModemManager[31481]: <debug> [1425727366.224634] [mm-device.c:393] unexport_modem(): Unexported modem '/sys/devices/pci0000:00/0000:00:1a.7/usb7/7-5/7-5.2' from path '/org/freedesktop/ModemManager1/Modem/0'
ModemManager[31481]: <debug> [1425727366.224926] [mm-port-serial.c:1421] port_serial_close_force(): (ttyUSB0) forced to close port
ModemManager[31481]: <debug> [1425727366.225013] [mm-base-modem.c:1485] finalize(): Modem (Huawei) '/sys/devices/pci0000:00/0000:00:1a.7/usb7/7-5/7-5.2' completely disposed

I'd suggest to try to update the Huawei modem to the latest firmware available for that modem... :/

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.