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