~ [ source navigation ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
cvs/emstar/timesync/util/


Name Size Last modified (GMT) Description
Back Parent directory 2009-01-08 14:26:45
File Makefile 1806 bytes 2003-12-09 03:38:35
File Makefile-l2-pulse 473 bytes 2007-11-25 22:31:42
File README 1308 bytes 2001-12-19 07:53:46
C file attime.c 4114 bytes 2005-09-29 19:01:06
File do-pulses 514 bytes 2001-01-17 01:24:07
C file gettime.c 3928 bytes 2007-06-26 08:57:33
File parse.pl 2464 bytes 2000-07-24 21:28:02
File pps.pl 231 bytes 2003-05-14 03:29:42
File pulseat-test.pl 200 bytes 2002-05-13 02:04:02
C file pulseat.c 7479 bytes 2007-11-25 22:29:39
C file res-test.c 2794 bytes 2003-12-09 03:46:50
C file simplesync.c 4570 bytes 2003-07-11 22:30:09
C file sync.h 1811 bytes 2003-07-11 22:30:09
C file timesync.c 9052 bytes 2003-07-11 22:30:09

  1 Instructions for using Timesync Module in singlepulse mode
  2 ----------------------------------------------------------
  3 
  4 0) Hook up hardware.  Attach DB25 pin 2 on sender to DB25 pin 10 on
  5    receivers.  Attach grounds to grounds (e.g. 25--25).
  6 
  7 1) Compile (type "make")
  8 
  9 2) Copy the module to all target machines in a place that root can
 10    read it (e.g. in /tmp if you're using a networked /home)
 11 
 12 3) Enable parallel port driver:
 13     A) insmod parport
 14     B) insmod parport_pc
 15     C) echo 7 > /proc/parport/0/irq (to enable kernel interrupt handling)
 16 
 17 4) On each target machine, "insmod simplesync.o"
 18 
 19 5) On sender, type "echo 1 > /proc/singlepulse" to generate a pulse.
 20 
 21 6a) Receivers will report having received the pulse in their system
 22 logs; e.g.
 23 
 24 timesync: 979694223.291096 singlepulse received; time=979694223.291090usec
 25 
 26 These messages are visible by typing "dmesg" on the machine, or
 27 looking in /var/log/messages.
 28 
 29 This indicates that a pulse was received at 979694223.291090 .  Note
 30 that the first time on the line is just a timestamp added when all
 31 debugging messages are generated by the module.  The "time=XX" entry
 32 shows the actual pulse-time recorded by the interrupt handler.
 33 
 34 6b) To see the most recently received pulse, type "cat /proc/pulse" on
 35 the receiver.
 36 
 37 --Jeremy Elson 16 Jan 2001
 38 
 39 
 40 

~ [ source navigation ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.