still no reliable assert, was Re: [LinuxPPS] debug output

gnu not unix gnu at wraith.sf.ca.us
Sun Feb 25 18:14:30 CET 2007


In message <20070225165945.GI30997 at enneenne.com> you write:

>So, what about the "assert" events? Did you get them correctly?

I forgot to include the ./ppstest output, but no, the
assert is still not working properly.

Uuh let me reboot the test unit...

Hm interesting. Steps:

boot. setserial hardpps. ppstest.

The ppstest worked fine!

Cool.

Uuh however---

I then did cat</sys/class/pps/00/assert

...and now ppstest no longer increments on assert. No Joy.

(cuts/pastes):

root at boomer.wraith.sf.ca.us[519] ./ppstest 
found PPS source #0 "serial0" on "/dev/ttyS0"
assert 1172423250.912159778, sequence: 13 - clear  1172423250.912287332, sequence: 13
assert 1172423251.912196654, sequence: 14 - clear  1172423251.912290684, sequence: 14
assert 1172423252.912205034, sequence: 15 - clear  1172423252.912294035, sequence: 15


root at boomer.wraith.sf.ca.us[521] cat</sys/class/pps/00/assert 
1172423252.912205034#15
root at boomer.wraith.sf.ca.us[522] cat</sys/class/pps/00/assert 
1172423252.912205034#15


root at boomer.wraith.sf.ca.us[524] ./ppstest 
found PPS source #0 "serial0" on "/dev/ttyS0"
assert 1172423252.912205034, sequence: 15 - clear  1172423278.912597407, sequence: 16
assert 1172423252.912205034, sequence: 15 - clear  1172423279.912604949, sequence: 17
assert 1172423252.912205034, sequence: 15 - clear  1172423280.912613329, sequence: 18

UUhh another "gotcha" is if you:


root at boomer.wraith.sf.ca.us[528] echo "1" > /sys/class/pps/00/echo


I had to blow the ssh session away to get out of that!

../Steven
stepping carefully



More information about the LinuxPPS mailing list