Huawei ME906S: Trying to fix GPS support

Stanislav Brabec sbrabec at suse.com
Mon Aug 3 21:37:15 UTC 2020


Thanks for your hints. Now I am able to make GPS working:

1) The regression between openSUSE 15.0 and 15.2 was caused by udev:

I commented out this rule:

/usr/lib/udev/rules.d/40-usb_modeswitch.rules
Huawei ME906, ME909 (MBIM, dummy config)
#ATTR{idVendor}=="12d1", ATTR{idProduct}=="15c1", RUN+="usb_modeswitch
'/%k'"

I am not sure, why udev developers added it, as the modem works
perfectly out of the box.

2) Tag the modem in the ModelManager:

/usr/lib/udev/rules.d/77-mm-huawei-net-port-types.rules
# GPS NMEA port on ME906s
SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="ff",
ATTRS{bInterfaceSubClass}=="06", ATTRS{bInterfaceProtocol}=="14",
ENV{ID_MM_PORT_TYPE_GPS}="1"

Now "mmcli -m 0 --location-get" shows my location.

Only modem-manager-gui still shows 0,000/0,000/0,000 (in cs_CZ.UTF-8
locale, or 0.000/0.000/0.000 in C locale.)

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                         e-mail: sbrabec at suse.com
Křižíkova 148/34 (Corso IIa)                    tel: +420 284 084 060
186 00 Praha 8-Karlín                          fax:  +420 284 084 001
Czech Republic                                    http://www.suse.cz/
PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76



More information about the ModemManager-devel mailing list