Stampe skrev:
> Hej Leif
>
> Din svar forvirrer mig du skriver:
>> Du mangler sys/timepps.h, men om den findes til linux, ved jeg ikke.
>> Den version jeg har, starter med:
>
> Hvad er sys/timepps.h ?
> Hver er det for en version du har - af hvad? Er du sådan du har en
> tilsvarende program kørende som det PHK har lavet til aflæsning af elmåler?
>> * $FreeBSD: src/sys/sys/timepps.h,v 1.19 2005/01/07 02:29:24 imp Exp
>> * The is a FreeBSD version of the RFC 2783 API for Pulse Per Second
>> * timing interfaces.
Denne fil er inkluderet i FreeBSD, som phk har en finger med i spillet
i. (eller hvad det nu hedder)
Bruges bl.a. i
[/usr/src]# grep -sr sys/timepps.h .|grep include
../contrib/ntp/ntpd/ppsapi_timepps.h:# include <sys/timepps.h>
../contrib/ntp/ntpd/refclock_atom.c: * the PPSAPI is normally implemented
in the /usr/include/sys/timepps.h
../contrib/ntp/util/pps-api.c:#include <sys/timepps.h>
../contrib/ntp/configure:#include <sys/timepps.h>
../contrib/ntp/configure:# include <sys/timepps.h>
../contrib/ntp/configure.ac:#include <sys/timepps.h>
../contrib/ntp/configure.ac:# include <sys/timepps.h>
../sys/dev/ppbus/pps.c:#include <sys/timepps.h>
../sys/dev/sio/sio_isa.c:#include <sys/timepps.h>
../sys/dev/sio/sio.c:#include <sys/timepps.h>
../sys/dev/sio/sio_pccard.c:#include <sys/timepps.h>
../sys/dev/sio/sio_pci.c:#include <sys/timepps.h>
../sys/dev/sio/sio_puc.c:#include <sys/timepps.h>
../sys/dev/uart/uart_bus.h:#include <sys/timepps.h>
../sys/i386/i386/elan-mmcr.c:#include <sys/timepps.h>
../sys/kern/kern_ntptime.c:#include <sys/timepps.h>
../sys/kern/kern_tc.c:#include <sys/timepps.h>
../sys/pc98/cbus/sio.c:#include <sys/timepps.h>
../sys/pc98/cbus/sio_cbus.c:#include <sys/timepps.h>
../sys/powerpc/psim/uart_iobus.c:#include <sys/timepps.h>
../tools/test/ppsapi/ppsapitest.c:#include <sys/timepps.h>
>
> Ja undskyld - har ikke været i seng i over 24 timer
>
Så er det da osse på tide
Leif