<div dir="ltr"><div><div><div>Ok. I have almost working modem. It won't register to network. Power state is always on:<br><br>/org/freedesktop/ModemManager1/Modem/0 (device id '1ae86b07c8ac5ac1ce60dfa8021538c140b92646')<br>  -------------------------<br>  Hardware |   manufacturer: 'Sierra Wireless, Incorporated'<br>           |          model: 'MC8805'<br>           |       revision: 'SWI9X15C_05.05.47.00 r24787 carmd-fwbuild1 2014/09/25 08:39:40'<br>           |      supported: 'gsm-umts, lte'<br>           |        current: 'gsm-umts, lte'<br>           |   equipment id: '355605050324851'<br>  -------------------------<br>  System   |         device: '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-7'<br>           |        drivers: 'qcserial'<br>           |         plugin: 'Gobi'<br>           |   primary port: 'ttyUSB2'<br>           |          ports: 'ttyUSB0 (qcdm), ttyUSB2 (at)'<br>  -------------------------<br>  Numbers  |           own : '+48666459757'<br>  -------------------------<br>  Status   |           lock: 'none'<br>           | unlock retries: 'unknown'<br>           |          state: 'enabled'<br>           |    power state: 'on'<br>           |    access tech: 'unknown'<br>           | signal quality: '0' (cached)<br>  -------------------------<br>  Modes    |      supported: 'allowed: 2g, 3g, 4g; preferred: none'<br>           |        current: 'allowed: 2g, 3g, 4g; preferred: none'<br>  -------------------------<br>  Bands    |      supported: 'unknown'<br>           |        current: 'unknown'<br>  -------------------------<br>  IP       |      supported: 'ipv4, ipv6, ipv4v6'<br>  -------------------------<br>  3GPP     |           imei: '355605050324851'<br>           |  enabled locks: 'none'<br>           |    operator id: 'unknown'<br>           |  operator name: 'unknown'<br>           |   subscription: 'unknown'<br>           |   registration: 'idle'<br>  -------------------------<br>  SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'<br><br>  -------------------------<br>  Bearers  |          paths: 'none'<br><br></div>When I try to;<br>mmcli -m 0 --simple-connect="apn=intenet"<br><br></div>I have error: couldn't connect the modem: 'Timeout was reached'<br><br></div>Any hint<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-11 20:16 GMT+02:00 Bjørn Mork <span dir="ltr"><<a href="mailto:bjorn@mork.no" target="_blank">bjorn@mork.no</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm semi-offline at the moment, having only occasional gsm edge access... And I see that the post I was thinking of only contains the least interesting part of the equation.  It is focused on the (for me) new and exciting usb comp qmi messages.<br>
<br>
I do have more details on my laptop, but I won't have access to that for a few weeks.<br>
<br>
Anyway, here is a start (with a non obvious subject):<br>
<a href="http://lists.freedesktop.org/archives/libqmi-devel/2015-February/001104.html" rel="noreferrer" target="_blank">lists.freedesktop.org/archives/libqmi-devel/2015-February/001104.html</a><br>
<br>
Using the mbim service mentioned there to send the qmi fcc message Aleksander has documented in libqmi should make this modem work in mbim mode too.<br>
<br>
You might have more success than me googling.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Bjørn<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On July 11, 2015 6:31:06 PM CEST, Bartosz Nitkiewicz <<a href="mailto:bartosz@nitkiewicz.eu">bartosz@nitkiewicz.eu</a>> wrote:<br>
>Very interesting. Could you paste a link? I don't know where to find<br>
>it.<br>
>This modem is very problematic. Working fine but after reboot not<br>
>working<br>
>at all. Another reboot and once again mm could "see" it...<br>
>10 lip 2015 7:40 PM "Bjørn Mork" <<a href="mailto:bjorn@mork.no">bjorn@mork.no</a>> napisał(a):<br>
><br>
>> I'm pretty sure the fcc thing is possible with qmi embedded in mbim.<br>
>See<br>
>> my recent experments with the usb comp commands.<br>
>><br>
>> Testing it is pretty straight forward, since you only append your<br>
>prepared<br>
>> qmi messages to mbim. Or seeing it the other way:prepend an mbim<br>
>header to<br>
>> qmi messages.<br>
>><br>
>> It would be interesting to know whether this is the method used by<br>
>> windows, or if there is some more direct mbim service/cid for this.<br>
>So if<br>
>> anyone can snoop..<br>
>><br>
>><br>
>><br>
>> Bjørn<br>
>><br>
>> On July 10, 2015 6:00:05 PM CEST, Aleksander Morgado <<br>
>> <a href="mailto:aleksander@aleksander.es">aleksander@aleksander.es</a>> wrote:<br>
>> >On Fri, Jul 10, 2015 at 11:28 AM, Bartosz Nitkiewicz<br>
>> ><<a href="mailto:bartosz@nitkiewicz.eu">bartosz@nitkiewicz.eu</a>> wrote:<br>
>> >> I have problem with my modem. It can't connect or enable.<br>
>> >><br>
>> >>  mmcli -m 0<br>
>> >><br>
>> >> /org/freedesktop/ModemManager1/Modem/0 (device id<br>
>> >> '5c7d03243a4f66003876aab95834e2bbb9ca67ca')<br>
>> >>   -------------------------<br>
>> >>   Hardware |   manufacturer: 'Dell'<br>
>> >>            |          model: 'MBIM [413C:81A3]'<br>
>> >>            |       revision: 'SWI9X15C_05.05.47.00'<br>
>> >>            |      supported: 'gsm-umts'<br>
>> >>            |        current: 'gsm-umts'<br>
>> >>            |   equipment id: '355605050324851'<br>
>> >>   -------------------------<br>
>> >>   System   |         device:<br>
>> >'/sys/devices/pci0000:00/0000:00:14.0/usb2/2-7'<br>
>> >>            |        drivers: 'cdc_mbim'<br>
>> >>            |         plugin: 'Dell'<br>
>> >>            |   primary port: 'cdc-wdm1'<br>
>> >>            |          ports: 'wwp0s20u7c2i12 (net), cdc-wdm1<br>
>(mbim)'<br>
>> >>   -------------------------<br>
>> >>   Numbers  |           own : '48666459757'<br>
>> >>   -------------------------<br>
>> >>   Status   |           lock: 'none'<br>
>> >>            | unlock retries: 'sim-pin2 (3)'<br>
>> >>            |          state: 'disabled'<br>
>> >>            |    power state: 'low'<br>
>> >>            |    access tech: 'unknown'<br>
>> >>            | signal quality: '0' (cached)<br>
>> >>   -------------------------<br>
>> >>   Modes    |      supported: 'allowed: 2g, 3g; preferred: none'<br>
>> >>            |        current: 'allowed: 2g, 3g; preferred: none'<br>
>> >>   -------------------------<br>
>> >>   Bands    |      supported: 'unknown'<br>
>> >>            |        current: 'unknown'<br>
>> >>   -------------------------<br>
>> >>   IP       |      supported: 'ipv4, ipv6, ipv4v6'<br>
>> >>   -------------------------<br>
>> >>   3GPP     |           imei: '355605050324851'<br>
>> >>            |  enabled locks: 'fixed-dialing'<br>
>> >>            |    operator id: 'unknown'<br>
>> >>            |  operator name: 'unknown'<br>
>> >>            |   subscription: 'unknown'<br>
>> >>            |   registration: 'unknown'<br>
>> >>   -------------------------<br>
>> >>   SIM      |           path:<br>
>'/org/freedesktop/ModemManager1/SIM/0'<br>
>> >><br>
>> >>   -------------------------<br>
>> >>   Bearers  |          paths: 'none'<br>
>> >><br>
>> >><br>
>> >><br>
>> >>  mmcli -m 0 --enable<br>
>> >> error: couldn't enable the modem:<br>
>> >> 'GDBus.Error:org.freedesktop.libmbim.Error.Status.Failure:<br>
>Failure'<br>
>> >><br>
>> >> I found this<br>
>> >><br>
>> ><br>
>><br>
><a href="https://sigquit.wordpress.com/2015/02/09/dell-branded-sierra-wireless-3g4g-modem-not-online/" rel="noreferrer" target="_blank">https://sigquit.wordpress.com/2015/02/09/dell-branded-sierra-wireless-3g4g-modem-not-online/</a><br>
>> >> They said that it should be set to Mode: online. I can't do<br>
>anything<br>
>> >with it<br>
>> >> while modemmanager deamon is started. When I manualy stop it I<br>
>get:<br>
>> >><br>
>> >> sudo qmicli -d /dev/cdc-wdm1 --dms-get-operating-mode<br>
>> >> [10 Jul 2015, 11:27:27] -Warning ** [/dev/cdc-wdm1] QMI framing<br>
>error<br>
>> >> detected<br>
>> >> error: couldn't create client for the 'dms' service: CID<br>
>allocation<br>
>> >failed<br>
>> >> in the CTL client: Transaction timed out<br>
>> ><br>
>> >Your modem is using MBIM, not QMI, so you won't be able to use<br>
>qmicli.<br>
>> >I don't know yet how to do the FCC auth thing in MBIM; maybe it's<br>
>> >possible through QMI embedded in MBIM but didn't really test that<br>
>yet.<br>
>> >You could try to use usb_modeswitch to select USB configuration #1<br>
>in<br>
>> >the device, which should be QMI.<br>
>> ><br>
>> >--<br>
>> >Aleksander<br>
>> ><a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
>> >_______________________________________________<br>
>> >ModemManager-devel mailing list<br>
>> ><a href="mailto:ModemManager-devel@lists.freedesktop.org">ModemManager-devel@lists.freedesktop.org</a><br>
>> ><a href="http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel</a><br>
>><br>
>><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Bartosz Nitkiewicz<br></div></div>
</div>