From 0095fe3abc6d4adc5569841721d45a7bc12d4eaa Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Thu, 14 Feb 2013 12:56:42 +0200 Subject: [PATCH] linux: add patch to support the newest wii source: https://patchwork.kernel.org/patch/1624551/ --- .../3.7.7/linux-990.05-new-wiimote.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 packages/linux/patches/3.7.7/linux-990.05-new-wiimote.patch diff --git a/packages/linux/patches/3.7.7/linux-990.05-new-wiimote.patch b/packages/linux/patches/3.7.7/linux-990.05-new-wiimote.patch new file mode 100644 index 0000000000..8c457411ff --- /dev/null +++ b/packages/linux/patches/3.7.7/linux-990.05-new-wiimote.patch @@ -0,0 +1,25 @@ +diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h +index 753f3d6..b5c2231 100644 +--- a/drivers/hid/hid-ids.h ++++ b/drivers/hid/hid-ids.h +@@ -583,6 +583,7 @@ + + #define USB_VENDOR_ID_NINTENDO 0x057e + #define USB_DEVICE_ID_NINTENDO_WIIMOTE 0x0306 ++#define USB_DEVICE_ID_NINTENDO_WIIMOTE_2 0x0330 + + #define USB_VENDOR_ID_NOVATEK 0x0603 + #define USB_DEVICE_ID_NOVATEK_PCT 0x0600 +diff --git a/drivers/hid/hid-wiimote-core.c b/drivers/hid/hid-wiimote-core.c +index 84e2fbe..c8a4325 100644 +--- a/drivers/hid/hid-wiimote-core.c ++++ b/drivers/hid/hid-wiimote-core.c +@@ -1283,6 +1283,8 @@ static void wiimote_hid_remove(struct hid_device *hdev) + static const struct hid_device_id wiimote_hid_devices[] = { + { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_NINTENDO, + USB_DEVICE_ID_NINTENDO_WIIMOTE) }, ++ { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_NINTENDO, ++ USB_DEVICE_ID_NINTENDO_WIIMOTE_2) }, + { } + }; + MODULE_DEVICE_TABLE(hid, wiimote_hid_devices);