mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
linux: update spinelplus remote patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
c317187062
commit
c8a14310e0
@ -1,19 +1,20 @@
|
||||
diff -Naur linux-3.2/drivers/hid/hid-ids.h linux-3.2.patch/drivers/hid/hid-ids.h
|
||||
--- linux-3.2/drivers/hid/hid-ids.h 2012-01-05 00:55:44.000000000 +0100
|
||||
+++ linux-3.2.patch/drivers/hid/hid-ids.h 2012-01-05 20:09:15.707390369 +0100
|
||||
@@ -567,6 +567,8 @@
|
||||
diff -Naur linux-3.2.7/drivers/hid/hid-ids.h linux-3.2.7.patch/drivers/hid/hid-ids.h
|
||||
--- linux-3.2.7/drivers/hid/hid-ids.h 2012-02-20 22:42:16.000000000 +0100
|
||||
+++ linux-3.2.7.patch/drivers/hid/hid-ids.h 2012-02-25 20:35:22.798844241 +0100
|
||||
@@ -577,6 +577,9 @@
|
||||
|
||||
#define USB_VENDOR_ID_PHILIPS 0x0471
|
||||
#define USB_DEVICE_ID_PHILIPS_IEEE802154_DONGLE 0x0617
|
||||
+#define USB_DEVICE_ID_PHILIPS_SPINEL_PLUS_1 0x206c
|
||||
+#define USB_DEVICE_ID_PHILIPS_SPINEL_PLUS_2 0x20cc
|
||||
+#define USB_DEVICE_ID_PHILIPS_SPINEL_PLUS_3 0x0613
|
||||
|
||||
#define USB_VENDOR_ID_PI_ENGINEERING 0x05f3
|
||||
#define USB_DEVICE_ID_PI_ENGINEERING_VEC_USB_FOOTPEDAL 0xff
|
||||
diff -Naur linux-3.2/drivers/hid/hid-spinelplus.c linux-3.2.patch/drivers/hid/hid-spinelplus.c
|
||||
--- linux-3.2/drivers/hid/hid-spinelplus.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ linux-3.2.patch/drivers/hid/hid-spinelplus.c 2012-01-06 20:23:30.709596152 +0100
|
||||
@@ -0,0 +1,102 @@
|
||||
diff -Naur linux-3.2.7/drivers/hid/hid-spinelplus.c linux-3.2.7.patch/drivers/hid/hid-spinelplus.c
|
||||
--- linux-3.2.7/drivers/hid/hid-spinelplus.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ linux-3.2.7.patch/drivers/hid/hid-spinelplus.c 2012-02-25 20:36:10.002787970 +0100
|
||||
@@ -0,0 +1,104 @@
|
||||
+/*
|
||||
+ * HID driver for "PHILIPS MCE USB IR Receiver- Spinel plus" remotes
|
||||
+ *
|
||||
@ -48,6 +49,7 @@ diff -Naur linux-3.2/drivers/hid/hid-spinelplus.c linux-3.2.patch/drivers/hid/hi
|
||||
+ case 0xffbc000d: spinelplus_map_key(KEY_MEDIA); break;
|
||||
+ case 0xffbc0024: spinelplus_map_key(KEY_MEDIA); break;
|
||||
+ case 0xffbc0027: spinelplus_map_key(KEY_ZOOM); break;
|
||||
+ case 0xffbc0033: spinelplus_map_key(KEY_HOME); break;
|
||||
+ case 0xffbc0035: spinelplus_map_key(KEY_CAMERA); break;
|
||||
+ case 0xffbc0036: spinelplus_map_key(KEY_EPG); break;
|
||||
+ case 0xffbc0037: spinelplus_map_key(KEY_DVD); break;
|
||||
@ -92,6 +94,7 @@ diff -Naur linux-3.2/drivers/hid/hid-spinelplus.c linux-3.2.patch/drivers/hid/hi
|
||||
+static const struct hid_device_id spinelplus_devices[] = {
|
||||
+ { HID_USB_DEVICE(USB_VENDOR_ID_PHILIPS,USB_DEVICE_ID_PHILIPS_SPINEL_PLUS_1) },
|
||||
+ { HID_USB_DEVICE(USB_VENDOR_ID_PHILIPS,USB_DEVICE_ID_PHILIPS_SPINEL_PLUS_2) },
|
||||
+ { HID_USB_DEVICE(USB_VENDOR_ID_PHILIPS,USB_DEVICE_ID_PHILIPS_SPINEL_PLUS_3) },
|
||||
+ { }
|
||||
+};
|
||||
+MODULE_DEVICE_TABLE(hid, spinelplus_devices);
|
||||
@ -116,10 +119,10 @@ diff -Naur linux-3.2/drivers/hid/hid-spinelplus.c linux-3.2.patch/drivers/hid/hi
|
||||
+module_init(spinelplus_init);
|
||||
+module_exit(spinelplus_exit);
|
||||
+MODULE_LICENSE("GPL");
|
||||
diff -Naur linux-3.2/drivers/hid/Kconfig linux-3.2.patch/drivers/hid/Kconfig
|
||||
--- linux-3.2/drivers/hid/Kconfig 2012-01-05 00:55:44.000000000 +0100
|
||||
+++ linux-3.2.patch/drivers/hid/Kconfig 2012-01-06 15:57:41.506995453 +0100
|
||||
@@ -538,6 +538,12 @@
|
||||
diff -Naur linux-3.2.7/drivers/hid/Kconfig linux-3.2.7.patch/drivers/hid/Kconfig
|
||||
--- linux-3.2.7/drivers/hid/Kconfig 2012-02-20 22:42:16.000000000 +0100
|
||||
+++ linux-3.2.7.patch/drivers/hid/Kconfig 2012-02-25 20:34:59.490378243 +0100
|
||||
@@ -540,6 +540,12 @@
|
||||
---help---
|
||||
Support for Speedlink Vicious and Divine Cezanne mouse.
|
||||
|
||||
@ -127,14 +130,14 @@ diff -Naur linux-3.2/drivers/hid/Kconfig linux-3.2.patch/drivers/hid/Kconfig
|
||||
+ tristate "Spinel Plus remote control"
|
||||
+ depends on USB_HID
|
||||
+ ---help---
|
||||
+ Say Y here if you have a Spinel Plus (0471:206c or 0471:20cc) remote
|
||||
+ Say Y here if you have a Spinel Plus (0471:206c/20cc/0613) remote
|
||||
+
|
||||
config HID_SUNPLUS
|
||||
tristate "Sunplus wireless desktop"
|
||||
depends on USB_HID
|
||||
diff -Naur linux-3.2/drivers/hid/Makefile linux-3.2.patch/drivers/hid/Makefile
|
||||
--- linux-3.2/drivers/hid/Makefile 2012-01-05 00:55:44.000000000 +0100
|
||||
+++ linux-3.2.patch/drivers/hid/Makefile 2012-01-06 15:57:20.878623877 +0100
|
||||
diff -Naur linux-3.2.7/drivers/hid/Makefile linux-3.2.7.patch/drivers/hid/Makefile
|
||||
--- linux-3.2.7/drivers/hid/Makefile 2012-02-20 22:42:16.000000000 +0100
|
||||
+++ linux-3.2.7.patch/drivers/hid/Makefile 2012-02-25 20:34:12.487438531 +0100
|
||||
@@ -67,6 +67,7 @@
|
||||
obj-$(CONFIG_HID_SMARTJOYPLUS) += hid-sjoy.o
|
||||
obj-$(CONFIG_HID_SONY) += hid-sony.o
|
||||
|
Loading…
x
Reference in New Issue
Block a user