[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 09:16:24 CET 2007


On Tue, Oct 30, 2007 at 05:43:55AM +0100, Udo van den Heuvel wrote:
> Cirilo Bernardo wrote:
> >> 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",

Maybe it could be useful define a special group named "pps", so
GROUP="pps" (the new group should be defined into /etc/group).

> > SYMLINK+="gpspps%d", OPTIONS+="last_rule"
> > 
> > The %d just substitutes the number from the device name
> > (for 'pps1', %d = 1).
> 
> Does this make a device or a link?

I'm not completely sure but this should create both.

> We need a *link* to /dev/pps0
> 
> > 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
> 
> pps

Ciao,

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