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

Bartosz Nitkiewicz bartosz at nitkiewicz.eu
Fri Jul 10 10:32:17 PDT 2015


Dnia 2015-07-10, piÄ… o godzinie 18:00 +0200, Aleksander Morgado pisze:
> 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.
> 
Thank you for quick replay. Your suggestion lead me to this blog post:
http://www.0xf8.org/2015/06/dell-wireless-5809e-support-in-opensuse-13
-2/
And one config form github: https://github.com/daniviga/latitude5450
I've created 99-dell8805.rules for my modem:

 ACTION!="add|change", GOTO="mbim_to_qmi_rules_end"
 SUBSYSTEM!="usb|drivers", GOTO="mbim_to_qmi_rules_end"

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

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

 # 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 it works well.
Thank you again!


More information about the ModemManager-devel mailing list