[LinuxPPS] Kernel configuration and more ......
Paul
paul at lavender-fam.net
Mon Oct 29 21:56:31 CET 2007
This whole business with the ktimer gets more and more wierd
Events are generated even when I dont have the serial plug in the
socket.
So what are they?
Paul
On Mon, 2007-10-29 at 16:57 +0100, Rodolfo Giometti wrote:
> On Mon, Oct 29, 2007 at 03:17:54PM +0000, Paul wrote:
> > On Mon, 2007-10-29 at 15:04 +0100, Rodolfo Giometti wrote:
> > > On Mon, Oct 29, 2007 at 01:39:10PM +0000, Paul wrote:
> > > > First of all I compiled with the debugging messages. I got 4 events
> > per
> > > > second to the screen (this is why I need to know if debugging is for
> > the
> > > > PPS and/or GPS NMEA data).
> > >
> > > Debugging are for both.
> >
> > So I think the events I see are NMEA data, I can get the same if I
> > modprobe ktimer (and then rmmod ktimer before it sends me crazy)
>
> Can you please post them?
>
> > > > I compiled exactly the same with no debugging.
> > > > The /sys/class/pps/pps0/{assert/clear} remain at 0.000
> > > > I checked the voltages on the serial plug and I saw the PPS pulses
> > on
> > > > the DCD pin. I checked with statserial (which actually looks at
> > voltages
> > > > on the serial pins) just to be sure I did not have a hardware
> > problem.
> > >
> > > Looking at /proc/interrupts, do you see increments on the IRQ counter
> > > for the serial line?
> > >
> >
> > No the serial stays the same.
>
> So your system doesn't see any interrupt from the serial line... then
> you can't see PPS events. Verify if your hardware is correctly setup.
>
> > > Rodolfo
> > >
> >
> > I also tried ./ppsfind ktimer which does not do anything.
>
> Did you load ktimer module?
>
> > ./ppstest /dev/pps0 just errors with timeouts.
>
> Which error? Please, post it.
>
> Ciao,
>
> Rodolfo
>
More information about the LinuxPPS
mailing list