neige d'aoust

knowledge, art, and other stuff

User Tools

Site Tools


gobi2000

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gobi2000 [2025/03/07 15:43] Yukigobi2000 [2025/03/07 17:15] (current) Yuki
Line 62: Line 62:
  
 You should now be able to see NMEA data out of ''/dev/gps''. If it doesn't, try with another set of firmware. Then, you can use gpsd and sync time with ntp. You should now be able to see NMEA data out of ''/dev/gps''. If it doesn't, try with another set of firmware. Then, you can use gpsd and sync time with ntp.
 +
 +===== Location =====
  
 <code bash /etc/default/gpsd> <code bash /etc/default/gpsd>
Line 67: Line 69:
 DEVICES="/dev/gps" DEVICES="/dev/gps"
 </code> </code>
 +
 +<code bash>
 +sudo systemctl enable gpsd
 +sudo systemctl start gpsd
 +cgps -s
 +</code>
 +
 +FIXME //use geoclue to get google maps working?//
 +
 +===== Time =====
  
 <note important> <note important>
-If you're trying to sync time with ntp or chrony, this GPS does not support PPS signals, so while it can be accurate to the millisecond, it'probably not going to be more accurate as using NTP servers on the Internet.+If you're trying to sync time with ntp or chrony, be aware this GPS does not support PPS signals, so while it can be roughly accurate to within a second, it'definitely not going to be more accurate as using NTP servers on the Internet.
 </note> </note>
  
-FIXME //use geoclue to get google maps working?//+Start gpsd, then add something like this to your chrony.conf: 
 + 
 +<code - /etc/chrony.conf> 
 +refclock SHM 0 delay 0.0 refid NMEA 
 +</code> 
 + 
 +<code bash> 
 +sudo systemctl enable chronyd 
 +sudo systemctl start chronyd 
 +watch -n1 chronyc sources 
 +</code>
gobi2000.1741380182.txt.gz · Last modified: 2025/03/07 15:43 by Yuki