[LinuxPPS] : Re: [Bug 610] Generic NMEA GPS Receiver driver
w/PPS expects PPS after NMEA data (Udo van den Heuvel)
Rodolfo Giometti
giometti at enneenne.com
Tue Oct 30 10:43:21 CET 2007
On Tue, Oct 30, 2007 at 07:45:18PM +1100, Cirilo Bernardo wrote:
> >> 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.
No problems for that since Linux doesn't force the user to use a
specific name for its devices.
> 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.
I agree. :)
Thanks,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti at enneenne.com
Linux Device Driver giometti at gnudd.com
Embedded Systems giometti at linux.it
UNIX programming phone: +39 349 2432127
More information about the LinuxPPS
mailing list