I would like to get navit to work. navit uses gpsd and that conflicts with gnss-share. Before I continue with navit, I first have build a possible solution that works with cgps for testing.
My Idea is: (“ok” means already exists, “try” means I have tried to to it)
- ok: kernel: /dev/gnss0 (to be used only by for gnss-share.service)
- ok: gnss-share.service: /var/run/gnss-share.sock
- try: gnss2GPSD.service: /dev/ttyGPSD (to be used only by GPSD2pppd.service)
- try: GPSD2pppd.service: pppd (modified /dev/ttyGPSD from gpsd on port 2947)
I have created a script gnss4gpsd, that implements the idea described. If you want to try:
git clone https://salsa.debian.org/debian/librem5-setup.git
cd librem5-setup
apt-get install shellia
./gnss4gpsd -i --setup
It seems to work for me. But I am not sure if this is the correct way.
- Is it wanted to have both gnss-share and gpsd ? Or are there other reasons, that this should not be done ? For example, would it be better if navit would be modified to use /var/run/gnss-share.sock ?
- Does it also work for you ?
- What should be improved ?