summaryrefslogtreecommitdiff
path: root/lirc
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
committerChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
commitf96441b9faf769c9ecdd4d338b605ea3d0cc4010 (patch)
treeedb17ec2c4ea13c5acb1c7350957a249a820e28d /lirc
parentb6588aa6851fb220cedc387d21c51513ef8d67f4 (diff)
Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches.
BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA
Diffstat (limited to 'lirc')
-rw-r--r--lirc/files/lircd.init38
-rw-r--r--lirc/files/lircmd.init38
-rw-r--r--lirc/files/split-hauppauge.patch141
3 files changed, 217 insertions, 0 deletions
diff --git a/lirc/files/lircd.init b/lirc/files/lircd.init
index e69de29bb2..b37cc2722f 100644
--- a/lirc/files/lircd.init
+++ b/lirc/files/lircd.init
@@ -0,0 +1,38 @@
+#! /bin/sh
+#
+# This is an init script for Familiar
+# Copy it to /etc/init.d/lirc and type
+# > update-rc.d lirc defaults 20
+#
+
+
+test -f /usr/bin/lircd || exit 0
+
+case "$1" in
+ start)
+ echo -n "Starting lirc daemon: lircd"
+ start-stop-daemon --start --quiet --exec /usr/bin/lircd -- --device=/dev/lirc
+ echo "."
+ ;;
+ stop)
+ echo -n "Stopping lirc daemon: lircd"
+ start-stop-daemon --stop --quiet --exec /usr/bin/lircd
+ echo "."
+ ;;
+ reload|force-reload)
+ start-stop-daemon --stop --quiet --signal 1 --exec /usr/bin/lircd
+ ;;
+ restart)
+ echo -n "Stopping lirc daemon: lircd"
+ start-stop-daemon --stop --quiet --exec /usr/bin/lircd
+ sleep 1
+ echo -n "Starting lirc daemon: lircd"
+ start-stop-daemon --start --quiet --exec /usr/bin/lircd -- --device=/dev/lirc
+ echo "."
+ ;;
+ *)
+ echo "Usage: /etc/init.d/lircd {start|stop|reload|restart|force-reload}"
+ exit 1
+esac
+
+exit 0
diff --git a/lirc/files/lircmd.init b/lirc/files/lircmd.init
index e69de29bb2..16296f41d9 100644
--- a/lirc/files/lircmd.init
+++ b/lirc/files/lircmd.init
@@ -0,0 +1,38 @@
+#! /bin/sh
+#
+# This is an init script for Familiar
+# Copy it to /etc/init.d/lirc and type
+# > update-rc.d lirc defaults 20
+#
+
+
+test -f /usr/bin/lircmd || exit 0
+
+case "$1" in
+ start)
+ echo -n "Starting lirc daemon: lircmd"
+ start-stop-daemon --start --quiet --exec /usr/bin/lircmd
+ echo "."
+ ;;
+ stop)
+ echo -n "Stopping lirc daemon: lircmd"
+ start-stop-daemon --stop --quiet --exec /usr/bin/lircmd
+ echo "."
+ ;;
+ reload|force-reload)
+ start-stop-daemon --stop --quiet --signal 1 --exec /usr/bin/lircmd
+ ;;
+ restart)
+ echo -n "Stopping lirc daemon: lircmd"
+ start-stop-daemon --stop --quiet --exec /usr/bin/lircmd
+ sleep 1
+ echo -n "Starting lirc daemon: lircmd"
+ start-stop-daemon --start --quiet --exec /usr/bin/lircmd
+ echo "."
+ ;;
+ *)
+ echo "Usage: /etc/init.d/lircmd {start|stop|reload|restart|force-reload}"
+ exit 1
+esac
+
+exit 0
diff --git a/lirc/files/split-hauppauge.patch b/lirc/files/split-hauppauge.patch
index e69de29bb2..170a233ffb 100644
--- a/lirc/files/split-hauppauge.patch
+++ b/lirc/files/split-hauppauge.patch
@@ -0,0 +1,141 @@
+--- lirc/remotes/hauppauge/lircd.conf.hauppauge~ 2003-05-03 15:42:30.000000000 +0100
++++ lirc/remotes/hauppauge/lircd.conf.hauppauge 2004-10-10 20:14:14.000000000 +0100
+@@ -51,71 +51,3 @@
+ end codes
+
+ end remote
+-
+-
+-#
+-# this config file was automatically generated
+-# using lirc-0.6.6(animax) on Tue Apr 15 19:50:27 2003
+-#
+-# contributed by
+-#
+-# brand: Hauppauge
+-# model no. of remote control:
+-# devices being controlled by this remote: PVR 2/350
+-#
+-
+-begin remote
+-
+- name hauppauge_pvr
+- bits 13
+- flags RC5|CONST_LENGTH
+- eps 30
+- aeps 100
+-
+- one 969 811
+- zero 969 811
+- plead 1097
+- gap 114605
+- toggle_bit 2
+-
+-
+- begin codes
+- Power 0x00000000000017FD
+- Go 0x00000000000017FB
+- 1 0x00000000000017C1
+- 2 0x00000000000017C2
+- 3 0x00000000000017C3
+- 4 0x00000000000017C4
+- 5 0x00000000000017C5
+- 6 0x00000000000017C6
+- 7 0x00000000000017C7
+- 8 0x00000000000017C8
+- 9 0x00000000000017C9
+- Back/Exit 0x00000000000017DF
+- 0 0x00000000000017C0
+- Menu 0x00000000000017CD
+- Red 0x00000000000017CB
+- Green 0x00000000000017EE
+- Yellow 0x00000000000017F8
+- Blue 0x00000000000017E9
+- Ch+ 0x00000000000017E0
+- Ch- 0x00000000000017E1
+- Vol- 0x00000000000017D1
+- Vol+ 0x00000000000017D0
+- Ok 0x00000000000017E5
+- Mute 0x00000000000017CF
+- Blank 0x00000000000017CC
+- Full 0x00000000000017FC
+- Rewind 0x00000000000017F2
+- Play 0x00000000000017F5
+- Forward 0x00000000000017F4
+- Record 0x00000000000017F7
+- Stop 0x00000000000017F6
+- Pause 0x00000000000017F0
+- Replay 0x00000000000017E4
+- Skip 0x00000000000017DE
+- end codes
+-
+-end remote
+-
+-
+--- /dev/null 2004-06-13 02:32:19.000000000 +0100
++++ lirc/remotes/hauppauge/lircd.conf.hauppauge-pvr 2004-10-10 20:14:05.000000000 +0100
+@@ -0,0 +1,64 @@
++#
++# this config file was automatically generated
++# using lirc-0.6.6(animax) on Tue Apr 15 19:50:27 2003
++#
++# contributed by
++#
++# brand: Hauppauge
++# model no. of remote control:
++# devices being controlled by this remote: PVR 2/350
++#
++
++begin remote
++
++ name hauppauge_pvr
++ bits 13
++ flags RC5|CONST_LENGTH
++ eps 30
++ aeps 100
++
++ one 969 811
++ zero 969 811
++ plead 1097
++ gap 114605
++ toggle_bit 2
++
++
++ begin codes
++ Power 0x00000000000017FD
++ Go 0x00000000000017FB
++ 1 0x00000000000017C1
++ 2 0x00000000000017C2
++ 3 0x00000000000017C3
++ 4 0x00000000000017C4
++ 5 0x00000000000017C5
++ 6 0x00000000000017C6
++ 7 0x00000000000017C7
++ 8 0x00000000000017C8
++ 9 0x00000000000017C9
++ Back/Exit 0x00000000000017DF
++ 0 0x00000000000017C0
++ Menu 0x00000000000017CD
++ Red 0x00000000000017CB
++ Green 0x00000000000017EE
++ Yellow 0x00000000000017F8
++ Blue 0x00000000000017E9
++ Ch+ 0x00000000000017E0
++ Ch- 0x00000000000017E1
++ Vol- 0x00000000000017D1
++ Vol+ 0x00000000000017D0
++ Ok 0x00000000000017E5
++ Mute 0x00000000000017CF
++ Blank 0x00000000000017CC
++ Full 0x00000000000017FC
++ Rewind 0x00000000000017F2
++ Play 0x00000000000017F5
++ Forward 0x00000000000017F4
++ Record 0x00000000000017F7
++ Stop 0x00000000000017F6
++ Pause 0x00000000000017F0
++ Replay 0x00000000000017E4
++ Skip 0x00000000000017DE
++ end codes
++
++end remote