Simon Arlott wrote: > On 27/10/07 12:00, Chuck wrote: > This solves nothing, LinuxPPS only gives you a PPS signal - you already have > that. You can use it with ntpd's GPS_NMEA refclock driver but then you don't > get the NMEA data for your own purposes. The only way this will work is with > a refclock driver that combines both and also gives you access to the NMEA > data.
Maybe /proc/<pid>/fd/* can help? Over there I see: [EMAIL PROTECTED] fd]# pwd /proc/24266/fd [EMAIL PROTECTED] fd]# ls -al total 0 dr-x------ 2 root root 0 2007-10-27 05:08 . dr-xr-xr-x 6 root root 0 2007-10-27 05:08 .. lrwx------ 1 root root 64 2007-10-27 05:08 0 -> /dev/null lrwx------ 1 root root 64 2007-10-27 05:08 1 -> /dev/null lrwx------ 1 root root 64 2007-10-27 05:08 16 -> socket:[227022] lrwx------ 1 root root 64 2007-10-27 05:08 17 -> socket:[227023] lrwx------ 1 root root 64 2007-10-27 05:08 18 -> socket:[227025] lrwx------ 1 root root 64 2007-10-27 05:08 19 -> socket:[227026] lrwx------ 1 root root 64 2007-10-27 05:08 2 -> /dev/null lrwx------ 1 root root 64 2007-10-27 05:08 20 -> socket:[227027] lrwx------ 1 root root 64 2007-10-27 05:08 21 -> socket:[227028] lrwx------ 1 root root 64 2007-10-27 05:08 22 -> socket:[227029] lrwx------ 1 root root 64 2007-10-27 05:08 23 -> socket:[227030] lrwx------ 1 root root 64 2007-10-27 05:08 24 -> socket:[227031] lrwx------ 1 root root 64 2007-10-27 05:08 25 -> socket:[227032] lrwx------ 1 root root 64 2007-10-27 05:08 26 -> socket:[227033] lrwx------ 1 root root 64 2007-10-27 05:08 27 -> socket:[227034] lrwx------ 1 root root 64 2007-10-27 05:08 3 -> socket:[227019] l-wx------ 1 root root 64 2007-10-27 05:08 4 -> /var/log/ntp/loops.20071027 lrwx------ 1 root root 64 2007-10-27 05:08 5 -> /dev/ttyS0 lrwx------ 1 root root 64 2007-10-27 05:08 6 -> /dev/pps0 lrwx------ 1 root root 64 2007-10-27 05:08 7 -> /dev/pps0 handle 5 shows NMEA: [EMAIL PROTECTED] fd]# cat 5 $GPRMC,121740,A,5150.2348,N,00457.3738,E,000.0,258.2,271007,000.7,W*69 $GPRMC,121741,A,5150.2348,N,00457.3737,E,000.0,258.2,271007,000.7,W*67 $GPRMC,121742,A,5150.2347,N,00457.3736,E,000.0,258.2,271007,000.7,W*6A (etc) _______________________________________________ timekeepers mailing list [email protected] https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers
