I am using an i.MX8 board with a GPS module connected to /dev/ttyLP3. When I try to start gpsd with the command:
root@kontron-samx8x:~# sudo gpsd /dev/ttyLP3 -n -N -D 3
gpsd:INFO: launching (Version 3.19)
gpsd:ERROR: can't bind to IPv4 port gpsd, Address already in use
gpsd:ERROR: maybe gpsd is already running!
gpsd:ERROR: can't bind to IPv6 port gpsd, Address already in use
gpsd:ERROR: maybe gpsd is already running!
gpsd:INFO: command sockets creation failed, netlib errors -1, -1
However, running cgps -s command gives me a null table
Could any one please help me to solve this?
Regards
Brinto
Solved! Go to Solution.
Thank you for your reply
I have added a recipe file for gpsd now I can successfully import gpsd.
Hello,
Please run the following command to check if gpsd is already running:
ps aux | grep gpsd
If you see a gpsd process running, note its PID and stop it using:
kill <PID>
or
systemctl stop gpsd
Best Regards,
Zhiming
Thank you for your reply
I have added a recipe file for gpsd now I can successfully import gpsd.
My requirement is that I wanted to use gpsd in my python script like
"import gpsd"