diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /Documentation/arm/empeg/ir.txt |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'Documentation/arm/empeg/ir.txt')
-rw-r--r-- | Documentation/arm/empeg/ir.txt | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Documentation/arm/empeg/ir.txt b/Documentation/arm/empeg/ir.txt new file mode 100644 index 000000000000..10a297450164 --- /dev/null +++ b/Documentation/arm/empeg/ir.txt | |||
@@ -0,0 +1,49 @@ | |||
1 | Infra-red driver documentation. | ||
2 | |||
3 | Mike Crowe <mac@empeg.com> | ||
4 | (C) Empeg Ltd 1999 | ||
5 | |||
6 | Not a lot here yet :-) | ||
7 | |||
8 | The Kenwood KCA-R6A remote control generates a sequence like the following: | ||
9 | |||
10 | Go low for approx 16T (Around 9000us) | ||
11 | Go high for approx 8T (Around 4000us) | ||
12 | Go low for less than 2T (Around 750us) | ||
13 | |||
14 | For each of the 32 bits | ||
15 | Go high for more than 2T (Around 1500us) == 1 | ||
16 | Go high for less than T (Around 400us) == 0 | ||
17 | Go low for less than 2T (Around 750us) | ||
18 | |||
19 | Rather than repeat a signal when the button is held down certain buttons | ||
20 | generate the following code to indicate repetition. | ||
21 | |||
22 | Go low for approx 16T | ||
23 | Go high for approx 4T | ||
24 | Go low for less than 2T | ||
25 | |||
26 | (By removing the <2T from the start of the sequence and placing at the end | ||
27 | it can be considered a stop bit but I found it easier to deal with it at | ||
28 | the start). | ||
29 | |||
30 | The 32 bits are encoded as XxYy where x and y are the actual data values | ||
31 | while X and Y are the logical inverses of the associated data values. Using | ||
32 | LSB first yields sensible codes for the numbers. | ||
33 | |||
34 | All codes are of the form b9xx | ||
35 | |||
36 | The numeric keys generate the code 0x where x is the number pressed. | ||
37 | |||
38 | Tuner 1c | ||
39 | Tape 1d | ||
40 | CD 1e | ||
41 | CD-MD-CH 1f | ||
42 | Track- 0a | ||
43 | Track+ 0b | ||
44 | Rewind 0c | ||
45 | FF 0d | ||
46 | DNPP 5e | ||
47 | Play/Pause 0e | ||
48 | Vol+ 14 | ||
49 | Vol- 15 | ||