From 511051f96433477c4b6ceb9a094f08f6aab524c1 Mon Sep 17 00:00:00 2001 From: David P Date: Tue, 12 Jan 2021 19:06:05 -0500 Subject: updpkg: libre/linux-libre 5.10.6-1 Signed-off-by: David P --- ...Add-Apple-Magic-Trackpad-2-to-hid_have_sp.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 libre/linux-libre/0002-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_sp.patch (limited to 'libre/linux-libre/0002-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_sp.patch') diff --git a/libre/linux-libre/0002-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_sp.patch b/libre/linux-libre/0002-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_sp.patch new file mode 100644 index 000000000..e4a5dd4bc --- /dev/null +++ b/libre/linux-libre/0002-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_sp.patch @@ -0,0 +1,36 @@ +From eeab2ccf0d788a6895b3b9a21c505d78ceec43e0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Felix=20H=C3=A4dicke?= +Date: Thu, 19 Nov 2020 09:22:32 +0100 +Subject: [PATCH 2/5] HID: quirks: Add Apple Magic Trackpad 2 to + 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 +--- + 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) }, +-- +2.30.0 + -- cgit v1.2.3