How I can Understand my GPS device is working running by gpsd deamon
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The simplest thing I'd do is to stop the GPS daemon, and see what data is coming out of the /dev/ttyS0 port.
Looks like the port was set up for 4800, looks like it tried 9600 and then set back for 4800.
stty -F/dev/ttyS0 will show you what the port is set for and likely it is still set for 4800.
cat /dev/ttyS0 will show you the data on that port. It should be normal NMEA GPS packets, $GPRMC ..., $GPGSV ..., $GPGGA ...; and you'll have to grab a NMEA spec online to explain to you what these packets mean. Basically if they show data like, 18160401.000,4317.4568,N,7130.3563,W, then that's the time and coordinates. If you see $GPRMC,,,,,,,*xx, then it doesn't have a fix. But it is working, and it may not have a fix if the antenna is blocked from viewing satellites.
If you see NMEA packets with little or not content, working, but no signal fix.
If you don't see any data at all, it may be working, but improperly talking to your computer, either because you have incorrect port settings, the port driver is not properly discovering your device, or it may not be working at all. Based on the log you've shown here, it appears to be working at 4800 bps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.