Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp615729ybp; Fri, 11 Oct 2019 01:20:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqypHuc2j7XUckmUPdlYSWg3qDyxfKmXgMSs/pkgL/rcq5vVCnOs6mRc7hp0N8sSyHil2swo X-Received: by 2002:a17:906:8313:: with SMTP id j19mr12860148ejx.196.1570782047802; Fri, 11 Oct 2019 01:20:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570782047; cv=none; d=google.com; s=arc-20160816; b=xtoe8oAC+5ZeQYOKbeggz88Q2GKFQh9KRZZhGmuSlt4+XdpjAx/UWev4mG64BAYDGU d22rk2o4AoWxR1YRLg+5IhEWiYCKCu6QU8kYgaoeQ3DtKPIgJIe67KqFYW/U2l2TlZNN 0fS15C4C6zmjyTW4/BMMTd4btf/3OTZzszL750jR7bYXUsvwOp+rdWPjTv80SZsHZgzW MjWs16xgMxlLSTxhb47yOAS02VYgtyWX620a2gJ5k239VvvmGBQKO73MG2gdhLOtSmzU 5CsN5QUvuXems1JrOYhByo7BNvRxLdLdBtPj4WH0eLglgJwvo8hYXxGUgbmfl6pagKE3 h3/g== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=eEtdWRL47++4bBMWcjannbQWaXKh2s1hZrEOt0fm3i4=; b=pY7WpFhnQw7oaxpkTHpxWhYsDOpTBq2YAmuBolUc9RgdHb+JkavT8lOPNEfkIMMwgr zun7cZ1LGL/PsIELxjcvvr0paGJIKmOh4Xco4uMXp0XRh7doyWh2CMi6tjjMACbyFqh7 ROL6afWYLwz3AyOkLG5d+KymisxS8P/muIsRc0PdS5o3+51Bhq5AUb2iAmfH1tJUNqIo FGi0FMsKf0l0dgaYVYcA8m0t80523UcLyyL0PGzov4o5asGoee1Z0QDcrQjQ1pkw11Ze WuKiqeXQpVQO7uzrI0zHNJWUeJjWaN6ax8Xp0dFYt1WlUV4a4S0xwWezTVQQCBFRL9Sq D/CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TlSAwtep; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t18si4325280eju.329.2019.10.11.01.20.24; Fri, 11 Oct 2019 01:20:47 -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=@redhat.com header.s=mimecast20190719 header.b=TlSAwtep; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727382AbfJKIUC (ORCPT + 99 others); Fri, 11 Oct 2019 04:20:02 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:57273 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726458AbfJKIUC (ORCPT ); Fri, 11 Oct 2019 04:20:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1570782000; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eEtdWRL47++4bBMWcjannbQWaXKh2s1hZrEOt0fm3i4=; b=TlSAwtepbxbzQRG8Yqs4NeMNGjLG1sJrkvhTbR7FJlFMUCUrr4sXExPHZ1aKFSx4v+NfnR jWYZvESuyjz4ZgC6/tpvd2mnJ4FKO7fkSgH2IQNQC60ytJBXQRMYMgyPJihsfx3ifkD6Tl oKzhfy3CjuEUydxZ2ODhYMg7DX0bLQ8= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-127-YzRei9k1OMaklDWkiqK2ZQ-1; Fri, 11 Oct 2019 04:19:59 -0400 Received: by mail-qk1-f199.google.com with SMTP id w7so8176192qkf.10 for ; Fri, 11 Oct 2019 01:19:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vKh+g1OVwvKv2lQA+PWVSzl6Rx23w97PxJNZAisVZ5I=; b=g3RwChavpfEledDF0fda0jq9axQqcJCv01RipeWCZWsWAqj4h04ARvY3Wp+8zVSYkb wejaAmfipW9EIDk7PjyTGfFol6YYQK85xL+i7C63LdhgIGVH+mWoiZ9FiEMXoertDhj3 r3pr8Yyl4jeKYymNHT6el/YUaJGJXZH79q9UbJOWWa2uvgABmmVF5l/hcIhERUXt/3wT 8cOqhEqTjx7AFWmd8agDj9+cyPzV4jGsWVS4Q+owUnRAKq4kS+br9VaoGOtE9ay0eCyG PjFcu8YERBlzxvFKcIJ1nZikNqe6j1s4GDmXan08MkbIaEKeHsk4F6BPd/5Dq2Z7hPy1 t2Og== X-Gm-Message-State: APjAAAXpOMSiMRm/oiJ2w1/MTtySu18wjBqMXt55jyr9rnvSUNLdkcxv u3GR78oNVGkNlW/UxP+HlA2WLyjUftEpMb4zPE5Ec8rxYRlvkgU67ONBNHnfXXVVXvaaq9jQSGT vHZu/Dv4qs9dkuulAx3Pe/JLwniZAWW0KAJ9v5p4f X-Received: by 2002:a37:50a:: with SMTP id 10mr13770335qkf.27.1570781998823; Fri, 11 Oct 2019 01:19:58 -0700 (PDT) X-Received: by 2002:a37:50a:: with SMTP id 10mr13770315qkf.27.1570781998549; Fri, 11 Oct 2019 01:19:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Benjamin Tissoires Date: Fri, 11 Oct 2019 10:19:47 +0200 Message-ID: Subject: Re: [PATCH v4 1/4] HID: logitech: Add MX Mice over Bluetooth To: Mazin Rezk Cc: "linux-input@vger.kernel.org" , "jikos@kernel.org" , "linux-kernel@vger.kernel.org" , =?UTF-8?Q?Filipe_La=C3=ADns?= X-MC-Unique: YzRei9k1OMaklDWkiqK2ZQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mazin, On Fri, Oct 11, 2019 at 2:57 AM Mazin Rezk wrote: > > On Saturday, October 5, 2019 9:04 PM, Mazin Rezk w= rote: > > > 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. > > No changes have been made to this patch in v4. However, it should be note= d > 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. Thanks a lot for the series, but please amend your format-patch process: - The commit message should not contain the leading `>` characters, and checkpath.pl then complains about Possible unwrapped commit description (prefer a maximum 75 chars per line) - this description of the changes is very useful, but it should go after the first `---` so that we do not pull it while applying the patch. Also, this patch introduces a breakage in the bisectability of the devices it adds. If we were to bisect a breakage in one of those devices, the device will fail to work, and we could not detect where the error comes from. So please squash this patch with the next one. Last, if we need "Further testing for the other devices may be required", then I'd rather enable those device one by one when ewe get the confirmation they are working. Adding a new device costs, but not as much than breaking an existing one, especially when it gets detected later, when the kernel gets shipped in distributions. Note that I have the MX Master 0xB012, so you can safely keep that one on the list, I'll test it myself. Cheers, Benjamin > > 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-= 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 >