Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp273031ybp; Thu, 10 Oct 2019 17:57:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMqH8wSXW8Wv6/Zoi9p9F1ydC6j1Hddng3k/qHK83qIlyKyPrrXh+3VhRVdnUUbmZcSFhy X-Received: by 2002:a05:6402:698:: with SMTP id f24mr11096892edy.172.1570755465513; Thu, 10 Oct 2019 17:57:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570755465; cv=none; d=google.com; s=arc-20160816; b=vO8NoKsy4PCYM0JIO4OL/12hm7X5H53uBIAid48LfNv51pqsQXwgyWK72hpqaeE56F QaF4YpQP/mb6MAhzPeSxpQsAd7H5gEYOhoWmlFb9pmC1B+/bk+Q+TGw0RxlW3nnQqqlc 0wzGy0Lg4xf4l/w0hr22duZJR0a4WinCZvMcvJCD0AG1RWJ1cOZCIc37HndrJSzkt4tS JYHuncvqIall3vS85/0y5jmsFDxsyrUywgRxM4XTjLWt2rJofzL6B2SsBE5GjqfaRUn7 XzGS01+6BMufnKMQCcrgZjWZl23lWp1trkFLWyoI7gI8Ua9uL/QrGXWl5ceIs8AeyPaX EY1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :feedback-id:message-id:subject:reply-to:cc:from:to:dkim-signature :date; bh=TaWqFGzwNnSXrjd7mMijBXSMPxeqM7gfm+RUBuvzjjE=; b=G27fI8SjG6W82ygXvLuyQe4Bm7SzOyKNUjHQYQSLU1B7UalLGbZrLO9xraCiNst/6D l+8KhHRy67cRrR+Klx+59BIgxdarMSeIpF9rPduXU1tK68tj5k7igmOGS5fY2sMBQwWN z/mN7eC4/2U+PnjuFQda20mlbjDZXqmKVulLi+DTccBMCX5sMY/diE/7yEJmbqlT9R7C S7lICi6jO1LiYaqT5Mkd291xA3RaMS3XAGJ578J81NulHHqOk5j0dqAtDbiZ4XFDhN6s T/JbbvEqgzQYsCR6AFTZQbsWNlmUcQv+MlDs9mXERwxCZSzUoKzGqD2rr5lmJlBqzX90 NLZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=default header.b=MTUThyLt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ot41si4161756ejb.215.2019.10.10.17.57.21; Thu, 10 Oct 2019 17:57:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=default header.b=MTUThyLt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727677AbfJKA5H (ORCPT + 99 others); Thu, 10 Oct 2019 20:57:07 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:39155 "EHLO mail-40133.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727518AbfJKA5H (ORCPT ); Thu, 10 Oct 2019 20:57:07 -0400 Date: Fri, 11 Oct 2019 00:57:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1570755424; bh=TaWqFGzwNnSXrjd7mMijBXSMPxeqM7gfm+RUBuvzjjE=; h=Date:To:From:Cc:Reply-To:Subject:Feedback-ID:From; b=MTUThyLtEblJX5Ca3b2QsWgOwQWgSDEyxmQnoxabqZyXFaO1q4RWDp26EoafDESN0 hjbd7d33hvhGvn6k6N1Wl0wlv9lAF9kc/Z2qBWpfzDYAxMQCx9TtrCCy1BwcIppQBg N2mTg+XyZUEmTdbeZWh0h1mSTYw2FKRrfTXKJQ18= To: "linux-input@vger.kernel.org" From: Mazin Rezk Cc: "benjamin.tissoires@redhat.com" , "jikos@kernel.org" , "linux-kernel@vger.kernel.org" , =?UTF-8?Q?Filipe_La=C3=ADns?= , "mnrzk@protonmail.com" Reply-To: Mazin Rezk Subject: [PATCH v4 1/4] HID: logitech: Add MX Mice over Bluetooth Message-ID: Feedback-ID: 18B_FC5q-t32TXzMsVp9BgkgrdNH3iwklfW8WOrHrcxZA0WRj7JodCh5VXKxs6A3OaiHK0QNd8wi3SImKex8yQ==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HK_RANDOM_REPLYTO autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday, October 5, 2019 9:04 PM, Mazin Rezk wro= te: > This patch adds support for several MX mice over Bluetooth. The device ID= s > have been copied from the libratbag device database and their features > have been based on their DJ device counterparts. No changes have been made to this patch in v4. However, it should be noted that the only device that has been thoroughly tested in this patch is the MX Master (b01e). Further testing for the other devices may be required. Signed-off-by: Mazin Rezk --- drivers/hid/hid-logitech-hidpp.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hi= dpp.c index 0179f7ed77e5..85fd0c17cc2f 100644 --- a/drivers/hid/hid-logitech-hidpp.c +++ b/drivers/hid/hid-logitech-hidpp.c @@ -3773,6 +3773,24 @@ static const struct hid_device_id hidpp_devices[] = =3D { =09{ /* MX5500 keyboard over Bluetooth */ =09 HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb30b), =09 .driver_data =3D HIDPP_QUIRK_HIDPP_CONSUMER_VENDOR_KEYS }, +=09{ /* MX Anywhere 2 mouse over Bluetooth */ +=09 HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb013), +=09 .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, +=09{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb018), +=09 .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, +=09{ /* MX Anywhere 2S mouse over Bluetooth */ +=09 HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb01a), +=09 .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, +=09{ /* MX Master mouse over Bluetooth */ +=09 HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb012), +=09 .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, +=09{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb017), +=09 .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, +=09{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb01e), +=09 .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, +=09{ /* MX Master 2S mouse over Bluetooth */ +=09 HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb019), +=09 .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, =09{} }; -- 2.23.0