09-02-2022, 09:16 AM
gpsd only works with --location-enable-gps-unmanaged as in the other modes the port gets grabbed for geoclue.
You should be able to put the commands for startup and shutdown into /etc/gpsd/device-hook to automate startup when the first gpsd client requests a connection, and shutdown when the last client disconnects. It won't help you if something is already using it via geoclue though.
I never had any luck with msa or msb. Could be carrier dependent?
https://gitlab.freedesktop.org/mobile-br...ge_size=20
You should be able to put the commands for startup and shutdown into /etc/gpsd/device-hook to automate startup when the first gpsd client requests a connection, and shutdown when the last client disconnects. It won't help you if something is already using it via geoclue though.
I never had any luck with msa or msb. Could be carrier dependent?
https://gitlab.freedesktop.org/mobile-br...ge_size=20