DW5560 (Ericsson F5321) - GPS capability not available

Aleksander Morgado aleksander at aleksander.es
Fri Aug 4 15:12:57 UTC 2017


Hey!

>
> thank you very much, this is correct solution, I've just tested.
>
> After steps you recommended and enabling the modem:
>
> # mmcli -m 0 --location-status
>
> /org/freedesktop/ModemManager1/Modem/0
>   ----------------------------
>   Location |   capabilities: '3gpp-lac-ci, gps-raw, gps-nmea, gps-unmanaged'
>            |        enabled: '3gpp-lac-ci'
>            |        signals: 'no'
>   ----------------------------
>   GPS      |  refresh rate: '30'
>
> # mmcli -m 0 --location-enable-gps-nmea
> successfully setup location gathering
>
> # mmcli -m 0 --location-enable-gps-raw
> successfully setup location gathering
>
> # mmcli -m 0 --location-status
>
> /org/freedesktop/ModemManager1/Modem/0
>   ----------------------------
>   Location |   capabilities: '3gpp-lac-ci, gps-raw, gps-nmea, gps-unmanaged'
>            |        enabled: '3gpp-lac-ci, gps-raw, gps-nmea'
>            |        signals: 'no'
>   ----------------------------
>   GPS      |  refresh rate: '30'
>
> # mmcli -m 0 --location-get
>
> /org/freedesktop/ModemManager1/Modem/0
>   -------------------------
>   3GPP location   | Mobile country code: 'xxx'
>                   | Mobile network code: 'xxx'
>                   |  Location area code: 'xxxxx'
>                   |             Cell ID: 'xxxxxxxx'
>   -------------------------
>   GPS NMEA traces | $GPGGA,,,,,,0,0,,,M,,,,*1B
>                   | $GPGLL,,,,,000120.000,V,N*79
>                   | $GPGST,000120.000,,,,0,,,*7A
>                   | $GPGSV,1,1,00,,,,,,,,,,,,,,,,*79
>                   | $GPGSA,A,1,,,,,,,,,,,,,,,*1E
>                   | $GPRMC,000120.000,V,,,,,,,,,,N*4E
>   -------------------------
>   Raw GPS         | Not available
>   -------------------------
>   CDMA BS         | Not available
>
> After changes in my distribution udev rules it looks like this:
>
> -------
> # Dell 5560
> ATTRS{idVendor}=="413c", ATTRS{idProduct}=="818e",
> ENV{ID_MM_ERICSSON_MBM}="1"
>
> ATTRS{idVendor}=="413c", ATTRS{idProduct}=="818e",
> ENV{.MM_USBIFNUM}=="09", ENV{ID_MM_ERICSSON_MBM_GPS_PORT}="1"
> -----
>

Thanks for testing; pushed the change to git master and mm-1-6.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list