Regression 2.6.31: Mighty Mouse no longer works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This was caused by commit fa047e4f6fa63a6e9d0ae4d7749538830d14a343 which removed
the whole mighty mouse support. The Mighty Mouse was working fine before that
change. What's really unnecessary is that axes quirk. The patch below restores
the entry partially and makes it work again.

Cheers,

Ortwin



>From 9b59854782833766f1e10bf3363f9d7c320dff78 Mon Sep 17 00:00:00 2001
From: Ortwin Glueck <odi@xxxxxx>
Date: Wed, 15 Jul 2009 00:08:09 +0200
Subject: HID: re-add support for apple mighty mouse

commit fa047e4f6fa63a6e9d0ae4d7749538830d14a343 removed the whole mighty mouse
support instead of just removing a single quirk.

Signed-of-by: Ortwin Glueck <odi@xxxxxx>
---
 drivers/hid/hid-apple.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c
index 303ccce..b0d9bbb 100644
--- a/drivers/hid/hid-apple.c
+++ b/drivers/hid/hid-apple.c
@@ -436,6 +436,10 @@ static const struct hid_device_id apple_devices[] = {
        { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER1_TP_ONLY),
                .driver_data = APPLE_NUMLOCK_EMULATION | APPLE_HAS_FN },

+       /* Apple wireless Mighty Mouse */
+       { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, 0x030c),
+               .driver_data = APPLE_MIGHTYMOUSE },
+
        { }
 };
 MODULE_DEVICE_TABLE(hid, apple_devices);
--
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux