Files
pmaports-rtwo/device/community
Clayton Craft 57c75db149 soc-qcom: delay starting modem-gnss on boot
modem-gnss / qmicli depends on qrtr being up, or it fails on boot and
GPS doesn't work on this device:

 sargo systemd[1]: Starting Google Sargo (Pixel 3a) GNSS Modem Setup...
 sargo qmicli[1080]: error: node with id 0 not found in QRTR bus

Ideally there would be a path in /dev or sysfs so we could add a
ConditionPathExists= in the unit, but I tried hard to find something and
was unable to. Making modem-gnss depend on ModemManager seems to work
around this issue, since qrtr seems to always (in my testing) be up by
then. IIUC in the future we may not have to run qmicli to enable GPS, so
this patch is a workaround to fix a workaround.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7636>
2025-12-25 23:19:41 +00:00
..
2025-11-26 14:24:05 +01:00