This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: Add a man page for ir-keytable
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Mon Jan 24 10:37:02 2011 -0200

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 utils/keytable/ir-keytable.1 |   67 +++++++++++++++++++++++++++++++++++++++--
 1 files changed, 63 insertions(+), 4 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=79cd5a5a2c693edf441319fe1547a7fa41571f4b

diff --git a/utils/keytable/ir-keytable.1 b/utils/keytable/ir-keytable.1
index 7eb7d8b..07b35f3 100644
--- a/utils/keytable/ir-keytable.1
+++ b/utils/keytable/ir-keytable.1
@@ -1,9 +1,68 @@
-.TH ir-keytable 1 2011-01-24 http://linuxtv.org/ "Media commands" swiss-knife 
tool to handle Remote Controllers
+.TH ir-keytable 1 2011-01-24 http://linuxtv.org/ "Media v4l2-utils commands" 
swiss-knife tool to handle Remote Controllers
 .SS NAME
+ir-keytable - a swiss-knife tool to handle Remote Controllers.
 .SS SYNOPSIS
+Usage: ir-keytable [OPTION...] --device [/dev/input/event* device]
+  or:  ir-keytable [OPTION...] --sysdev [ir class (f. ex. rc0)]
+  or:  ir-keytable [OPTION...] [for using the rc0 sysdev]
 .SS DESCRIPTION
+ir-keytable is a tool that lists the Remote Controller devices, allows to 
get/set IR keycode/scancode tables, test events generated by IR, and to adjust 
other options to it.
+
+Note: You need to have read permissions on /dev/input for most of the options 
to work.
 .SS OPTIONS
+  -a, --auto-load=CFGFILE    Auto-load a table, based on a configuration file.
+                             Only works with sysdev.
+  -c, --clear                clears the old table
+  -d, --device=DEV           ir device to control
+  -k, --set-key=SCANKEY      Change scan/key pairs
+  -p, --protocol=PROTOCOL    Protocol to enable (the other ones will be
+                             disabled). To enable more than one, use the option
+                             more than one time
+  -r, --read                 reads the current scancode/keycode table
+  -s, --sysdev=SYSDEV        ir class device to control
+  -t, --test                 test if IR is generating events
+  -v, --verbose              enables debug messages
+  -w, --write=TABLE          write (adds) the scancodes to the device
+                             scancode/keycode table from an specified file
+  -?, --help                 Prints the help message
+      --usage                Give a short usage message
+  -V, --version              Print the v4l2-utils version
+
+Mandatory or optional arguments to long options are also mandatory or optional
+for any corresponding short options.
+Options can be combined together.
+
+On the options bellow, the arguments are:
+  DEV      - the /dev/input/event* device to control
+  SYSDEV   - the ir class as found at /sys/class/rc
+  TABLE    - a file wit a set of scancode=keycode value pairs
+  SCANKEY  - a set of scancode1=keycode1,scancode2=keycode2.. value pairs
+  PROTOCOL - protocol name (nec, rc-5, rc-6, other) to be enabled
+  CFGFILE  - configuration file that associates a driver/table name with a 
keymap file
+
 .SS EXIT STATUS
-.SS FILES
-.SS EXAMPLE
-.SS AUTHORS
+On success, it returns 0. Otherwise, it will return the error code.
+
+.SS EXAMPLES
+  Common usages are:
+.PP
+  To list all connected Remote Controller devices:
+.PP
+       ir-keytable
+.PP
+  To clean the keycode table and use a newer one:
+.PP
+       ir-keytable -c -w /etc/rc_keymaps/nec_terratec_cinergy_xs
+.PP
+  To append more codes to the existing table:
+.PP
+       ir-keytable -w /etc/rc_keymaps/nec_terratec_cinergy_xs
+.PP
+  To read the current keytable, on the second remote controller:
+.PP
+       ir-keytable -s rc1 -r
+
+.SS COPYRIGHT
+Copyright (c) 2010-2011 by Mauro Carvalho Chehab <[email protected]>.
+.PP
+License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>.

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to