berthubert / galmon

galileo open source monitoring
GNU General Public License v3.0
200 stars 53 forks source link

Allowed ubxtool to listen to gpsd's gpspipe so that gpsd and galmon can co-exists #166

Open mahtin opened 8 months ago

mahtin commented 8 months ago

If you install gpsd then you can't open the serial device to run galmon. However, you a use the gpspipe command to see all the data stream.

This PR allows that. The code will fork/exec a copy of gpspipe and read it via a pipe.

Additionally, this code fixes a few older issue:

The only issue with running this code is that the device can't be talked too. That means you need to run ubxtool manually before gpsd runs so that the code can talk to the ublox device to set it up. This is similar to the need to setup ports and speeds. I did that and all is fine.

This is running code.