~jon-raiford/mythbuntu/lirc

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#! /bin/sh /usr/share/dpatch/dpatch-run
## 32_radioshack_15_2116_remote.dpatch by Mario Limonciello <superm1@ubuntu.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Add support for radioshack remote 15_2116

@DPATCH@
Index: lirc-0.8.5/doc/lirc.hwdb
===================================================================
--- lirc-0.8.5.orig/doc/lirc.hwdb	2009-06-23 00:27:32.550175239 -0500
+++ lirc-0.8.5/doc/lirc.hwdb	2009-06-23 00:33:58.753143725 -0500
@@ -12,6 +12,7 @@
 #
 #
 Home-brew (16x50 UART compatible serial port);serial;lirc_dev lirc_serial;hw_default;;
+Radio Shack 15-2116;serial;lirc_dev lirc_serial;hw_default;radioshack/radioshack.conf;
 Home-brew (parallel port);parallel;lirc_dev lirc_parallel;hw_default;;
 Network (UDP);udp;none;hw_udp;;
 
Index: lirc-0.8.5/remotes/radioshack/radioshack.conf
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ lirc-0.8.5/remotes/radioshack/radioshack.conf	2009-06-23 00:33:31.330166439 -0500
@@ -0,0 +1,87 @@
+# this config file was generated
+# using lirc-0.7.0pre2(hauppauge) on Thu Jan  1 00:35:50 2004
+#
+# contributed by Jarod Wilson <jcw@wilsonet.com>
+#------------------------------------------------------------------------------
+#
+# filename:          RadioShack_15-2116-vcr0081.lirc
+# encoding:          RC-5
+# brand:             RadioShack Universal (and others)
+# model:             15-2116, set as VCR type 0081
+# supported devices: all
+#
+# note: requires quite a bit of key reassignment w/keymover and EFCs...
+# see http://wilsonet.com/mythtv/rs15-2116.html for HOWTO
+#
+#------------------------------------------------------------------------------
+
+begin remote
+  
+  name      rs15-2116-vcr0081
+  bits              11
+  flags     RC5|CONST_LENGTH
+  eps               20
+  aeps              0
+  header            0   0
+  one               889 889
+  zero              889 889
+  plead             889
+  ptrail            0
+  foot              0   0
+  repeat            0   0
+  pre_data_bits     2
+  pre_data          0x02
+  post_data_bits    0
+  post_data         0x0
+  pre               0   0
+  post              0   0
+  gap               113792
+  toggle_bit        2
+  frequency         36000
+  duty_cycle        50
+
+  begin codes
+        0           0x0000000000000140
+        1           0x0000000000000141
+        2           0x0000000000000142
+        3           0x0000000000000143
+        4           0x0000000000000144
+        5           0x0000000000000145
+        6           0x0000000000000146
+        7           0x0000000000000147
+        8           0x0000000000000148
+        9           0x0000000000000149
+        INFO        0x000000000000014a
+        SELECT      0x000000000000014b
+        POWER       0x000000000000014c
+        MUTE        0x000000000000014d
+        MOVE        0x000000000000014e
+        VOL+        0x0000000000000150
+        VOL-        0x0000000000000151
+        RIGHT       0x000000000000015a
+        LEFT        0x000000000000015b
+        ENTER       0x000000000000015c
+        MENU        0x000000000000015d
+        CH+         0x0000000000000160
+        CH-         0x0000000000000161
+        PIP         0x0000000000000162
+        SWAP        0x0000000000000163
+        SLEEP       0x0000000000000166
+        FREEZE      0x0000000000000168
+        PAUSE       0x0000000000000169
+        SKIP        0x000000000000016a
+        EXIT        0x0000000000000171
+        REW         0x0000000000000172
+        REPLAY      0x0000000000000173
+        FFWD        0x0000000000000174
+        PLAY        0x0000000000000175
+        STOP        0x0000000000000176
+        REC         0x0000000000000177
+        SKIP        0x0000000000000178
+        +100        0x0000000000000179
+        LAST        0x000000000000017b
+        GUIDE       0x000000000000017c
+        TV/VIDEO    0x000000000000017e
+  end codes
+
+end remote