# Regression 2.6.31: Mighty Mouse no longer works

- From: Ortwin Glück \<hidden\>
- Date: 2009-07-20 20:52:00 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2009/07/8911577
- Thread: https://ratatoskr.run/linux-input/2009/07/8911577/t.md

```text
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 <redacted>
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 [ref]
---
 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

```
