Bug 94540 - Huawei MU-709 ModemManager reports connected when the modem is no longer connected
Summary: Huawei MU-709 ModemManager reports connected when the modem is no longer conn...
Status: RESOLVED MOVED
Alias: None
Product: ModemManager
Classification: Unclassified
Component: general (show other bugs)
Version: 1.4
Hardware: ARM Linux (All)
: medium major
Assignee: ModemManager bug user
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-14 18:37 UTC by Ilan
Modified: 2018-06-10 09:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Modem manager AT commands debug (7.30 KB, text/plain)
2016-03-14 18:37 UTC, Ilan
Details
ModemManager More log (17.75 KB, text/plain)
2016-03-15 10:26 UTC, Ilan
Details

Description Ilan 2016-03-14 18:37:12 UTC
Created attachment 122284 [details]
Modem manager AT commands debug

The problem I'm experiencing with this modem is the following, after being on an active session and the Network operator, for some reason, resets the connection the modem emits the unsolicited command +CGREG: 3 (Registration is rejected. The GPRS service is disabled and the ME cannot be attached to the GPRS) but ModemManager still reports the modem as connected. The only way to recover from this is to reset the modem, even after the network operator resolved the problem.

The ModemManager version is 1.4.12, running on an arch linux distribution and with a Linux kernel 4.1.19 which is running on a Raspberry PI Compute Module. 

I'm sending some debug information in attached

Any help is appreciated
Comment 1 Aleksander Morgado 2016-03-14 19:06:52 UTC
Is there really no other message notifying the disconnection before that "+CGREG: 3" message?

We should anyway monitor for that kind of notification and disconnect if we get it.
Comment 2 Ilan 2016-03-14 22:11:59 UTC
I don't have access to the device where the modem is attached at the moment, tomorrow I'll check the logs and answer accordingly.

Thanks for anwsering so soon. 

Cheers
Comment 3 Ilan 2016-03-15 10:26:23 UTC
Created attachment 122313 [details]
ModemManager More log

As requested I'm attaching a more complete log of ModemManager.
I've also noted that another command is sent by the modem which indicates the invalid state of the SIM card, which is: ^SIMST: 3,0. The huawei's documentation states that a value of 3 means "Invalid SIM card in PS domain", and 0 means "SIM card is not locked by the CardLock feature". 
The command syntax is:
 ^SIMST: <sim_state>[,<lock_state>]
Comment 4 Ilan 2016-03-22 10:30:51 UTC
Hey, any news?
Comment 5 Aleksander Morgado 2016-03-22 10:36:06 UTC
(In reply to Ilan from comment #4)
> Hey, any news?

No news; just need time to prepare a patch.
Comment 6 Ilan 2016-05-02 10:49:42 UTC
Hi, 

How is the work going? do you have any news?
Comment 7 Aleksander Morgado 2016-05-02 15:51:39 UTC
> 
> How is the work going? do you have any news?

Nothing yet, no.
Comment 8 GitLab Migration User 2018-06-10 09:01:10 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/17.


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.