[LinuxPPS] Not seeing PPS with new stuff (More2)
clemens at dwf.com
clemens at dwf.com
Wed Jun 11 11:07:20 CEST 2008
>
> A line discipline is referred to a serial port so you have to use the
> command:
>
> $ ./ttyctrl -X -s 17 /dev/ttyS0
>
OK, a bit better.
with 2.6.24.4-PPS-quater + patch in linuxPPS, when I run
./ttyctrl -X -s 17 /dev/ttyS0
It runs, creates /dev/pps1, BUT NEVER COMPLETES. The job is still sitting
there
and is IMPOSSIBLE to kill.
When I run your ppstest, I see
[root at deneb pps]# ./ppstest /dev/pps1
trying PPS source "/dev/pps1"
found PPS source "/dev/pps1"
ok, found 1 source(s), now start fetching data...
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
and when I run my slightly modified version, I see
[root at deneb Testing]# ./rodolfo6 /dev/pps1
fd2 = 3
getcap says 0x1133
set mode to 0xbfc5b9db
getparam is 0x1133
Enter loop
getparam is 0x1133
getparam assert is 0 0000675
getparam clear is 0 0000000
A: 1213174047.015311729 #44 C: 1213174047.213825757 #44
and it is killable.
Checking /sys/class/pps/pps1 I see
[root at deneb pps1]# more assert ; more clear
1213174047.015311729#44
1213174047.213825757#44
So it seems to have counted to 44 and then hung...
Hope that gives you some Ideas on what needs fixing (or what Im doing wrong)
--
Reg.Clemens
reg at dwf.com
More information about the LinuxPPS
mailing list