<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Raspberry Pi Buster &#8211; GPS Dongle as a time source with Chrony &#038; Timedatectl	</title>
	<atom:link href="https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/feed/" rel="self" type="application/rss+xml" />
	<link>https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/</link>
	<description>Freelance Technical Author, Illustrator &#38; Photographer</description>
	<lastBuildDate>Mon, 13 Jan 2025 00:57:19 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>
	<item>
		<title>
		By: Mike Richards		</title>
		<link>https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-567564</link>

		<dc:creator><![CDATA[Mike Richards]]></dc:creator>
		<pubDate>Mon, 13 Jan 2025 00:57:19 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1746#comment-567564</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-567537&quot;&gt;Chuck&lt;/a&gt;.

Hi Chuck,

I&#039;m sure you&#039;re correct but I haven&#039;t reviewed this post for a long time. When I get a spare moment, I&#039;ll check the instructions on a Pi 5 and update the installation steps.

Thanks for letting me know.

Mike - G4WNC]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-567537">Chuck</a>.</p>
<p>Hi Chuck,</p>
<p>I&#8217;m sure you&#8217;re correct but I haven&#8217;t reviewed this post for a long time. When I get a spare moment, I&#8217;ll check the instructions on a Pi 5 and update the installation steps.</p>
<p>Thanks for letting me know.</p>
<p>Mike &#8211; G4WNC</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Chuck		</title>
		<link>https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-567537</link>

		<dc:creator><![CDATA[Chuck]]></dc:creator>
		<pubDate>Sun, 12 Jan 2025 19:29:02 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1746#comment-567537</guid>

					<description><![CDATA[Thanks.
My Raspberry PI5 now sets time from GPS.
Great tutorial.
One note though
I did not include these two items, python-gps chrony python-gi-cairo, since they don&#039;t seem to exist for PI5.  Other than that, the tutorial is spot on. Worked first time!
Thanks for a painless afternoon.]]></description>
			<content:encoded><![CDATA[<p>Thanks.<br />
My Raspberry PI5 now sets time from GPS.<br />
Great tutorial.<br />
One note though<br />
I did not include these two items, python-gps chrony python-gi-cairo, since they don&#8217;t seem to exist for PI5.  Other than that, the tutorial is spot on. Worked first time!<br />
Thanks for a painless afternoon.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Lonney		</title>
		<link>https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-499047</link>

		<dc:creator><![CDATA[Lonney]]></dc:creator>
		<pubDate>Wed, 24 Apr 2024 15:56:12 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1746#comment-499047</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-489488&quot;&gt;Lonney&lt;/a&gt;.

I figured out the problem with this, this is how I solved it:

Plug the GPS in

sudo dmesg

Note the /dev/ttyUSBx device name the GPS was mounted with.

ls -l /dev/serial/by-id/

Note the name of the link pointing to the /dev/ttyUSBx device name.

sudo apt-get install gpsd gpsd-clients

Edit /etc/default/gpsd to match

START_DAEMON=&quot;false&quot;
USBAUTO=&quot;false&quot;
DEVICES=&quot;/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller_D-if00-port0&quot;
GPSD_OPTIONS=&quot;-n -G -b&quot;
GPSD_SOCKET=&quot;/var/run/gpsd.sock&quot;

DEVICES matches the GPS serial link name, one line.

USBAUTO=&quot;false&quot; disables hot plugging. If enabled (true) gpsd will attempt to get GPS data from any serial device that is connected and prevents other applications from accessing the port, including the radio USB port!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-489488">Lonney</a>.</p>
<p>I figured out the problem with this, this is how I solved it:</p>
<p>Plug the GPS in</p>
<p>sudo dmesg</p>
<p>Note the /dev/ttyUSBx device name the GPS was mounted with.</p>
<p>ls -l /dev/serial/by-id/</p>
<p>Note the name of the link pointing to the /dev/ttyUSBx device name.</p>
<p>sudo apt-get install gpsd gpsd-clients</p>
<p>Edit /etc/default/gpsd to match</p>
<p>START_DAEMON=&#8221;false&#8221;<br />
USBAUTO=&#8221;false&#8221;<br />
DEVICES=&#8221;/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller_D-if00-port0&#8243;<br />
GPSD_OPTIONS=&#8221;-n -G -b&#8221;<br />
GPSD_SOCKET=&#8221;/var/run/gpsd.sock&#8221;</p>
<p>DEVICES matches the GPS serial link name, one line.</p>
<p>USBAUTO=&#8221;false&#8221; disables hot plugging. If enabled (true) gpsd will attempt to get GPS data from any serial device that is connected and prevents other applications from accessing the port, including the radio USB port!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Lonney		</title>
		<link>https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-489488</link>

		<dc:creator><![CDATA[Lonney]]></dc:creator>
		<pubDate>Mon, 12 Feb 2024 02:39:15 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1746#comment-489488</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-361111&quot;&gt;Roger&lt;/a&gt;.

I had the same issue. Rig on /dev/ttyUSB0 and GPS on /dev/ttyUSB1, the problem seems to be when gpsd starts on system boot it locks up /dev/ttyUSB0 and the radio wont work. I found restarting gpsd would fix it, or another possibility might be to let gpsd use USB0, and configure the radio on USB1.

You can see which dev has been assigned by looking at dmsg output after connecting the device.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-361111">Roger</a>.</p>
<p>I had the same issue. Rig on /dev/ttyUSB0 and GPS on /dev/ttyUSB1, the problem seems to be when gpsd starts on system boot it locks up /dev/ttyUSB0 and the radio wont work. I found restarting gpsd would fix it, or another possibility might be to let gpsd use USB0, and configure the radio on USB1.</p>
<p>You can see which dev has been assigned by looking at dmsg output after connecting the device.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Roger		</title>
		<link>https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-361111</link>

		<dc:creator><![CDATA[Roger]]></dc:creator>
		<pubDate>Sun, 26 Jun 2022 16:57:17 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1746#comment-361111</guid>

					<description><![CDATA[Hi Mike

Installed GPS as per your instructions and seems to work fine.  However, a direct side-effect of installing the GPS software is that Flrig is now unable to communicate with my IC7100.
This appears to be caused by a USB conflict, but not sure how to resolve it.  Have you encountered this issue and can you suggest a resolution? 

73 de Roger.]]></description>
			<content:encoded><![CDATA[<p>Hi Mike</p>
<p>Installed GPS as per your instructions and seems to work fine.  However, a direct side-effect of installing the GPS software is that Flrig is now unable to communicate with my IC7100.<br />
This appears to be caused by a USB conflict, but not sure how to resolve it.  Have you encountered this issue and can you suggest a resolution? </p>
<p>73 de Roger.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Didier B		</title>
		<link>https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-306962</link>

		<dc:creator><![CDATA[Didier B]]></dc:creator>
		<pubDate>Wed, 16 Mar 2022 14:15:49 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1746#comment-306962</guid>

					<description><![CDATA[Used this with Raspi OS 64. Everything is going fine, python-gi-cairo can no longer be found, but doesn&#039;t prevent xgps to work. Probably integrated in Debian 64 at last ...
The only little issue I met, is that after a reboot, I will first get in answer to the &#039;chronyc sources -v&#039; command the following  : &#039;#? NMEA ...&#039; repeatedly until I use a gpsd client, e.G. cgps, then I will  find the so awaited for &#039;#* NMEA ...&#039;
Even interrogating &#039;sudo systemctl is-active gpsd&#039; is enough to make everything all right. 
Most probably the source of the issue is in gpsd itself, as I had allready seen the same phenomena in OpenCPN (need to launch a gpsd client before getting any NMEA data in OpenCPN]]></description>
			<content:encoded><![CDATA[<p>Used this with Raspi OS 64. Everything is going fine, python-gi-cairo can no longer be found, but doesn&#8217;t prevent xgps to work. Probably integrated in Debian 64 at last &#8230;<br />
The only little issue I met, is that after a reboot, I will first get in answer to the &#8216;chronyc sources -v&#8217; command the following  : &#8216;#? NMEA &#8230;&#8217; repeatedly until I use a gpsd client, e.G. cgps, then I will  find the so awaited for &#8216;#* NMEA &#8230;&#8217;<br />
Even interrogating &#8216;sudo systemctl is-active gpsd&#8217; is enough to make everything all right.<br />
Most probably the source of the issue is in gpsd itself, as I had allready seen the same phenomena in OpenCPN (need to launch a gpsd client before getting any NMEA data in OpenCPN</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JohnM		</title>
		<link>https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-304541</link>

		<dc:creator><![CDATA[JohnM]]></dc:creator>
		<pubDate>Tue, 08 Mar 2022 16:03:32 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1746#comment-304541</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-304540&quot;&gt;JohnM&lt;/a&gt;.

reflock, oh, should be refclock!!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-304540">JohnM</a>.</p>
<p>reflock, oh, should be refclock!!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JohnM		</title>
		<link>https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-304540</link>

		<dc:creator><![CDATA[JohnM]]></dc:creator>
		<pubDate>Tue, 08 Mar 2022 16:00:17 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1746#comment-304540</guid>

					<description><![CDATA[Hi Mike, thanks for the tutorial!  I have cgps working, chronyd and gspd active, but only as long as I don&#039;t have the reflock line in chrony.conf.  I am having an issue when I add the reflock line to the /etc/chrony/chrony.conf file. It tags the reflock line as &quot;invalid directive&quot;, whatever that means.  
My /run/gspd.sock file is empty, always. What is the purpose of this file? What should it contain?
My device is a USB dongle by TSI (GM-3N) based upon the MTK MT3333 chip. It does not support PPS outputs via NMEA (firmware is too old).]]></description>
			<content:encoded><![CDATA[<p>Hi Mike, thanks for the tutorial!  I have cgps working, chronyd and gspd active, but only as long as I don&#8217;t have the reflock line in chrony.conf.  I am having an issue when I add the reflock line to the /etc/chrony/chrony.conf file. It tags the reflock line as &#8220;invalid directive&#8221;, whatever that means.<br />
My /run/gspd.sock file is empty, always. What is the purpose of this file? What should it contain?<br />
My device is a USB dongle by TSI (GM-3N) based upon the MTK MT3333 chip. It does not support PPS outputs via NMEA (firmware is too old).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: David		</title>
		<link>https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-297477</link>

		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Sun, 13 Feb 2022 09:53:18 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1746#comment-297477</guid>

					<description><![CDATA[This helped a lot! Especially the part about commenting out &quot;START_DAEMON&quot; and simply adding &quot;refclock SHM 0 offset 0.5 delay 0.2 refid NMEA&quot; to chrony&#039;s config did the trick!]]></description>
			<content:encoded><![CDATA[<p>This helped a lot! Especially the part about commenting out &#8220;START_DAEMON&#8221; and simply adding &#8220;refclock SHM 0 offset 0.5 delay 0.2 refid NMEA&#8221; to chrony&#8217;s config did the trick!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sean Mac Suibhne		</title>
		<link>https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/#comment-278570</link>

		<dc:creator><![CDATA[Sean Mac Suibhne]]></dc:creator>
		<pubDate>Fri, 17 Dec 2021 16:33:02 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1746#comment-278570</guid>

					<description><![CDATA[Sorry I see I introduced a typo there at the end of the third line. 
Replace the ? with a &quot;
# START_DAEMON=”true” ( Comment this line out )
USBAUTO=”true”
DEVICES=”/dev/ttyACM0&quot; 
GPSD_OPTIONS=”-n”]]></description>
			<content:encoded><![CDATA[<p>Sorry I see I introduced a typo there at the end of the third line.<br />
Replace the ? with a &#8221;<br />
# START_DAEMON=”true” ( Comment this line out )<br />
USBAUTO=”true”<br />
DEVICES=”/dev/ttyACM0&#8243;<br />
GPSD_OPTIONS=”-n”</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using Disk: Enhanced 

Served from: photobyte.org @ 2025-07-01 02:42:59 by W3 Total Cache
-->