summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/lirc-utils/lirc_atiusb.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-26 14:51:15 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-26 14:51:15 (GMT)
commit1fbe01541896926d3e21e8a44a3dcc62c75b98f3 (patch)
tree80400f5a9b379afc8f99ef5f4ec69321e71ac00f /abs/core-testing/lirc-utils/lirc_atiusb.patch
parent7409ba827e906b48e3247612671255647580b83b (diff)
parent373b3b24f320a2aa8e011b0e773f9067028a006e (diff)
downloadlinhes_pkgbuild-1fbe01541896926d3e21e8a44a3dcc62c75b98f3.zip
linhes_pkgbuild-1fbe01541896926d3e21e8a44a3dcc62c75b98f3.tar.gz
linhes_pkgbuild-1fbe01541896926d3e21e8a44a3dcc62c75b98f3.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD.git
Diffstat (limited to 'abs/core-testing/lirc-utils/lirc_atiusb.patch')
-rw-r--r--abs/core-testing/lirc-utils/lirc_atiusb.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/core-testing/lirc-utils/lirc_atiusb.patch b/abs/core-testing/lirc-utils/lirc_atiusb.patch
new file mode 100644
index 0000000..2f0c61e
--- /dev/null
+++ b/abs/core-testing/lirc-utils/lirc_atiusb.patch
@@ -0,0 +1,27 @@
+diff -ruaN lirc-0.8.4.orig/drivers/lirc_atiusb/lirc_atiusb.c lirc-0.8.4/drivers/lirc_atiusb/lirc_atiusb.c
+--- lirc-0.8.4.orig/drivers/lirc_atiusb/lirc_atiusb.c 2008-05-19 08:10:35.000000000 +0000
++++ lirc-0.8.4/drivers/lirc_atiusb/lirc_atiusb.c 2009-02-14 22:35:44.000000000 +0000
+@@ -192,8 +192,9 @@
+ /* init strings */
+ #define USB_OUTLEN 7
+
+-static char init1[] = {0x01, 0x00, 0x20, 0x14};
+-static char init2[] = {0x01, 0x00, 0x20, 0x14, 0x20, 0x20, 0x20};
++static char init1[] = {0x80, 0x05, 0x1b, 0x15, 0x14, 0x20, 0x24, 0x15};
++static char init2[] = {0x83, 0x03};
++static char init3[] = {0x84, 0xd7, 0x020};
+
+ struct in_endpt {
+ /* inner link in list of endpoints for the remote specified by ir */
+@@ -1183,8 +1184,9 @@
+ oep->buf, USB_OUTLEN, usb_remote_send,
+ oep, oep->ep->bInterval);
+
+- send_packet(oep, 0x8004, init1);
+- send_packet(oep, 0x8007, init2);
++ send_packet(oep, 0x8007, init1);
++ send_packet(oep, 0x8002, init2);
++ send_packet(oep, 0x8003, init3);
+ }
+ }
+