Following the steps described here: https://gitlab.com/sdm670-mainline/linux/-/issues/4#note_2448131089 we can enable GNSS automatically at boot. Resolves: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2788 Signed-off-by: Alistair Francis <alistair@alistair23.me> Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6588
10 lines
178 B
Plaintext
10 lines
178 B
Plaintext
#!/sbin/openrc-run
|
|
name="Google Sargo (Pixel 3a) GNSS Modem Setup"
|
|
|
|
start()
|
|
{
|
|
qmicli -d qrtr://0 --loc-set-engine-lock=mt
|
|
qmicli -d qrtr://0 --loc-set-nmea-types=all
|
|
eend 0
|
|
}
|