[LinuxPPS] kernel does not see PPS on serial port

Rodolfo Giometti giometti at enneenne.com
Fri Mar 7 11:07:42 CET 2008


On Fri, Mar 07, 2008 at 10:49:54AM +0100, LICHTENBERGER Janos wrote:
> 
> With 2.6.15.7: 2.0.0
> 2.6.24: 5.0.0

Very old version! A lot of changes happens since there...

> and here pps enabled
> >>>>>>>>>>>
> root at whistler:~# /usr/src/linuxpps/Documentation/pps/ppsctl /dev/ttyS0 enable
> root at whistler:~# cat /proc/interrupts
>            CPU0       CPU1
>   0:        250         23   IO-APIC-edge      timer
>   1:          1       3673   IO-APIC-edge      i8042
>   2:          0          0    XT-PIC-XT        cascade
>   4:          0          2   IO-APIC-edge
>   5:          0          0   IO-APIC-fasteoi   ohci_hcd:usb1, Ensoniq
> AudioPCI
>   7:          1          0   IO-APIC-edge      parport0
>   8:          0          3   IO-APIC-edge      rtc
>   9:          0          0   IO-APIC-edge      acpi
>  10:          5      26629   IO-APIC-fasteoi   ehci_hcd:usb2, sata_nv,
> firewire_ohci
>  11:          9      25214   IO-APIC-fasteoi   HDA Intel, eth0
>  12:         38      61649   IO-APIC-edge      i8042
>  14:         15      41297   IO-APIC-edge      libata
>  15:          0          0   IO-APIC-edge      libata
> 220:        419    1035304   PCI-MSI-edge      eth1
> NMI:          0          0   Non-maskable interrupts
> LOC:    3821299    3822705   Local timer interrupts
> RES:     204182       9259   Rescheduling interrupts
> CAL:        107         38   function call interrupts
> TLB:         26         31   TLB shootdowns
> TRM:          0          0   Thermal event interrupts
> SPU:          0          0   Spurious interrupts
> ERR:          1
> MIS:          0
> >>>>>>>>
> 
> It remains this way.

Try doing:

   $ cat /dev/ttyS0 &

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127



More information about the LinuxPPS mailing list