Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2686908ybp; Sat, 5 Oct 2019 18:04:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNOQ6QRfihWLOQmKMTnIfe2cf1zI9MGx5lMpJp/zJNMybbHgnKDZxzBaDMr9G2YyliHGTQ X-Received: by 2002:a17:906:1f43:: with SMTP id d3mr10232787ejk.321.1570323883432; Sat, 05 Oct 2019 18:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570323883; cv=none; d=google.com; s=arc-20160816; b=fE3PYJSUhLoRpPGIf9/ZgrffT3WDts8lOylnnVpfxH7BUsm3t0/wBowqJ+rJO1k6zD WLCknYeLL03X6vBmmpNF7FNt3fQExpn/X7BGY2acMET1Vj//DaeEQNh878hsI4ygbWct SJNdOwHBJqds/iSWe5GNmeGxxjx+SAngAxRplI9Ob0cAnofTZfQGqTiftJzsBcsPpYF/ FibfqPf+P07VktPvEYmfi+hdIj1TWFMaVwCXl6asMO6WU6xGDRqTS1tCy4RQYSv8gBaY mIAwRQAYFwx0gNrxWqpkBuKeI04LIThjT9PPcBsd5s3hYEP6/k2YS96Y71EWKbxCnmDp briw== 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=xOf7naOIf6rDpc0khn4XCANsLt39rlB4TiL3sCEDg70=; b=ZzhaYkV8qvUis9NE3DTjh00grpQbSD88relygt5iAokTfCkwao0k29ldrrJhdDIdWW RNN8aE7uhOueyF2jwf/J6vXd3Qtp+KG78XzD0jD+apizgxaW4+iOlmeYFseLsCEQhUhI lRgbcxHgXffeYU6QCSTgAxIsxEW2uhq0srHNWmskaWS+lzvziTC9XaVkY2T1IOwmrgW9 CrzOkARaCgBGeZjhLLxhllLr/dRJWCeQGSnOA0VX04LZkCEj9HeXLyzlUPf7Xm51fDhE so3H6svua8TaJPsYg4ClBmB5Qmst7vL28vQ2pCzGLOM8ev3CCdg5S9RjIOxQK/gcyFFm yAJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=default header.b=yGvuqtfz; 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 n19si5996203edo.172.2019.10.05.18.04.20; Sat, 05 Oct 2019 18:04:43 -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=yGvuqtfz; 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 S1727089AbfJFBEG (ORCPT + 99 others); Sat, 5 Oct 2019 21:04:06 -0400 Received: from mail-40136.protonmail.ch ([185.70.40.136]:32585 "EHLO mail-40136.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727008AbfJFBEG (ORCPT ); Sat, 5 Oct 2019 21:04:06 -0400 Date: Sun, 06 Oct 2019 01:04:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1570323843; bh=xOf7naOIf6rDpc0khn4XCANsLt39rlB4TiL3sCEDg70=; h=Date:To:From:Cc:Reply-To:Subject:Feedback-ID:From; b=yGvuqtfzb4tOobTwRTNB+3m7L6HP02jRum1TsROQSWZ9wTKat9xzFemc5anAYO2im 1Ir2Df6MXJnmeqk7CgpA5nc/N/S46XsrzBg8apTdwx9JvS+6jI8XDmHxM5qkh60yWq 4lUnbH+oOvnKavkBXmM7b63U8jm9s8tVkEu0W28k= To: "linux-input@vger.kernel.org" From: Mazin Rezk Cc: "benjamin.tissoires@redhat.com" , "jikos@kernel.org" , "linux-kernel@vger.kernel.org" , "lains@archlinux.org" , "mnrzk@protonmail.com" Reply-To: Mazin Rezk Subject: [PATCH v3 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 This patch adds support for several MX mice over Bluetooth. The device IDs have been copied from the libratbag device database and their features have been based on their DJ device counterparts. 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