[Gta04-owner] gpsd software

Neil Jerram neil at ossau.homelinux.net
Sun Dec 4 01:28:05 CET 2011


I just wanted to point out that the latest gpsd (3.x) has a nice feature
that I believe allows providing GPS on demand with no need for an
"enable GPS" switch or something like "fsoraw -r GPS ...".

That is, it calls a hook script (/etc/gpsd/device-hook $DEVICE ACTIVATE)
when the first client connects on the gpsd port, and similarly
((/etc/gpsd/device-hook $DEVICE DEACTIVATE) when the last client
disconnects from that port.

For GTA04, I think that means we can put the commands to enable and
disable GPS power into that script, and then just run gpsd all the time.

gpsd 3.x is currently in Debian experimental, but I presume it will find
its way into testing before too long.

Regards,
        Neil


More information about the Gta04-owner mailing list