Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3464737ybp; Sun, 6 Oct 2019 12:31:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzB8BgMJ0IAZwTH1fhDcv3wGWllpxCzHUrZgKkLNlsJN0kmMNyqcKUSiQu3Qmmwi2dQdjAI X-Received: by 2002:aa7:dc55:: with SMTP id g21mr25496958edu.210.1570390298195; Sun, 06 Oct 2019 12:31:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570390298; cv=none; d=google.com; s=arc-20160816; b=wFmLxkeCPgNByqAKgBwBOISMF9E0zD3ITttire/QOJv/x5ChuoToV/nK/Cnt7eJb6y W0nc9WifYpSySPx/T41g7i6GniPI2NSNiDj/+M73Toc09rfe1tqqS30N5tnrflJtEOMV zq8fN0i2cV52NS+yNgMvM6ferjW97RzG10WS63dehkl6PFpXxU+NwgkcQwLRjnAZUT8f DfL7yEZg1oB7rKLvxfAygcJmGfPWaqGQQlPM094QkOw4bLv0OzZPwZnWpj2NRyWNrtlb fcYKfwwN11Oaz+PBIHDazwrabqlRYNQCQ2DOWgmkOD6PjUdSnyf0noCGJqAxroR98hgG SIAQ== 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:references:in-reply-to:message-id:subject:reply-to:cc :from:to:dkim-signature:date; bh=eLr2asDOZk0DHpyA351fyD4ZW2RIKecuZeCi+fGozT8=; b=eocmXFGkL5YbdJt7ummzg1uSYj6fkuuoAGOYgRd9xuJaPrfaq6JhsYgqkcgo2LQSx7 Mx3lJ5HnnkbbyCHmWS/sEYOjnqw2dYIdRt5Ni8zBt8WtotnQhJY6SzeDLeeHQ+7ozs5u TZ8gcYswBbIinhTwf3SFNWQM59SrlzS17Ri/BQSG4eUDqwiIHcrFenHdZkYzmmj5EHAA 2xBXG9dRYwIrKGetHN/VEFhhOz2fIPSQ9/jqi919eZAf7jH77o1s5l1m+/3Jqn2Zl8HC +El3OSGcz+k7ChvXJpg61O3A8rWnTBDEdc140bziXTZB+q7LHqrL2/vPy6G81v+N2BpZ mmog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=default header.b=YhMvNFLa; 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 y2si5856576ejw.308.2019.10.06.12.31.14; Sun, 06 Oct 2019 12:31:38 -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=YhMvNFLa; 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 S1726831AbfJFT2b (ORCPT + 99 others); Sun, 6 Oct 2019 15:28:31 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:37942 "EHLO mail-40133.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbfJFT2b (ORCPT ); Sun, 6 Oct 2019 15:28:31 -0400 Date: Sun, 06 Oct 2019 19:28:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1570390107; bh=eLr2asDOZk0DHpyA351fyD4ZW2RIKecuZeCi+fGozT8=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References: Feedback-ID:From; b=YhMvNFLa0sNMU76BXyAoObOhT65D8+TiMi/yxdZen7HCkPxMU1VKsowOHvSl7L+v+ 2QebtJqQUVzKv2MwVSKs7djoDMJXvpF/j25X3bTkmFLsDGdEcI6UMru28EfoDffQgA FJcmi/FwLWlvvoP2afQnNwVY+GoDjeMoTE4mSXek= To: =?UTF-8?Q?Filipe_La=C3=ADns?= From: Mazin Rezk Cc: "linux-input@vger.kernel.org" , "benjamin.tissoires@redhat.com" , "jikos@kernel.org" , "linux-kernel@vger.kernel.org" Reply-To: Mazin Rezk Subject: Re: [PATCH v3 1/4] HID: logitech: Add MX Mice over Bluetooth Message-ID: In-Reply-To: References: 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 Sunday, October 6, 2019 11:07 AM, Filipe La=C3=ADns wrote: > On Sun, 2019-10-06 at 01:04 +0000, Mazin Rezk wrote: > > > 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 mnrzk@protonmail.com > > > > ----------------------------------------------- > > > > 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-logitec= h-hidpp.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 { > > { /* MX5500 keyboard over Bluetooth */ > > HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb30b), > > .driver_data =3D HIDPP_QUIRK_HIDPP_CONSUMER_VENDOR_KEYS }, > > > > - { /* MX Anywhere 2 mouse over Bluetooth */ > > - HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb013), > > - .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, > > - { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb018), > > - .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, > > - { /* MX Anywhere 2S mouse over Bluetooth */ > > - HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb01a), > > - .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, > > - { /* MX Master mouse over Bluetooth */ > > - HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb012), > > - .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, > > - { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb017), > > - .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, > > - { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb01e), > > - .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, > > - { /* MX Master 2S mouse over Bluetooth */ > > - HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb019), > > - .driver_data =3D HIDPP_QUIRK_HI_RES_SCROLL_X2121 }, > > {} > > }; > > > > > > -- > > 2.23.0 > > I think you should only add the mice you tested. We are not sure if > this devices actually do work properly with the current stack. I will > try to test some devices after Tuesday. > > Filipe La=C3=ADns I have only really been able to test this patch on the MX Master (0xb01e). However, I suspect that many of the added devices work in a similar way. I could completely remove the devices I have not tested but I feel like it would be better if we somehow kept track of what devices have been tested.