aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2014-01-17 08:58:46 -0500
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-02-04 10:10:31 -0500
commit7bae89791eac2f18620ebd76a13c0351f4ec4319 (patch)
tree3c5a74019a31bdb77b5d2867e9b4ff82f4ebbc0a /Documentation/ABI
parent70a2f9120ffdb9bf9732c55c3350cb002a78841d (diff)
[media] media: rc: document rc class sysfs API
Briefly document /sys/class/rc/ API for remote controller devices in Documentation/ABI/teting. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Rob Landley <rob@landley.net> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-class-rc34
1 files changed, 34 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-rc b/Documentation/ABI/testing/sysfs-class-rc
new file mode 100644
index 000000000000..52bc057b5d06
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-rc
@@ -0,0 +1,34 @@
1What: /sys/class/rc/
2Date: Apr 2010
3KernelVersion: 2.6.35
4Contact: Mauro Carvalho Chehab <m.chehab@samsung.com>
5Description:
6 The rc/ class sub-directory belongs to the Remote Controller
7 core and provides a sysfs interface for configuring infrared
8 remote controller receivers.
9
10What: /sys/class/rc/rcN/
11Date: Apr 2010
12KernelVersion: 2.6.35
13Contact: Mauro Carvalho Chehab <m.chehab@samsung.com>
14Description:
15 A /sys/class/rc/rcN directory is created for each remote
16 control receiver device where N is the number of the receiver.
17
18What: /sys/class/rc/rcN/protocols
19Date: Jun 2010
20KernelVersion: 2.6.36
21Contact: Mauro Carvalho Chehab <m.chehab@samsung.com>
22Description:
23 Reading this file returns a list of available protocols,
24 something like:
25 "rc5 [rc6] nec jvc [sony]"
26 Enabled protocols are shown in [] brackets.
27 Writing "+proto" will add a protocol to the list of enabled
28 protocols.
29 Writing "-proto" will remove a protocol from the list of enabled
30 protocols.
31 Writing "proto" will enable only "proto".
32 Writing "none" will disable all protocols.
33 Write fails with EINVAL if an invalid protocol combination or
34 unknown protocol name is used.