From f2a93c81238f7310af56f5f5e6c498f86d96f497 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Thu, 19 Feb 2009 23:57:45 -0800
Subject: Added support for TatIR remote.

---
 abs/core-testing/LinHES-config/PKGBUILD                          | 2 +-
 abs/core-testing/LinHES-config/install_functions.sh              | 4 ++++
 abs/core-testing/LinHES-config/templates/remotes/receiver_usb.id | 1 +
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index fae21c4..37aea87 100755
--- a/abs/core-testing/LinHES-config/PKGBUILD
+++ b/abs/core-testing/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=1.0
-pkgrel=280
+pkgrel=281
 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev )
 pkgdesc="Install and configure your system"
 depends=(bc libstatgrab  mysql-python expect curl dnsutils parted sg3_utils nmbscan )
diff --git a/abs/core-testing/LinHES-config/install_functions.sh b/abs/core-testing/LinHES-config/install_functions.sh
index a88e515..2a306b1 100755
--- a/abs/core-testing/LinHES-config/install_functions.sh
+++ b/abs/core-testing/LinHES-config/install_functions.sh
@@ -67,6 +67,10 @@ function setupremote {
         else
                 /usr/sbin/lircd  -d /dev/lirc0
         fi
+        if [ x$Remotetype = "tatir" ]
+        then
+                /usr/bin/PyroUsb.py
+	fi
         [ -e /root/.mythtv ] ||  mkdir /root/.mythtv 2>/dev/null
         ln -s /etc/lircrc /root/.mythtv/lircrc 2>/dev/null
     else
diff --git a/abs/core-testing/LinHES-config/templates/remotes/receiver_usb.id b/abs/core-testing/LinHES-config/templates/remotes/receiver_usb.id
index 71b37d1..dd78944 100644
--- a/abs/core-testing/LinHES-config/templates/remotes/receiver_usb.id
+++ b/abs/core-testing/LinHES-config/templates/remotes/receiver_usb.id
@@ -31,3 +31,4 @@
 1784:0007|mceusb|  "Topseed HP eHome Infrared Transceiver 1784/0007"
 1784:0008|mceusb|  "Topseed eHome Infrared Transceiver 1784/0008"
 045e:006d|mceusb-old|  "USB Microsoft IR Transceiver Driver 045e/006d"
+04db:0004|tatir|  "Microchip Technology, Inc"
-- 
cgit v0.12

