[LinuxPPS] 2.6.25

Udo van den Heuvel udovdh at xs4all.nl
Sun Apr 20 13:04:36 CEST 2008


Cirilo Bernardo wrote:
>>  I have been toying with it before.
>>  In /etc/udev/rules.d I made a file 10-pps.rules which contains:
>>
>>
>>  KERNEL=="ttyS0", RUN+="/bin/setserial -v %k low_latency hardpps"
>>  SYMLINK+="gpspps%d", OPTIONS+="last_rule"
>>  KERNEL=="ttyS0",                SYMLINK+="gps0"
>>  KERNEL=="pps0",                 SYMLINK+="gpspps0"
>>
>>  But after a boot I have no pps device...
>>
> 
> If that is your rules file,

I made a wrappinbg/paste error, this is the right file (I removed
contents to make it clean):

KERNEL=="ttyS0", RUN+="/bin/setserial -v %k low_latency hardpps"
KERNEL=="ttyS0",                SYMLINK+="gps0"
KERNEL=="pps0",                 SYMLINK+="gpspps0"


> it is invalid; did you run 'udevtest' on
> the /dev entry to see what happens?
> udevtest /dev/ttyS0

# udevtest /dev/ttyS0
This program is for debugging only, it does not run any program,
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.

parse_file: reading '/etc/udev/rules.d/05-udev-early.rules' as rules file
parse_file: reading '/etc/udev/rules.d/10-pps.rules' as rules file
(....)
unable to open device '/dev/ttyS0'

Kind regards,
Udo



More information about the LinuxPPS mailing list