Hey,

> 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.
>

That's a *USB modeswitch* rule, not installed by udev. The USB
modeswitch project will always prefer MBIM if possible, because it
requires less vendor-specific things to make things work. E.g. your
modem could be managed by libmbim+mbimcli right away if it was running
in MBIM mode.

> 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"
>

Would you be able to post that new udev rule as a merge request?

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

Good!

> 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.)
>

modem-manager-gui is really a different project that makes use of the
ModemManager APIs, it's not maintained here. Although I'm not sure the
developer is around in the mailing list?

-- 
Aleksander
https://aleksander.es
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to