[LinuxPPS] How to use PPS to adjust system clock time ?

Rodolfo Giometti giometti at enneenne.com
Sat Feb 16 11:36:01 CET 2019


On 16/02/2019 09:43, Ran Shalit wrote:
> 
> 
>> Is it that the linuxpps interface already attached the pps to the system clock ?
> 
>> No. A pps device simply attachs a timestamp to each arriving pulse then a
>> userland program uses these information to precisely set system clock.
> 
> One more if I may on this issue:
> Is there a way to adjust system clock (from pps) in kernel instead of doing it in userland ? How ? (I ask because I am still not sure how to do this adjustment from userland, and might find that doing it in kernel it is simpler)

Take a look here:

    http://paul.chavent.free.fr/pps.html

Ciao,

Rodolfo

-- 
GNU/Linux Solutions                  e-mail: giometti at enneenne.com
Linux Device Driver                          giometti at linux.it
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti



More information about the discussions mailing list