diff options
author | David P <megver83@parabola.nu> | 2020-12-02 19:35:33 -0500 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2020-12-02 19:35:33 -0500 |
commit | a4fb9f64337d4ebe3ed18527cf18b7c8279dbdef (patch) | |
tree | 74912c235be6dbf08a414cadb65acb4df1c38dbc /libre/linux-libre/0004-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_sp.patch | |
parent | 5eed4b01152de76a914d57908ed0b084df433896 (diff) | |
download | abslibre-a4fb9f64337d4ebe3ed18527cf18b7c8279dbdef.tar.gz abslibre-a4fb9f64337d4ebe3ed18527cf18b7c8279dbdef.tar.bz2 abslibre-a4fb9f64337d4ebe3ed18527cf18b7c8279dbdef.zip |
updpkg: libre/linux-libre 5.9.12-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/linux-libre/0004-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_sp.patch')
-rw-r--r-- | libre/linux-libre/0004-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_sp.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libre/linux-libre/0004-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_sp.patch b/libre/linux-libre/0004-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_sp.patch new file mode 100644 index 000000000..e8cab4a1c --- /dev/null +++ b/libre/linux-libre/0004-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_sp.patch @@ -0,0 +1,36 @@ +From b8c149d9a7cf8ec50440d0dcd90ff754ba72b616 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Felix=20H=C3=A4dicke?= <felixhaedicke@web.de> +Date: Thu, 19 Nov 2020 09:22:32 +0100 +Subject: [PATCH 4/4] 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 <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) }, +-- +2.29.2 + |