View topic - ntpd versus rtc
ntpd versus rtc
3 posts
• Page 1 of 1
ntpd versus rtc
Hi all,
is it possible to let qnx ntpd interact with rtc?
My QNX System is not connected to the web all the time.
If ntpd has synchronized the system time from a time server in the web,
I want to set the rtc with this accurate time.
If the system is offline, I want to synchronize the system time with the
rtc.
Is this possible?
If yes, how to connect the rtc to the ntpd?
Must I provide a resource manager, providing something like "/dev/rtc"?
Thanks in advance
Michael
is it possible to let qnx ntpd interact with rtc?
My QNX System is not connected to the web all the time.
If ntpd has synchronized the system time from a time server in the web,
I want to set the rtc with this accurate time.
If the system is offline, I want to synchronize the system time with the
rtc.
Is this possible?
If yes, how to connect the rtc to the ntpd?
Must I provide a resource manager, providing something like "/dev/rtc"?
Thanks in advance
Michael
- txdoesker
- New Member
- Posts: 2
- Joined: Tue Dec 11, 2007 3:04 pm
Re: ntpd versus rtc
"Michael Tasche" <michael.tasche@esd-electronics.com> wrote in message
news:gpnm65-l7p.ln1@comm.esd...
I'm not familliar with nptd but just setup a cron job to call "rtc -s hw" at
regular interval.
news:gpnm65-l7p.ln1@comm.esd...
Hi all,
is it possible to let qnx ntpd interact with rtc?
My QNX System is not connected to the web all the time.
If ntpd has synchronized the system time from a time server in the web, I
want to set the rtc with this accurate time.
If the system is offline, I want to synchronize the system time with the
rtc.
Is this possible?
If yes, how to connect the rtc to the ntpd?
Must I provide a resource manager, providing something like "/dev/rtc"?
I'm not familliar with nptd but just setup a cron job to call "rtc -s hw" at
regular interval.
Thanks in advance
Michael
- Mario Charest
Re: ntpd versus rtc
ntpd will "discipline" the system clock when the time server is not
available. It calculates the local clock error, and corrects for it in
between synchronizations. However, it does not do anything with the
hardware clock, which is why you have to do "rtc -s hw" periodically.
Mario Charest wrote:
available. It calculates the local clock error, and corrects for it in
between synchronizations. However, it does not do anything with the
hardware clock, which is why you have to do "rtc -s hw" periodically.
Mario Charest wrote:
"Michael Tasche" <michael.tasche@esd-electronics.com> wrote in message
news:gpnm65-l7p.ln1@comm.esd...
Hi all,
is it possible to let qnx ntpd interact with rtc?
My QNX System is not connected to the web all the time.
If ntpd has synchronized the system time from a time server in the web, I
want to set the rtc with this accurate time.
If the system is offline, I want to synchronize the system time with the
rtc.
Is this possible?
If yes, how to connect the rtc to the ntpd?
Must I provide a resource manager, providing something like "/dev/rtc"?
I'm not familliar with nptd but just setup a cron job to call "rtc -s hw" at
regular interval.
Thanks in advance
Michael
- Kevin Miller
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests