[LinuxPPS] Which patch to use?

Udo van den Heuvel udovdh at xs4all.nl
Sun May 11 19:38:17 CEST 2008


Jordan Hayes wrote:
>>> # ./ppsctl /dev/ttyS0 enable
>> Now there is a device.
> 
> Here's what I see now:
> 
> # tree /sys/class/pps/
> /sys/class/pps/
> |-- pps0
> |   |-- assert
> |   |-- clear
> |   |-- dev
> |   |-- echo
> |   |-- mode
> |   |-- name
> |   |-- path
> |   |-- power
> |   |   `-- wakeup
> |   |-- subsystem -> ../../../class/pps
> |   `-- uevent
> `-- pps1

why pps0 and pps1?
remove ktimer before doing ppsctl.

>     |-- assert
>     |-- clear
>     |-- dev
>     |-- device -> ../../../devices/pnp0/00:07

this is the serial port^^^^

> I still don't get a device on pps0 ... so should I be using /dev/pps1 
> instead of /dev/pps0?

See above. your ktimer mixes things up.

> Ok, I have that now (and I see the mention in the wiki, but I don't see 
> a mention of /dev/gpspps0 ... is that new?).

It is refclock dependent.

>> refclock_nmea: found PPS source "/dev/pps0"

pps0 was the ktimer source?





More information about the LinuxPPS mailing list