Sierra Wireless (Dell Wireless 5570 HSPA+ (42Mbps) Mobile Broadband Card)

Bartosz Nitkiewicz bartosz at nitkiewicz.eu
Mon Jul 13 12:00:49 PDT 2015


Ok I found new udev rules for my modem:
ACTION!="add|change", GOTO="mbim_to_qmi_rules_end"
SUBSYSTEM!="usb|drivers", GOTO="mbim_to_qmi_rules_end"

# load qmi_wwan module
SUBSYSTEM=="usb", \
ATTR{idVendor}=="413c", ATTR{idProduct}=="81a31", \
RUN+="/sbin/modprobe -b qmi_wwan"

# force Dell WWAN 5809e to configuration #1
SUBSYSTEM=="usb", \
ATTR{idVendor}=="413c", ATTR{idProduct}=="81a3", \
ATTR{bConfigurationValue}="1"

# add the new id in the qmi_wwan driver
SUBSYSTEM=="drivers", \
ENV{DEVPATH}=="/bus/usb/drivers/qmi_wwan", \
ATTR{new_id}="413c 81a3"

# load qcserial module
SUBSYSTEM=="usb", \
ATTR{idVendor}=="413c", ATTR{idProduct}=="81b1", \
RUN+="/sbin/modprobe -b qcserial"

# add the new id in the qcserial driver
SUBSYSTEM=="drivers", \
ENV{DEVPATH}=="/bus/usb-serial/drivers/qcserial", \
ATTR{new_id}="413c 81a3"

LABEL="mbim_to_qmi_rules_end"

Now I have both, ttyUSB* and /dev/cdc-wdm0, but modem still won't register
to network.

Regards
Bartosz Nitkiewicz

2015-07-13 20:37 GMT+02:00 Bartosz Nitkiewicz <bartosz at nitkiewicz.eu>:

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



-- 
Bartosz Nitkiewicz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20150713/dcde703b/attachment-0001.html>


More information about the ModemManager-devel mailing list