Sierra EM7455 - Couldn't check if unlock required: 'SIM not inserted'
Alex Pintilie
pintiliea81 at gmail.com
Sun Feb 5 12:45:38 UTC 2017
Hello friends of ModemManager,
I have found a not elegant but working solution for my problem on this
Lenovo T460s with Sierra EM7455 :
The problem: Couldn't check if unlock required: 'SIM not inserted'
The solution: Close the lid of the laptop. It will go in standby. Open the
lid. Wait for the modem to reappear.
# mmcli -L
Found 1 modems:
/org/freedesktop/ModemManager1/Modem/1 [Sierra] MBIM [1199:9079]
Notice that it's modem 1 now, not 0 !
Thx and regards,
Alex P.
# mmcli -m 1
/org/freedesktop/ModemManager1/Modem/1 (device id '
780c6641e834ee1f72a5f2064c2ef5de3b0f5193')
-------------------------
Hardware | manufacturer: 'Sierra'
| model: 'MBIM [1199:9079]'
| revision: 'SWI9X30C_02.08.02.00'
| supported: 'gsm-umts, lte'
| current: 'gsm-umts, lte'
| equipment id: '<removed>'
-------------------------
System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2'
| drivers: 'cdc_mbim, qcserial'
| plugin: 'Sierra'
| primary port: 'cdc-wdm0'
| ports: 'ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0
(mbim), wwp0s20f0u2i12 (net)'
-------------------------
Numbers | own : '+<removed>'
-------------------------
Status | lock: 'none'
| unlock retries: 'sim-pin2 (3)'
| state: 'connected'
| power state: 'on'
| access tech: 'lte'
| signal quality: '35' (cached)
-------------------------
Modes | supported: 'allowed: 3g, 4g; preferred: none'
| current: 'allowed: 3g, 4g; preferred: none'
-------------------------
Bands | supported: 'unknown'
| current: 'unknown'
-------------------------
IP | supported: 'ipv4, ipv6, ipv4v6'
-------------------------
3GPP | imei: '<removed>'
| enabled locks: 'fixed-dialing'
| operator id: '<removed>'
| operator name: '<removed>'
| subscription: 'unknown'
| registration: 'home'
-------------------------
SIM | path: '/org/freedesktop/ModemManager1/SIM/0'
-------------------------
Bearers | paths: '/org/freedesktop/ModemManager1/Bearer/0'
2017-02-05 13:44 GMT+01:00 Alex Pintilie <pintiliea81 at gmail.com>:
> Sorry, I managed to send this to you only again. I'll fix that immediately.
>
> 2017-02-05 13:43 GMT+01:00 Alex Pintilie <pintiliea81 at gmail.com>:
>
>> Hello friends of ModemManager,
>>
>> I have found a not elegant but working solution for my problem on this
>> Lenovo T460s with Sierra EM7455 :
>>
>> The problem: Couldn't check if unlock required: 'SIM not inserted'
>>
>> The solution: Close the lid of the laptop. It will go in standby. Open
>> the lid. Wait for the modem to reappear.
>>
>> # mmcli -L
>>
>> Found 1 modems:
>> /org/freedesktop/ModemManager1/Modem/1 [Sierra] MBIM [1199:9079]
>>
>> Notice that it's modem 1 now, not 0 !
>>
>> Thx and regards,
>> Alex P.
>>
>> # mmcli -m 1
>>
>> /org/freedesktop/ModemManager1/Modem/1 (device id
>> '780c6641e834ee1f72a5f2064c2ef5de3b0f5193')
>> -------------------------
>> Hardware | manufacturer: 'Sierra'
>> | model: 'MBIM [1199:9079]'
>> | revision: 'SWI9X30C_02.08.02.00'
>> | supported: 'gsm-umts, lte'
>> | current: 'gsm-umts, lte'
>> | equipment id: '<removed>'
>> -------------------------
>> System | device: '/sys/devices/pci0000:00/0000:
>> 00:14.0/usb1/1-2'
>> | drivers: 'cdc_mbim, qcserial'
>> | plugin: 'Sierra'
>> | primary port: 'cdc-wdm0'
>> | ports: 'ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0
>> (mbim), wwp0s20f0u2i12 (net)'
>> -------------------------
>> Numbers | own : '+<removed>'
>> -------------------------
>> Status | lock: 'none'
>> | unlock retries: 'sim-pin2 (3)'
>> | state: 'connected'
>> | power state: 'on'
>> | access tech: 'lte'
>> | signal quality: '35' (cached)
>> -------------------------
>> Modes | supported: 'allowed: 3g, 4g; preferred: none'
>> | current: 'allowed: 3g, 4g; preferred: none'
>> -------------------------
>> Bands | supported: 'unknown'
>> | current: 'unknown'
>> -------------------------
>> IP | supported: 'ipv4, ipv6, ipv4v6'
>> -------------------------
>> 3GPP | imei: '<removed>'
>> | enabled locks: 'fixed-dialing'
>> | operator id: '<removed>'
>> | operator name: '<removed>'
>> | subscription: 'unknown'
>> | registration: 'home'
>> -------------------------
>> SIM | path: '/org/freedesktop/ModemManager1/SIM/0'
>>
>> -------------------------
>> Bearers | paths: '/org/freedesktop/ModemManager1/Bearer/0'
>>
>>
>> 2017-02-04 22:43 GMT+01:00 Alex Pintilie <pintiliea81 at gmail.com>:
>>
>>> Hello again,
>>>
>>> after another reboot, the initial error message appeared again, which is:
>>>
>>> Couldn't check if unlock required: 'SIM not inserted'
>>>
>>>
>>> But I do get a new sim card status now:
>>>
>>> error: voltage-mismatch (4)
>>>
>>>
>>> Further reboots won't change this to "working". I tried so many steps, I
>>> can't remember why it worked in the first place.
>>>
>>> I'm grateful for any idea that I could try out.
>>>
>>> Regards,
>>> Alex P.
>>>
>>>
>>> (The full output below)
>>>
>>>
>>> # qmicli -d /dev/cdc-wdm0 --device-open-mbim --uim-get-card-status
>>>
>>> [/dev/cdc-wdm0] Successfully got card status
>>> Provisioning applications:
>>> Primary GW: session doesn't exist
>>> Primary 1X: session doesn't exist
>>> Secondary GW: session doesn't exist
>>> Secondary 1X: session doesn't exist
>>> Card [0]:
>>> Card state: 'error: voltage-mismatch (4)
>>> UPIN state: 'not-initialized'
>>> UPIN retries: '0'
>>> UPUK retries: '0'
>>>
>>>
>>>
>>>
>>>
>>> 2017-02-04 22:34 GMT+01:00 Alex Pintilie <pintiliea81 at gmail.com>:
>>>
>>>> Hello Aleksander,
>>>>
>>>> I was lucky, after a reboot it just worked. Yes the EM7455 is
>>>> integrated in the laptop. Thanks for making this stuff work!
>>>>
>>>>
>>>> I executed the commands you said, with the effect that the connection
>>>> stopped working and I had to restart the ModemManager.
>>>>
>>>>
>>>> I'll just insert the output here:
>>>>
>>>> -------------------------------------------
>>>>
>>>> # qmicli -d /dev/cdc-wdm0 --device-open-mbim --dms-uim-get-pin-status
>>>>
>>>> error: operation failed: MBIM error: Transaction timed out
>>>> error: couldn't release client: MBIM error: Transaction timed out**
>>>> Qmi:ERROR:qmi-device.c:3239:finalize: assertion failed:
>>>> (g_hash_table_size (self->priv->transactions) == 0)
>>>> Canceled
>>>>
>>>>
>>>> # systemctl stop ModemManager
>>>>
>>>> Feb 04 07:07:51 host ModemManager[757]: [/dev/cdc-wdm0] unexpected port
>>>> hangup!
>>>> Feb 04 07:07:51 host ModemManager[757]: [/dev/cdc-wdm0] unexpected port
>>>> hangup!
>>>> Feb 04 07:08:11 host ModemManager[757]: <warn> Disabling modems took
>>>> too long, shutting down with '1' modems around
>>>> Feb 04 07:08:11 host ModemManager[757]: <info> ModemManager is shut
>>>> down
>>>> Feb 04 07:08:11 host systemd[1]: Stopped Modem Manager.
>>>>
>>>>
>>>> # systemctl start ModemManager
>>>>
>>>> # qmicli -d /dev/cdc-wdm0 --device-open-mbim --uim-get-card-status
>>>>
>>>> [/dev/cdc-wdm0] Successfully got card status
>>>> Provisioning applications:
>>>> Primary GW: slot '0', application '0'
>>>> Primary 1X: session doesn't exist
>>>> Secondary GW: session doesn't exist
>>>> Secondary 1X: session doesn't exist
>>>> Card [0]:
>>>> Card state: 'present'
>>>> UPIN state: 'not-initialized'
>>>> UPIN retries: '0'
>>>> UPUK retries: '0'
>>>> Application [0]:
>>>> Application type: 'usim (2)'
>>>> Application state: 'ready'
>>>> Application ID:
>>>> <removed>
>>>> Personalization state: 'ready'
>>>> UPIN replaces PIN1: 'no'
>>>> PIN1 state: 'disabled'
>>>> PIN1 retries: '3'
>>>> PUK1 retries: '10'
>>>> PIN2 state: 'enabled-not-verified'
>>>> PIN2 retries: '3'
>>>> PUK2 retries: '10'
>>>> Application [1]:
>>>> Application type: 'isim (5)'
>>>> Application state: 'detected'
>>>> Application ID:
>>>> <removed>
>>>> Personalization state: 'unknown'
>>>> UPIN replaces PIN1: 'no'
>>>> PIN1 state: 'not-initialized'
>>>> PIN1 retries: '0'
>>>> PUK1 retries: '0'
>>>> PIN2 state: 'not-initialized'
>>>> PIN2 retries: '0'
>>>> PUK2 retries: '0'
>>>> error: couldn't release client: MBIM error: Transaction timed out**
>>>> Qmi:ERROR:qmi-device.c:3239:finalize: assertion failed:
>>>> (g_hash_table_size (self->priv->transactions) == 0)
>>>> Canceled
>>>>
>>>> # systemctl restart ModemManager
>>>>
>>>> 2017-01-24 11:00 GMT+01:00 Aleksander Morgado <aleksander at aleksander.es
>>>> >:
>>>>
>>>>> On Mon, Jan 23, 2017 at 11:35 PM, Alex Pintilie <pintiliea81 at gmail.com>
>>>>> wrote:
>>>>> >
>>>>> > if you can't help me with this no one can. I have a T460s Lenovo
>>>>> with Debian
>>>>> > and this EM7455 thing that refuses to work.
>>>>> >
>>>>> > I posted all the info I could find here:
>>>>> >
>>>>> > http://pastebin.com/1yzvTzit
>>>>> >
>>>>> > I use only one SIM card, which works OK with an USB external modem
>>>>> from
>>>>> > TP-Link, as proof that it works.
>>>>> >
>>>>> > Same SIM in the EM7455 doesn't work. It says "SIM not inserted".
>>>>> >
>>>>> >
>>>>> > Maybe I'm lucky and I'm just missing something obvious?
>>>>>
>>>>> Is the module integrated in the laptop? I wonder why you get the SIM
>>>>> not detected, which is what the modem is reporting:
>>>>>
>>>>> ModemManager[2508]: <debug> [1485208245.529656] [mm-iface-modem.c:266]
>>>>> load_unlock_required_ready(): Couldn't check if unlock required: 'SIM
>>>>> not inserted'
>>>>> ModemManager[2508]: <warn> [1485208245.529956]
>>>>> [mm-broadband-modem.c:9541] iface_modem_initialize_ready(): Modem
>>>>> couldn't be initialized: Couldn't check unlock status: SIM not
>>>>> inserted
>>>>> ModemManager[2508]: <info> [1485208245.530024]
>>>>> [mm-iface-modem.c:1431] __iface_modem_update_state_internal(): Modem:
>>>>> state changed (unknown -> failed)
>>>>>
>>>>>
>>>>> What's the output of:
>>>>>
>>>>> $ sudo qmicli -d /dev/cdc-wdm0 --device-open-mbim
>>>>> --dms-uim-get-pin-status
>>>>> $ sudo qmicli -d /dev/cdc-wdm0 --device-open-mbim --uim-get-card-status
>>>>>
>>>>> --
>>>>> Aleksander
>>>>> https://aleksander.es
>>>>>
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20170205/7fed118a/attachment-0001.html>
More information about the ModemManager-devel
mailing list