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

From: Pavel Machek
Date: Thu Feb 22 2007 - 04:55:52 EST


Hi!

> @@ -0,0 +1,206 @@
> +
> + PPS - Pulse Per Second
> + ----------------------
> +
> +(C) Copyright 2007 Rodolfo Giometti <giometti@xxxxxxxxxxxx>

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/