Re: [PATCH 1/1] LinuxPPS: Pulse per Second support for Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> @@ -0,0 +1,206 @@
> +
> +			PPS - Pulse Per Second
> +			----------------------
> +
> +(C) Copyright 2007 Rodolfo Giometti <[email protected]>

If you add copyright, add license, too.


> +PROCFS support
> +--------------
> +
> +If PROCFS support is enabled a new directory "/proc/pps" is created:
> +
> +    $ ls /proc/pps/
> +    00       01       sources
> +
> +The file "sources" holds a brief description of all PPS sources
> +defined in the system:
> +
> +    $ cat /proc/pps/sources 
> +    id    mode		echo	name			path
> +    ----  ------	----	----------------	----------------
> +    00    1133		no	serial0			/dev/ttyS0
> +    01    1133		no	serial1			/dev/ttyS1
> +
> +The other entries are directories that hold one or two files according
> +to the ability of the associated source to provide "assert" and
> +"clear" timestamps:
> +
> +    $ ls /proc/pps/00 
> +    assert		  clear
> +
> +Inside each "assert" and "clear" file you can find the timestamp and a
> +sequence number:
> +
> +    $ cat /proc/pps/00/assert 
> +    1170026870.983207967 #8

No new /proc files, please.
							Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux