2021-05-22 07:16:40 +01:00
|
|
|
From 3df6111e2ffaf7a57dd245a9df1997f773840b74 Mon Sep 17 00:00:00 2001
|
2021-02-20 08:39:12 +00:00
|
|
|
From: =?UTF-8?q?Felix=20H=C3=A4dicke?= <felixhaedicke@web.de>
|
|
|
|
|
Date: Thu, 19 Nov 2020 09:22:32 +0100
|
2021-05-22 07:16:40 +01:00
|
|
|
Subject: [PATCH 2/2] HID: quirks: Add Apple Magic Trackpad 2 to
|
2021-02-20 08:39:12 +00:00
|
|
|
hid_have_special_driver list
|
|
|
|
|
MIME-Version: 1.0
|
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
|
|
The Apple Magic Trackpad 2 is handled by the magicmouse driver. And
|
|
|
|
|
there were severe stability issues when both drivers (hid-generic and
|
|
|
|
|
hid-magicmouse) were loaded for this device.
|
|
|
|
|
|
|
|
|
|
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=210241
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Felix Hädicke <felixhaedicke@web.de>
|
|
|
|
|
---
|
|
|
|
|
drivers/hid/hid-quirks.c | 2 ++
|
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
|
|
|
|
|
diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c
|
|
|
|
|
index bf7ecab5d9e5..142e9dae2837 100644
|
|
|
|
|
--- a/drivers/hid/hid-quirks.c
|
|
|
|
|
+++ b/drivers/hid/hid-quirks.c
|
|
|
|
|
@@ -478,6 +478,8 @@ static const struct hid_device_id hid_have_special_driver[] = {
|
|
|
|
|
#if IS_ENABLED(CONFIG_HID_MAGICMOUSE)
|
|
|
|
|
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MAGICMOUSE) },
|
|
|
|
|
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MAGICTRACKPAD) },
|
|
|
|
|
+ { HID_BLUETOOTH_DEVICE(BT_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) },
|
|
|
|
|
+ { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) },
|
|
|
|
|
#endif
|
|
|
|
|
#if IS_ENABLED(CONFIG_HID_MAYFLASH)
|
|
|
|
|
{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_PS3) },
|
|
|
|
|
--
|
2021-05-22 07:16:40 +01:00
|
|
|
2.31.1
|
2021-02-20 08:39:12 +00:00
|
|
|
|