From patchwork Thu Nov 19 08:22:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Felix_H=C3=A4dicke?= X-Patchwork-Id: 328736 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C655C388F9 for ; Thu, 19 Nov 2020 08:28:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E8B2624655 for ; Thu, 19 Nov 2020 08:28:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=web.de header.i=@web.de header.b="nPwQPQIc" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726485AbgKSI2L (ORCPT ); Thu, 19 Nov 2020 03:28:11 -0500 Received: from mout.web.de ([212.227.15.14]:60963 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725915AbgKSI2L (ORCPT ); Thu, 19 Nov 2020 03:28:11 -0500 X-Greylist: delayed 302 seconds by postgrey-1.27 at vger.kernel.org; Thu, 19 Nov 2020 03:28:10 EST DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1605774489; bh=1sIQo4mAwPfUeLG68QgGEkh80UAFrw6JgWqmH8C4NuY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=nPwQPQIcTupTegvmbUosn/xkDCjdwZMc+W6IqDDQiQrkF6UBqRSM8bHzE5AlGqvYJ tgh71lyFifvK94uZRKPd1AEsp04wcmLoYt3yvmFl2fBJok6pRTVl+d/JZu0esQ1fw3 AIiCnZdr4uLlPxG79D0LdQCT0ZCxGffSVyVe1/8Y= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from localhost.localdomain ([134.3.46.87]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MRUC0-1kqgkM3gO8-00SeWb; Thu, 19 Nov 2020 09:23:06 +0100 From: =?utf-8?q?Felix_H=C3=A4dicke?= To: linux-input@vger.kernel.org Cc: =?utf-8?q?Felix_H=C3=A4dicke?= , Sean O'Brien Subject: [PATCH] HID: quirks: Add Apple Magic Trackpad 2 to hid_have_special_driver list Date: Thu, 19 Nov 2020 09:22:32 +0100 Message-Id: <20201119082232.8774-1-felixhaedicke@web.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Provags-ID: V03:K1:gKd4IjKHHTSpSQMVNQ9QibjAVH33ZzJJyRk/+4jIJcCHmboMpmk 9ITc0HskBJV0xKwa8mR9EX2F/WNjeNBVLNKio/wkLYstm/gSm/UTOlFv9/U3w8sl7oqrFx+ pw66FWCx1P212zFbDPiPdb46dP9Zgxvo3maF8wyXLY4x5WVS0gjFwghzo7hv4xQcfrxUcGO SQ40ErxMsYHgzMO4LKeQg== X-UI-Out-Filterresults: notjunk:1; V03:K0:lpvats1wd0k=:B5eMS3apmGHaHhKmr0eQHl FJsVY4MhHq5D6Ypr1vf8eplvob4y0WlHU3tmR68JoZiN+nKscRcun1K2fWS4wsHDGEBWj12/4 4/tPaSoEy+bvUvEkY74CjAXpfSCEBBmhFUJB06c0PFR4v32zvsBMU5OKbF60MZ+xqQQRA76Ml Bvi4iUT9rKn4OSCHchVrizkmKF8IS4CUDMQpPCVAyF1R1cjY0VU/YCnSuvOTpi/InAz6LZfHa 1QPSDF4GM0hfKbX5nq8mmpO3UJ7eADjMIsPv9rDU40w4HYXBBD+LMISGAh6nt2ixCRsM/DoTb 5guvoU7SJbZwhvhl0uPxZtFaX4qpN6XGVVW+VF0Rqo/m9oNaFFSbD4chPBTyjNHX4h/G+NcSC wXjhu9f9/0yI9fXBtSGjxQbbrnkkeNQRZhICr6nqAAZonKHxWXoVBaSq5ms7gwVuxYGvsVGh2 hz2iK511syKfogs9W8bvG0Clq1e/DsEdmrbnnTIWn3Oww2nkwlevLuVN9c31MWrXQFNT1o5Y7 XktqNZu+J7PHO3Ua1uGJ6qfHee6semiqHTXJc0ShLD2CmWEyeIhlnWbfLs28SCylerTqcIMb4 exwlU8FZ0NRBlZhyb5t62RDv1TOJxn6LUbuCajyC5wCd7XboV9wMR2EAFBf+QmrrAM07bhOui D75lSnB8WPcvdU7hUk9dO8eTdi0J1CLx9XCIATZwceGPU0KhjgKNdmVwH+fJjMQ+DjEquLMCq If7q4Z1EEwF3g7vWZmeNbXrgY4PgZsbrVKFUSSSTlcfnx2qaxLmDeewky74bOBWJW784zzpqj yUVZZMgXsuGmxOlPn6u5u/Cf6hQFlrZG+N5bxkFUIGduiXceoEnk2lhXARp1HfarV/F1nQMbZ 5YyesapnCUcGOhakvNkw== Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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(+) -- 2.29.2 diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c index 7a2be0205dfd..0a589d956e5c 100644 --- a/drivers/hid/hid-quirks.c +++ b/drivers/hid/hid-quirks.c @@ -473,6 +473,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) },