Skip to content

Fixes for enabling ModemManager GPS on non-enabled modem for some modem models

This MR is based on top of @tpikonen !173 (merged) but contains fixes for a regression on my setup where after a suspend/resume cycle GPS traces stop coming once the modem gets unlocked.

This is caused by the ModemManager location interface being re-created when modem is re-initialized. Due to this, a re-connection to this interface by Geoclue is necessary in this case.

There are also some TODO comments for future reference where we are missing things for proper multi-modem support.

Tested on a HP hs2350 with Valgrind.

Merge request reports