DW5560 (Ericsson F5321) - GPS capability not available
Aleksander Morgado
aleksander at aleksander.es
Fri Aug 4 13:00:00 UTC 2017
Hey,
>
> on Dell E6430 with DW5560 (Ericsson F5321) card installed, I can use
> mmcli to correctly connect to the internet, it works pretty nice :)
>
> However I am not able to control modem GPS capabilities through MM.
> Previously I enabled GPS NMEA stream through wvdial conf like this:
>
> [Dialer gps]
> Modem = /dev/ttyACM0
> Init1 = AT*E2GPSCTL=1,2,1
> Init2 = AT*E2GPSNPD
>
> After I could read the stream on /dev/ttyACM0 and hook ie. gpsd to it.
>
> However mmcli does not show the GPS capabilities before or after running
> this command (or running the wvdial gps and restarting/reruning-search
> in mmcli), also I've tried to switch modes by "options cdc_ncm
> prefer_mbim=N" (or =Y), without success.
>
> # mmcli -m 0 --location-status
>
> /org/freedesktop/ModemManager1/Modem/0
> ----------------------------
> Location | capabilities: '3gpp-lac-ci'
> | enabled: '3gpp-lac-ci'
> | signals: 'no'
>
> Device is identified as "Bus 004 Device 003: ID 413c:818e Dell Computer
> Corp." Revision (by mmcli -m 0) is "R3C11" (R3C11/R4D02 i suppose)
> Partial device identification as follows:
>
> # mmcli -m 0
>
> /org/freedesktop/ModemManager1/Modem/0 (device id '--censored--')
> -------------------------
> Hardware | manufacturer: 'Dell'
> | model: 'DW5560'
> | revision: 'R3C11'
> | supported: 'gsm-umts'
> | current: 'gsm-umts'
> | equipment id: '--censored--'
> -------------------------
> System | device:
> '/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.6'
> | drivers: 'cdc_acm, cdc_ncm, cdc_wdm'
> | plugin: 'Ericsson MBM'
> | primary port: 'ttyACM1'
> | ports: 'ttyACM1 (at), cdc-wdm0 (at), cdc-wdm1
> (at), wwp0s29u1u6i6 (net), ttyACM2 (at), ttyACM0 (at)'
>
> Can you advise on how to get the gps capability shown and enabled?
>
> I'm using these versions of packages (Debian Stretch with sid aptitude
> list):
>
> 1.18.0-2 libqmi-glib5:amd64
> 1.18.0-2 libqmi-proxy
> 1.18.0-2 libqmi-utils
> 1.10.2-2 libqmi-glib1:amd64
> 1.6.8-1 gir1.2-modemmanager-1.0:amd64
> 1.6.8-1 modemmanager
> 1.6.8-1 modemmanager-dev:amd64
>
The 1.6.8 version should support GPS management as long as the GPS
data port is flagged correctly via udev rules.
Try to edit this file and add the GPS_PORT rule (look for the 5560
section and just add one line below)
$ vim /lib/udev/rules.d/77-mm-ericsson-mbm.rules
# 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"
Then:
$ sudo udevadm control --reload
$ sudo udevadm trigger
And restart ModemManager
I have no idea if the "09" interface is the one for the GPS port, but
all the other Dell modems seem to use that one.
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list