summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts/services/lircd
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-29 21:16:48 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-29 21:16:48 (GMT)
commit1a0666f61207432bdad49c494c16ccd1d06ba4b9 (patch)
tree425cd0313a05202e4511bcc245043c8268779665 /abs/core-testing/runit-scripts/runitscripts/services/lircd
parentc93b924dcc87709cb91e6d3a454c24fdba8779ce (diff)
downloadlinhes_pkgbuild-1a0666f61207432bdad49c494c16ccd1d06ba4b9.zip
linhes_pkgbuild-1a0666f61207432bdad49c494c16ccd1d06ba4b9.tar.gz
linhes_pkgbuild-1a0666f61207432bdad49c494c16ccd1d06ba4b9.tar.bz2
Dvico remote is now a special case if detected.
Closes FS#24 pending feedback
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts/services/lircd')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/lircd/run11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/lircd/run b/abs/core-testing/runit-scripts/runitscripts/services/lircd/run
index 4457b37..57b1b48 100755
--- a/abs/core-testing/runit-scripts/runitscripts/services/lircd/run
+++ b/abs/core-testing/runit-scripts/runitscripts/services/lircd/run
@@ -2,6 +2,16 @@
exec 2>&1
run_lircd2=false
. /etc/systemconfig
+
+function dvico_detect {
+
+
+ if [ x$Remotetype = "dvico" ]
+ then
+ DEVICE="/dev/usb/hiddev0"
+ fi
+}
+
function imon_detect {
if [ -e /dev/lirc_imon ]
then
@@ -27,6 +37,7 @@ case $ReceiverType in
DEVICE=`ls /dev/lirc[0-9] 2>/dev/null |sort |sed '/./,$!d'|head -n 1 `
imon_detect
+ dvico_detect
;;
esac