[LinuxPPS] Finding the /dev/pps<n> device

Rodolfo Giometti giometti at enneenne.com
Thu Nov 1 11:15:47 CET 2007


On Wed, Oct 31, 2007 at 08:40:48PM -0600, clemens at dwf.com wrote:
> 
> Well, I hate to respond to my own posts, but the script I posted
> earlier doesn't work at boot time.  It works fine later (tho I have
> made a slight modification to test for null $e and not execute the
> rest of the script if its null).
> 
> Here's my problem.
> The script works fine once the system is booted and the user is
> in control, but not at boot time.
> 
> My GUESS is that /sys/class/pps is not populated when the script
> runs, but I can't be sure.
> 
> So my real question is in what order do things run?
> I see the scripts /etc/rc.d/rc and /etc/rc.d/rc.sysinit, but don't see
> one calling the other, so I cant tell when /sbin/start_udev runs
> with respect to the rc3.d scripts.
> 
> Anyone know how this stuff works?
> If we have to wait for udev, anyone have any experience in writing
> udev scripts?

Maybe you can see this message:

   http://ml.enneenne.com/pipermail/linuxpps/2007-October/001332.html

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