Unable to Start gpsd on i.MX8: GPSD Binding Issues and CGPS Connectivity Errors

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to Start gpsd on i.MX8: GPSD Binding Issues and CGPS Connectivity Errors

Jump to solution
457 Views
BrintoJames
Contributor II

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

Tags (3)
1 Solution
409 Views
BrintoJames
Contributor II

Thank you for your reply

I have added a recipe file for gpsd now I can successfully import gpsd.

View solution in original post

0 Kudos
Reply
3 Replies
421 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

410 Views
BrintoJames
Contributor II

Thank you for your reply

I have added a recipe file for gpsd now I can successfully import gpsd.

0 Kudos
Reply
436 Views
BrintoJames
Contributor II

My requirement is that I wanted to use gpsd in my python script like

"import gpsd"

0 Kudos
Reply