1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 26_transmitter_lircd.conf.dpatch by Mario Limonciello <superm1@ubuntu.com>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Add support to preconfigure transmitters off the bat
8
diff -urNad lirc-0.8.4a~/Makefile.am lirc-0.8.4a/Makefile.am
9
--- lirc-0.8.4a~/Makefile.am 2008-11-08 19:23:41.000000000 -0600
10
+++ lirc-0.8.4a/Makefile.am 2008-11-08 19:23:59.000000000 -0600
12
./data2setup.sh > setup-driver.sh
15
- for f in contrib remotes; do \
16
+ for f in contrib remotes transmitters; do \
17
cp -pr $(srcdir)/$$f $(distdir)/$$f; done
18
rm -r `find $(distdir) -name "CVS"`
19
-rcs2log >$(distdir)/ChangeLog
21
DISTCLEANFILES = configure.sh .setup.config
23
-CLEANFILES = *~ remotes/*~ contrib/*~
24
+CLEANFILES = *~ remotes/*~ contrib/*~ transmitters/*~
25
diff -urNad lirc-0.8.4a~/Makefile.in lirc-0.8.4a/Makefile.in
26
--- lirc-0.8.4a~/Makefile.in 2008-11-08 19:23:41.000000000 -0600
27
+++ lirc-0.8.4a/Makefile.in 2008-11-08 19:24:29.000000000 -0600
30
DISTCLEANFILES = configure.sh .setup.config
32
-CLEANFILES = *~ remotes/*~ contrib/*~
33
+CLEANFILES = *~ remotes/*~ contrib/*~ transmitters/*~
35
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
36
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
38
./data2setup.sh > setup-driver.sh
41
- for f in contrib remotes; do \
42
+ for f in contrib remotes transmitters; do \
43
cp -pr $(srcdir)/$$f $(distdir)/$$f; done
44
rm -r `find $(distdir) -name "CVS"`
45
-rcs2log >$(distdir)/ChangeLog
46
diff -urNad lirc-0.8.4a~/doc/transmitter.hwdb lirc-0.8.4a/doc/transmitter.hwdb
47
--- lirc-0.8.4a~/doc/transmitter.hwdb 1969-12-31 18:00:00.000000000 -0600
48
+++ lirc-0.8.4a/doc/transmitter.hwdb 2008-11-08 19:23:59.000000000 -0600
50
+# LIRC - Transmitter Hardware DataBase
52
+# This file lists all the cable and satellite boxes
53
+# supported by LIRC in a parseable form.
57
+# [remote controls type]
58
+# description;driver;lirc driver;HW_DEFAULT;lircd_conf;
62
+Serial Port (UART) : Motorola Cable box;serial;lirc_dev lirc_serial;hw_default;motorola/dctxxxx.conf
63
+Hauppauge PVR-150 (pci) : Motorola Cable box;none;lirc_dev lirc_pvr150;hw_default;motorola/dctxxxx.conf
64
+Microsoft Windows Media Center V2 (usb) : Motorola Cable box;none;lirc_dev lirc_mceusb2;hw_default;motorola/dctxxxx.conf
65
+Command IR : Motorola Cable box;none;lirc_dev lirc_cmdir;hw_default;motorola/dctxxxx.conf
66
+USB-UIRT2 : Motorola Cable box;uirt2_raw;none;hw_uirt2_raw;motorola/dctxxxx.conf
69
+Serial Port (UART) : Sky Satellite Receiver;serial;lirc_dev lirc_serial;hw_default;sky/general.conf
70
+Hauppauge PVR-150 (pci) : Sky Satellite Receiver;none;lirc_dev lirc_pvr150;hw_default;sky/general.conf
71
+Microsoft Windows Media Center V2 (usb) : Sky Satellite Receiver;none;lirc_dev lirc_mceusb2;hw_default;sky/general.conf
72
+Command IR : Sky Satellite Receiver;none;lirc_dev lirc_cmdir;hw_default;sky/general.conf
73
+USB-UIRT2 : Sky Satellite Receiver;uirt2_raw;none;hw_uirt2_raw;sky/general.conf
76
+Serial Port (UART) : Dish Receiver;serial;lirc_dev lirc_serial;hw_default;dish/general.conf
77
+Hauppauge PVR-150 (pci) : Dish Receiver;none;lirc_dev lirc_pvr150;hw_default;dish/general.conf
78
+Microsoft Windows Media Center V2 (usb) : Dish Receiver;none;lirc_dev lirc_mceusb2;hw_default;dish/general.conf
79
+Command IR : Dish Receiver;none;lirc_dev lirc_cmdir;hw_default;dish/general.conf
80
+USB-UIRT2 : Dish Receiver;uirt2_raw;none;hw_uirt2_raw;dish/general.conf
83
+Serial Port (UART) : Direct TV Receiver;serial;lirc_dev lirc_serial;hw_default;directtv/general.conf
84
+Hauppauge PVR-150 (pci) : Direct TV Receiver;none;lirc_dev lirc_pvr150;hw_default;directtv/general.conf
85
+Microsoft Windows Media Center V2 (usb) : Direct TV Receiver;none;lirc_dev lirc_mceusb2;hw_default;directtv/general.conf
86
+Command IR : Direct TV Receiver;none;lirc_dev lirc_cmdir;hw_default;directtv/general.conf
87
+USB-UIRT2 : Direct TV Receiver;uirt2_raw;none;hw_uirt2_raw;directtv/general.conf
90
+Serial Port (UART) : Pioneer Cable box;serial;lirc_dev lirc_serial;hw_default;pioneer/general.conf
91
+Hauppauge PVR-150 (pci) : Pioneer Cable box;none;lirc_dev lirc_pvr150;hw_default;pioneer/general.conf
92
+Microsoft Windows Media Center V2 (usb) : Pioneer Cable box;none;lirc_dev lirc_mceusb2;hw_default;pioneer/general.conf
93
+Command IR : Pioneer Cable box;none;lirc_dev lirc_cmdir;hw_default;pioneer/general.conf
94
+USB-UIRT2 : Pioneer Cable box;uirt2_raw;none;hw_uirt2_raw;pioneer/general.conf
96
+[Scientific Atlanta Cable box]
97
+Serial Port (UART) : Scientific Atlanta Cable box;serial;lirc_dev lirc_serial;hw_default;scientificatlanta/general.conf
98
+Hauppauge PVR-150 (pci) : Scientific Atlanta Cable box;none;lirc_dev lirc_pvr150;hw_default;scientificatlanta/general.conf
99
+Microsoft Windows Media Center V2 (usb) : Scientific Atlanta Cable box;none;lirc_dev lirc_mceusb2;hw_default;scientificatlanta/general.conf
100
+Command IR : Scientific Atlanta Cable box;none;lirc_dev lirc_cmdir;hw_default;scientificatlanta/general.conf
101
+USB-UIRT2 : Scientific Atlanta Cable box;uirt2_raw;none;hw_uirt2_raw;scientificatlanta/general.conf
102
diff -urNad lirc-0.8.4a~/transmitters/directtv/general.conf lirc-0.8.4a/transmitters/directtv/general.conf
103
--- lirc-0.8.4a~/transmitters/directtv/general.conf 1969-12-31 18:00:00.000000000 -0600
104
+++ lirc-0.8.4a/transmitters/directtv/general.conf 2008-11-08 19:23:59.000000000 -0600
107
+# this config file was automatically generated
108
+# using lirc-0.8.1-CVS-pvr150(default) on Thu Nov 23 11:12:04 2006
110
+# contributed by Chris Jacobs
112
+# brand: DirecTV HD20-100
113
+# model no. of remote control: HD20-100
114
+# devices being controlled by this remote: DirecTV HD20-100
131
+ 6000 1150 1250 1100 650 550
132
+ 650 550 650 550 650 500
133
+ 650 1150 650 550 650 1150
137
+ 6000 1100 1250 1150 650 550
138
+ 650 550 600 550 650 550
139
+ 1250 550 650 550 1200 550
143
+ 6000 1150 1250 1100 650 550
144
+ 650 550 650 550 650 550
145
+ 1200 1150 650 550 1250 1150
149
+ 6000 1150 1250 1150 650 500
150
+ 650 550 650 550 650 1150
151
+ 650 500 650 550 1250 1150
155
+ 6000 1150 1250 1100 650 550
156
+ 650 550 650 500 650 1150
157
+ 650 1150 650 1150 600 550
161
+ 6000 1150 1250 1150 650 500
162
+ 650 550 650 550 650 1150
163
+ 1200 550 650 1150 650 1150
167
+ 6000 1100 1250 1150 650 550
168
+ 650 500 650 550 650 1150
169
+ 1250 1100 650 1150 1250 550
173
+ 6000 1150 1250 1100 650 550
174
+ 650 550 650 550 1200 550
175
+ 650 550 650 1150 1200 550
179
+ 6000 1100 1300 1100 650 550
180
+ 650 550 650 500 1250 550
181
+ 650 1150 650 1150 1200 1150
185
+ 6000 1150 1250 1150 650 500
186
+ 650 550 650 1150 650 550
187
+ 650 1100 650 1150 1250 550
191
+ 6000 1100 1300 1100 650 550
192
+ 650 550 650 1100 650 550
193
+ 1250 550 650 1100 1250 1150
197
+ 6000 1100 1300 1100 650 550
198
+ 650 550 650 500 1250 1150
199
+ 1250 1150 1200 1150 650 550
203
+ 6000 1100 1300 1100 650 550
204
+ 650 550 1250 500 1250 550
205
+ 650 550 650 550 600 550
209
+ 6000 1100 1300 1100 650 550
210
+ 650 550 1250 500 650 550
211
+ 650 1150 1250 500 1250 1150
215
+ 6000 1150 1250 1100 650 550
216
+ 650 550 1250 500 650 550
217
+ 1250 550 1250 1150 600 550
221
+ 6000 1150 1250 1150 650 500
222
+ 700 500 1250 550 650 550
223
+ 1250 1100 1250 1150 650 1150
227
+ 6000 1150 1250 1100 650 550
228
+ 650 550 1250 500 650 1150
229
+ 650 550 1250 1100 650 1150
233
+ 6000 1150 1250 1100 700 500
234
+ 650 550 1250 550 650 1100
235
+ 650 1150 1250 1150 1200 550
239
+ 6000 1150 1250 1150 650 500
240
+ 650 550 1250 550 1250 550
241
+ 600 1150 650 550 650 1150
245
+ 6050 1100 1250 1150 650 500
246
+ 650 550 1250 550 1250 550
247
+ 1200 550 650 550 1250 550
251
+ 6000 1100 1250 1150 650 550
252
+ 650 500 1250 550 1250 1150
253
+ 1250 500 650 1150 650 1150
257
+ 6000 1150 1250 1150 650 500
258
+ 700 500 1250 550 650 1150
259
+ 1200 1150 650 550 650 550
263
+ 6000 1150 1250 1100 650 550
264
+ 1250 550 650 550 650 500
265
+ 650 550 1250 1150 1250 500
269
+ 6000 1150 1250 1150 650 500
270
+ 650 550 1250 550 650 1150
271
+ 1200 550 1250 1150 1250 1100
275
+ 6000 1100 1250 1150 650 550
276
+ 650 500 650 550 1250 1150
277
+ 1250 550 1200 550 1250 1150
281
+ 6000 1100 1300 1100 650 550
282
+ 650 500 700 500 1250 1150
283
+ 650 1150 1200 550 1250 550
289
diff -urNad lirc-0.8.4a~/transmitters/dish/general.conf lirc-0.8.4a/transmitters/dish/general.conf
290
--- lirc-0.8.4a~/transmitters/dish/general.conf 1969-12-31 18:00:00.000000000 -0600
291
+++ lirc-0.8.4a/transmitters/dish/general.conf 2008-11-08 19:23:59.000000000 -0600
293
+# This config file is based on the information posted by Endaf Jones at
294
+# http://www.gossamer-threads.com/lists/mythtv/users/196566#196566
297
+# model no. of remote control:
298
+# supported devices: Dish Network (Echostar)
299
+# - JVC 2700 receiver
300
+# - JVC 4700 receiver
301
+# - JVC 49xx receiver
302
+# - JVC 50xx receiver
303
+# - RCA 31x receiver
304
+# and several other Dish receivers using the
305
+# "blue button" remotes
307
+# Unit code selection (1-16) is performed by specifying the appropriate
308
+# value for post_data
309
+# 1=0x000 2=0x200 3=0x100 4=0x300
310
+# 5=0x080 6=0x280 7=0x180 8=0x380
311
+# 9=0x040 10=0x240 11=0x140 12=0x340
312
+# 13=0x0C0 14=0x2C0 15=0x1C0 16=0x3C0
314
+# Each has been implemented in this config file with the remote names "dish#"
315
+# where the hash/pound/number sign ("#") is a code number from 1 through 16.
316
+# There is also a remote called "dish" (without a number), for users with only
317
+# one receiver, that uses remote code 1 (DISH's default).
319
+# The duty_cycle (the percentage of time during a pulse that infrared light is
320
+# being sent) is commented because some hardware transmitters don't support its
323
+# The discrete power functions (power_on and power_off) can be used to ensure
324
+# the power state of the receiver. However, they probably shouldn't be used in
325
+# a channel change script as the receiver will require a significant delay
326
+# after a power_on before it is capable of receiving/responding to additional
327
+# commands (such as channel numbers). Instead, assuming most of your recording
328
+# is during prime-time, you may want to set a cron job to run a "power_on"
329
+# command for each of your receivers about 5 or 10 minutes before primtetime.
332
+### Remote definition for remotes using remote code 1 (0x000)
336
+ flags SPACE_ENC|NO_HEAD_REP
396
+### Remote definition for remotes using remote code 1 (0x000)
397
+### (Duplicated to allow a "dish" and a "dish1" remote name)
401
+ flags SPACE_ENC|NO_HEAD_REP
470
+### Remote definition for remotes using remote code 2 (0x200)
474
+ flags SPACE_ENC|NO_HEAD_REP
543
+### Remote definition for remotes using remote code 3 (0x100)
547
+ flags SPACE_ENC|NO_HEAD_REP
616
+### Remote definition for remotes using remote code 4 (0x300)
620
+ flags SPACE_ENC|NO_HEAD_REP
689
+### Remote definition for remotes using remote code 5 (0x080)
693
+ flags SPACE_ENC|NO_HEAD_REP
762
+### Remote definition for remotes using remote code 6 (0x280)
766
+ flags SPACE_ENC|NO_HEAD_REP
835
+### Remote definition for remotes using remote code 7 (0x180)
839
+ flags SPACE_ENC|NO_HEAD_REP
908
+### Remote definition for remotes using remote code 8 (0x380)
912
+ flags SPACE_ENC|NO_HEAD_REP
981
+### Remote definition for remotes using remote code 9 (0x040)
985
+ flags SPACE_ENC|NO_HEAD_REP
1054
+### Remote definition for remotes using remote code 10 (0x240)
1058
+ flags SPACE_ENC|NO_HEAD_REP
1127
+### Remote definition for remotes using remote code 11 (0x140)
1131
+ flags SPACE_ENC|NO_HEAD_REP
1200
+### Remote definition for remotes using remote code 12 (0x340)
1204
+ flags SPACE_ENC|NO_HEAD_REP
1273
+### Remote definition for remotes using remote code 13 (0x0C0)
1277
+ flags SPACE_ENC|NO_HEAD_REP
1346
+### Remote definition for remotes using remote code 14 (0x2C0)
1350
+ flags SPACE_ENC|NO_HEAD_REP
1419
+### Remote definition for remotes using remote code 15 (0x1C0)
1423
+ flags SPACE_ENC|NO_HEAD_REP
1492
+### Remote definition for remotes using remote code 16 (0x3C0)
1496
+ flags SPACE_ENC|NO_HEAD_REP
1565
diff -urNad lirc-0.8.4a~/transmitters/motorola/dctxxxx.conf lirc-0.8.4a/transmitters/motorola/dctxxxx.conf
1566
--- lirc-0.8.4a~/transmitters/motorola/dctxxxx.conf 1969-12-31 18:00:00.000000000 -0600
1567
+++ lirc-0.8.4a/transmitters/motorola/dctxxxx.conf 2008-11-08 19:23:59.000000000 -0600
1570
+# this config file was automatically generated
1571
+# using lirc-0.6.6(serial) on Fri Mar 28 22:46:44 2003
1573
+# contributed by shane bradley
1578
+# model no. of remote control: DCT2000
1579
+# devices being controlled by this remote:
1585
+ flags SPACE_ENC|CONST_LENGTH
1598
+ HELP 0x000000000000B3F2
1599
+ POWER 0x000000000000AFF9
1600
+ MUTE 0x0000000000000FF7
1601
+ PAGE+ 0x000000000000A3F3
1602
+ PAGE- 0x00000000000023FB
1603
+ LOCK 0x00000000000097F6
1604
+ EXIT 0x000000000000B7F4
1605
+ AUP 0x000000000000D3F6
1606
+ ADOWN 0x00000000000053FE
1607
+ ALEFT 0x00000000000093F1
1608
+ ARIGHT 0x00000000000013F9
1609
+ OK 0x00000000000077F8
1610
+ GUIDE 0x000000000000F3F4
1611
+ MENU 0x00000000000067F9
1612
+ VOL+ 0x0000000000004FF3
1613
+ VOL- 0x0000000000008FFB
1614
+ LAST 0x00000000000037FC
1615
+ FAV 0x00000000000057FA
1616
+ CH+ 0x0000000000002FF5
1617
+ CH- 0x000000000000CFFD
1618
+ A 0x00000000000017FE
1619
+ B 0x0000000000001BF1
1620
+ C 0x000000000000EBF9
1621
+ 1 0x0000000000007FF0
1622
+ 2 0x000000000000BFF8
1623
+ 3 0x0000000000003FF4
1624
+ 4 0x000000000000DFFC
1625
+ 5 0x0000000000005FF2
1626
+ 6 0x0000000000009FFA
1627
+ 7 0x0000000000001FF6
1628
+ 8 0x000000000000EFFE
1629
+ 9 0x0000000000006FF1
1630
+ 0 0x000000000000FFFF
1631
+ BYPASS 0x000000000000D7F2
1632
+ MUSIC 0x000000000000F7F0
1633
+ STOP 0x00000000000063FD
1634
+ PAUSE 0x00000000000007FF
1635
+ PLAY 0x000000000000E3F5
1636
+ REW 0x00000000000087F7
1637
+ REC 0x00000000000073FC
1638
+ FFWD 0x00000000000047FB
1642
diff -urNad lirc-0.8.4a~/transmitters/pioneer/general.conf lirc-0.8.4a/transmitters/pioneer/general.conf
1643
--- lirc-0.8.4a~/transmitters/pioneer/general.conf 1969-12-31 18:00:00.000000000 -0600
1644
+++ lirc-0.8.4a/transmitters/pioneer/general.conf 2008-11-08 19:23:59.000000000 -0600
1647
+# this config file was automatically generated
1648
+# using lirc-0.6.6(act200l) on Wed Apr 7 18:14:45 2004
1650
+# contributed by william nolan (will|willnolan.com)
1652
+# number codes denoised and rationalized by joe pierce (joe|joepierce.org)
1654
+# brand: Time Warner Digital Cable
1655
+# model no. of remote control: UR4-P360 (http://www.twalbany.com/digitalentertainment/ur4-p360.php)
1656
+# devices being controlled by this remote: Pioneer Voyager digital cable
1658
+# notes: I'm not sure if this remote is used by all TW digital cable boxes,
1659
+# but this one works with the ones used by TW in the New York area.
1660
+# I was able to capture the commands with an Actisys IR-200L but not able
1661
+# to transmit with it. I built the simple circuit in the LIRC documentation
1662
+# and have been successfully using it to control the set top box ever since.
1668
+ flags SPACE_ENC|CONST_LENGTH
1729
+ name TWC_UR4-P360-SONY
1731
+ flags SPACE_ENC|CONST_LENGTH
1753
diff -urNad lirc-0.8.4a~/transmitters/scientificatlanta/general.conf lirc-0.8.4a/transmitters/scientificatlanta/general.conf
1754
--- lirc-0.8.4a~/transmitters/scientificatlanta/general.conf 1969-12-31 18:00:00.000000000 -0600
1755
+++ lirc-0.8.4a/transmitters/scientificatlanta/general.conf 2008-11-08 19:23:59.000000000 -0600
1758
+# this config file was automatically generated
1759
+# using lirc-0.6.6(sir) on Wed Mar 24 22:28:59 2004
1761
+# Modified by Stephane Lavergne <stephane|iMars.com>:
1762
+# Base frequency is 56kHz, irrecord was otherwise right on.
1766
+# brand: Scientific Atlanta
1767
+# model no. of remote control: AT8400
1768
+# devices being controlled by this remote: Explorer 8000
1775
+ flags SPACE_ENC|CONST_LENGTH
1789
+ power 0x000000000037C107
1790
+ guide 0x000000000036C127
1791
+ menu 0x000000000036F920
1792
+ info 0x000000000036213B
1793
+ select_up 0x000000000036812F
1794
+ select_down 0x000000000037A10B
1795
+ select 0x0000000000366133
1796
+ select_left 0x000000000037810F
1797
+ select_right 0x0000000000364137
1798
+ select_page+ 0x000000000036D924
1799
+ select_page- 0x000000000037D904
1800
+ exit 0x0000000000366932
1801
+ settings 0x0000000000373918
1802
+ A 0x000000000037E902
1803
+ B 0x000000000036193C
1804
+ C 0x000000000037191C
1805
+ vol+ 0x000000000036093E
1806
+ vol- 0x000000000037091E
1807
+ ch+ 0x0000000000377111
1808
+ ch- 0x000000000036F121
1809
+ mute 0x000000000036892E
1810
+ fav 0x000000000037F101
1811
+ last 0x000000000036E123
1812
+ rew8secs 0x000000000037C906
1813
+ list 0x000000000036C926
1814
+ live 0x000000000036B129
1815
+ rew 0x000000000037291A
1816
+ ff 0x000000000036293A
1817
+ play 0x000000000037990C
1818
+ stop 0x0000000000365934
1819
+ pause 0x0000000000374117
1820
+ rec 0x0000000000375914
1821
+ 1 0x000000000036113D
1822
+ 2 0x000000000037111D
1823
+ 3 0x000000000036912D
1824
+ 4 0x000000000037910D
1825
+ 5 0x0000000000365135
1826
+ 6 0x0000000000375115
1827
+ 7 0x000000000036D125
1828
+ 8 0x000000000037D105
1829
+ 9 0x0000000000363139
1830
+ asterisk 0x000000000037E103
1831
+ 0 0x0000000000373119
1832
+ pound 0x000000000036B928
1833
+ pip_power 0x000000000037B908
1834
+ pip_swap 0x0000000000367930
1835
+ pip_move 0x0000000000377910
1836
+ pip_ch+ 0x000000000036E922
1837
+ pip_ch- 0x000000000037F900
1838
+ video_source 0x0000000000376113
1842
diff -urNad lirc-0.8.4a~/transmitters/sky/general.conf lirc-0.8.4a/transmitters/sky/general.conf
1843
--- lirc-0.8.4a~/transmitters/sky/general.conf 1969-12-31 18:00:00.000000000 -0600
1844
+++ lirc-0.8.4a/transmitters/sky/general.conf 2008-11-08 19:23:59.000000000 -0600
1847
+# this config file was automatically generated
1848
+# using lirc-0.8.0(userspace) on Fri Jul 28 02:45:39 2006
1850
+# contributed by Lloyd Williams <binary_frog|chatcircuit.com>
1853
+# model no. of remote control: URC 1650-00 B00 - 9RC16P-1014 Sky+ Rev 6
1854
+# devices being controlled by this remote: SKY+ DVB-S receiver & PVR
1861
+ flags RC6|CONST_LENGTH