×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Something wrong with GPSD configuration

  • Posts: 281
  • Thank you received: 29
to be honest, I do not really understand what it means :-(

I have been trying to find the logs, and checked a couple of websites to get my head around, including looking into syslog files, but got lost.

If I run "cgps", this is what I am getting - any other ideas on what I could try?
5 years 2 months ago #35151
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 983
  • Thank you received: 375
Kill gpsd and run it in a terminal with -N option (plus all options from config file) i.e.
gpsd -b -n -N -D 4 /dev/ttyAMA0
Last edit: 5 years 2 months ago by Radek Kaczorek.
5 years 2 months ago #35152

Please Log in or Create an account to join the conversation.

  • Posts: 281
  • Thank you received: 29
this is what I am getting...

first I entered the line as suggested, and received a couple of error messages

then checked systemctl status gpsd
5 years 2 months ago #35153
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 281
  • Thank you received: 29
another screenshot, with more messages
5 years 2 months ago #35156
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 983
  • Thank you received: 375
gpsd is not killed and is blocking the port. You can use other port to overcome this with option -S
gpsd -b -n -N -D 4 -S 12947 /dev/ttyAMA0
5 years 2 months ago #35157

Please Log in or Create an account to join the conversation.

  • Posts: 281
  • Thank you received: 29
Dear Radek,

in a way, things seem improving, at least I can see the time...but still no position data...(i.e. no fix)

Attached, please find the output when entering the command as suggested, in addition what I see on gpsmon.

One thing I still wonder about: the gpsd file stored under /etc/default : what should be included? I commented out (with #) those lines that initiate to start the GPSD daemon upon boot as well as the sentence on USB hotplugging. Is that right? Maybe this has been causing the blocking of the port?
5 years 2 months ago #35160
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 983
  • Thank you received: 375
I think you just don't get a fix. Try this out outside. Leave it there for long time to test.
Your gpsd configuration posted previously looks ok. I wouldn't change it
5 years 2 months ago #35172

Please Log in or Create an account to join the conversation.

  • Posts: 118
  • Thank you received: 19
Helge,
I had a similar issue on a laptop with my GPS dongle, the page below sorted it for me,

raspberrypi.stackexchange.com/questions/28483/cgps-gps-timeout

Amend the /etc/default/gpsd file to read

DEVICES="/dev/ttyUSB0"

All working fine now

Regards

Alan
The following user(s) said Thank You: Helge
5 years 2 months ago #35184

Please Log in or Create an account to join the conversation.

  • Posts: 281
  • Thank you received: 29
Many thanks for sharing, still no luck. Will keep on trying!
5 years 2 months ago #35233

Please Log in or Create an account to join the conversation.

  • Posts: 281
  • Thank you received: 29
All fine, ultimately got a „fix“. Looks like all the settings were fine. To figure out, I was walking around in the neighborhood with parts of my equipment, and a bit further away from buildings, I got the desired „fix“. Probably people were wondering, what the strange guy is doing! :-)
5 years 2 months ago #35427

Please Log in or Create an account to join the conversation.

  • Posts: 118
  • Thank you received: 19
Helge,
Glad you got it working, I have 2 GPS units one ( old style Pharos GPS500 ) will connect and work correctly straight out of the box, the other a ND-100S will connect but not work unless I alter the Devices settings in the ~/etc/default/gpsd, file, why it requires that change I don't know, but the ND-100s is now working fine after reading that thread.

Clear skies

Alan
5 years 1 month ago #35505

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 0
Hi

Could you detail a little what your solution is?

I am using a pi zero (soldered header) with a waveshare gprs hat

I cannot for the life of me get gpsd to work and give a response.
4 years 11 months ago #39222

Please Log in or Create an account to join the conversation.

Time to create page: 0.474 seconds