disable the gps engine lock

This commit is contained in:
Daniel Barlow 2024-07-19 23:44:36 +01:00
parent 82635955fe
commit 09a57c4269
1 changed files with 3 additions and 0 deletions

View File

@ -139,6 +139,9 @@ SUBSYSTEM=="wwan", ENV{ID_MM_CANDIDATE}="1"
LABEL="mm_candidate_end"
# unlock the gps engine
SUBSYSTEM=="wwan", ENV{DEVNAME}=="/dev/wwan0qmi0", ENV{DEVTYPE}=="wwan_port", \
RUN+="${pkgs.libqmi}/bin/qmicli -pd $env{DEVNAME} --loc-set-engine-lock=none"
'';
systemd.services.ModemManager = {