[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
Tue Oct 30 09:45:18 CET 2007


>> SUBSYSTEM="linuxpps", OWNER="root", GROUP="tty", MODE="0660",
>> SYMLINK+="gpspps%d", OPTIONS+="last_rule"

> Does this make a device or a link?
> We need a *link* to /dev/pps0

OK, if the subsystem is 'pps' then change 'linuxpps' to 'pps'.

Yes, the 'SYMLINK+=' part means "add a symlink for this device";
the device will be created as normal and a symlink is added, so
if LinuxPPS creates "pps0", then pps0 will exist as well as a
link "gpspps0". However, I don't know if this is actually
compliant with the request of the NTP guys. I had the impression
they really don't want a /dev/pps? unless it is an ATOM refclock.
Remember that LinuxPPS is specific to Linux, and if any patches
submitted to NTP have a bad effect on any of the other systems,
they will simply refuse the patch.

If I had wanted to change the name of the device, I would have
used the NAME= parameter - don't you love udev - it's so simple
and flexible.

Notice the '+=' -- other rules can add as many symlinks as they want.
The "last_rule" option means no more rules will be processed for
this device; I imagine that is a typical situation, but this
option can be removed if necessary.

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


More information about the LinuxPPS mailing list