[LinuxPPS] Problems with ppstest and NTP

Paul paul at lavender-fam.net
Wed Jan 9 12:37:02 CET 2008


If the clear/asserts change in /sys/class/pps/pps0/assert
or /sys/class/pps/pps0/clear all is well. I think the debugging output
is more a developer tool.

Paul

On Wed, 2008-01-09 at 12:08 +0100, Heiko Gerstung wrote:
> Hi there!
> 
> I just managed to get LinuxPPS (ntp-pps-2.6.23-quater.diff) to run on 
> one of our embedded systems (kernel 2.6.23.12, i386 arch). I tried to 
> follow the instructions on
> http://wiki.enneenne.com/index.php/LinuxPPS_support
> 
> but I have a few problems/comments:
> 
> - when I try to fire up ppstest, I get:
> /ppstest /dev/pps0
> trying PPS source "/dev/pps0"
> cannot create a PPS source from device "/dev/pps0" (Operation not supported)
> 
> My pps0 device looks OK to me:
>  ls -l /dev/pps0
> crwxrwxrwx    1 root     root     253,   0 Jan  9 10:48 /dev/pps0
> 
> 
> And the debugging output looks fine, too:
> PPS event on source 0 at 1199876811.203122984
> capture clear seq #1260 for source 0
> 
> It seems that ntpd has the same problems here:
> Jan  9 10:46:07 xxx daemon.err ntpd[5675]: refclock_atom: 
> time_pps_create failed: Invalid argument
> Jan  9 10:49:50 xxx daemon.notice ntpd[6239]: PARSE receiver #0: 
> parse_start: could not set up PPS: Invalid argument
> 
> 
> Any hint what I could check?
> 
> Thanks in advance,
>  Heiko
> 
> 
> _______________________________________________
> LinuxPPS mailing list
> LinuxPPS at ml.enneenne.com
> http://ml.enneenne.com/cgi-bin/mailman/listinfo/linuxpps
> Wiki: http://wiki.enneenne.com/index.php/LinuxPPS_support
> 




More information about the LinuxPPS mailing list