[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 23:30:08 CET 2007


> Ok, thanks. So I put this in /etc/udev/rules.d/pps.rules.
> How can I test this besides by rebooting?

1. unload the module for the PPS source
2. unload the linuxpps module
3. remove your symlinks
4. kill -SIGHUP `pidof udevd`
5. load the linuxpps module
6. load the module for the PPS source

> And how can I make a simple rule that will *only* make a
> /dev/gps0 -> /dev/ttyS0 because we have a GPS on that port?
> Of course I can add a link to /etc/udev/devices but what would
> be the udev rules method?

I can't answer that one because I don't know how to tell if there
is a GPS on ttyS0. You can schedule a script by using the
RUN= parameter in udev, but it is the script that will need to
determine if ttyS0 is a GPS and create the link using 'ln -s'.

- Cirilo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.enneenne.com/pipermail/linuxpps/attachments/20071031/9b047702/attachment.htm


More information about the LinuxPPS mailing list