[LinuxPPS] : Re: [Bug 610] Generic NMEA GPS Receiver driver w/PPS expects PPS after NMEA data (Udo van den Heuvel)

Cirilo Bernardo cbernardo at auspace.com.au
Mon Oct 29 23:57:49 CET 2007


>>>> You can configure properly udev for this stuff.
>>> How?
[snip]
> I am in a hurry.
> Anybody can dig up the specific necessities vor /dev/gpspps0, etc?
> This can be useful for the wiki!

A typical line could go into , say:
/etc/udev/rules.d/z50_pps_rules
The rule would look like:
SUBSYSTEM="linuxpps", OWNER="root", GROUP="tty", MODE="0660",
SYMLINK+="gpspps%d", OPTIONS+="last_rule"

The %d just substitutes the number from the device name
(for 'pps1', %d = 1).

I haven't checked to see what the real "SUBSYSTEM" would be;
I don't have linuxpps built into my dev machine and I'm too
lazy to look at the source.
        
On a system with LinuxPPS loaded, SUBSYSTEM can be determined from:
udevinfo -a -p /sys/class/pps/pps0

- Cirilo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.enneenne.com/pipermail/linuxpps/attachments/20071030/571c939a/attachment.htm


More information about the LinuxPPS mailing list