I have installed and followed the directions exactly for the GPS hat. I can get the raw data but when attempting to use gpsd I get the following message and then it crashes. Any ideas?
pi@raspberrypi:~ $ sudo systemctl stop gpsd.socket
pi@raspberrypi:~ $ sudo systemctl disable gpsd.socket
\pi@raspberrypi:~ $ sudo systemctl enable gpsd.socket
Created symlink /etc/systemd/system/sockets.target.wants/gpsd.socket \u2192 /lib/systemd/system/gpsd.socket.
pi@raspberrypi:~ $ sudo systemctl start gpsd.socket
Job for gpsd.socket failed.
See "systemctl status gpsd.socket" and "journalctl -xe" for details.
GPSD Not working
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: GPSD Not working
You really only want the first two commands since the idea is to disable the service:
https://learn.adafruit.com/adafruit-ult ... 1723496-18
Are you really wanting to enable it for some reason? If so, try running the suggested command:
and check that output for messages that indicate why it failed to start.
https://learn.adafruit.com/adafruit-ult ... 1723496-18
Are you really wanting to enable it for some reason? If so, try running the suggested command:
Code: Select all
systemctl status gpsd.socket
- baranski
- Posts: 3
- Joined: Sat May 11, 2013 7:53 pm
Re: GPSD Not working
Here's the errors as you requested
tcp://localhost:2947 JSON slave driver>
(82) {"class":"VERSION","release":"3.17","rev":"3.17","proto_major":3,"proto_min
or":12}
(172) {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyAMA0","act
ivated":"2021-08-19T18:09:41.354Z","native":0,"bps":9600,"parity":"N","stopbits"
:1,"cycle":1.00}]}
(122) {"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":2,"scaled":
false,"timing":false,"split24":false,"pps":true}
tcp://localhost:2947 JSON slave driver>
(82) {"class":"VERSION","release":"3.17","rev":"3.17","proto_major":3,"proto_min
or":12}
(172) {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyAMA0","act
ivated":"2021-08-19T18:09:41.354Z","native":0,"bps":9600,"parity":"N","stopbits"
:1,"cycle":1.00}]}
(122) {"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":2,"scaled":
false,"timing":false,"split24":false,"pps":true}
- baranski
- Posts: 3
- Joined: Sat May 11, 2013 7:53 pm
Re: GPSD Not working
I get this message when installing gpsd clients python-gps-
@raspberrypi:~ $ sudo apt-get install gpsd gpsd-clients python-gps-
Reading package lists... Done
Building dependency tree
Reading state information... Done
gpsd is already the newest version (3.17-7+b1).
gpsd-clients is already the newest version (3.17-7+b1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gpsd-clients : Depends: python-gps but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
@raspberrypi:~ $ sudo apt-get install gpsd gpsd-clients python-gps-
Reading package lists... Done
Building dependency tree
Reading state information... Done
gpsd is already the newest version (3.17-7+b1).
gpsd-clients is already the newest version (3.17-7+b1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gpsd-clients : Depends: python-gps but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/