QMI protocol error (3): 'Internal' when running dms-set-operating-mode

Bjørn Mork bjorn at mork.no
Sat Feb 7 13:28:00 PST 2015


Aleksander Morgado <aleksander at aleksander.es> writes:

> So... once the magic "DMS Set FCC Auth" command is sent to the
> Dell-branded modem (as Sierra's GobiNet driver does), the modem can
> directly go out of low-power mode:
>
>     $ sudo qmicli -d /dev/cdc-wdm1 --dms-get-operating-mode
>     [/dev/cdc-wdm1] Operating mode retrieved:
>         Mode: 'low-power'
>         HW restricted: 'no'
>
>     $ sudo qmicli -d /dev/cdc-wdm1 --dms-set-fcc-authentication
>     [/dev/cdc-wdm1] Successfully set FCC authentication
>
>     $ sudo qmicli -d /dev/cdc-wdm1 --dms-get-operating-mode
>     [/dev/cdc-wdm1] Operating mode retrieved:
>         Mode: 'online'
>         HW restricted: 'no'
>
> This is already in libqmi git master.

Fascinating.  Thanks for sorting this out. I believe that was the last
unknown LPM trigger?  (GOBIIM is "wrong image selected" for devices
supporting multiple images for different operators)


I don't know if I mentioned this before, but I have seen another Sierra
vendor specific DMS command in use too: The MC77xx firmware upgrader
will send 0x5556 a couple of times before switching to bootloader mode:

 >> 00000000: 01 0c 00 00 02 01 00 05 00 56 55 00 00

The reply seems to be standard version info, similar to the Get
Model/Get Revision commands, so I have no idea what the point is:

 << 00000000: 01 a8 00 80 02 01 02 05 00 56 55 9c 00 02 04 00
 << 00000010: 00 00 00 00 10 07 00 4d 43 37 37 31 30 00 11 40
 << 00000020: 00 53 57 49 39 32 30 30 58 5f 30 33 2e 30 30 2e
 << 00000030: 30 38 2e 30 32 42 54 20 52 33 37 31 35 20 43 41
 << 00000040: 52 4d 44 2d 45 4e 2d 31 30 35 32 36 20 32 30 31
 << 00000050: 31 2f 31 31 2f 31 34 20 31 38 3a 33 34 3a 34 31
 << 00000060: 00 12 40 00 53 57 49 39 32 30 30 58 5f 30 33 2e
 << 00000070: 30 30 2e 30 38 2e 30 32 41 50 20 52 33 37 31 35
 << 00000080: 20 43 41 52 4d 44 2d 45 4e 2d 31 30 35 32 36 20
 << 00000090: 32 30 31 31 2f 31 31 2f 31 34 20 31 38 3a 34 32
 << 000000a0: 3a 34 33 00 15 02 00 30 00

But it's there.  And now it's documented here :-)


Bjørn


More information about the libqmi-devel mailing list