This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| gobi2000 [2025/03/07 15:43] – Yuki | gobi2000 [2025/03/07 17:15] (current) – Yuki | ||
|---|---|---|---|
| Line 62: | Line 62: | ||
| You should now be able to see NMEA data out of ''/ | You should now be able to see NMEA data out of ''/ | ||
| + | |||
| + | ===== Location ===== | ||
| <code bash / | <code bash / | ||
| Line 67: | Line 69: | ||
| DEVICES="/ | DEVICES="/ | ||
| </ | </ | ||
| + | |||
| + | <code bash> | ||
| + | sudo systemctl enable gpsd | ||
| + | sudo systemctl start gpsd | ||
| + | cgps -s | ||
| + | </ | ||
| + | |||
| + | 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' | + | If you're trying to sync time with ntp or chrony, |
| </ | </ | ||
| - | 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> | ||