Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2085612ybg; Sun, 27 Oct 2019 10:46:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPeLFv4/AlKhpCtUvIDN3dyfFGjo9gr6ebFktifHa5igqOyD2LKSV5nF3dkUka2o+gvOUN X-Received: by 2002:a17:906:704:: with SMTP id y4mr13080757ejb.259.1572198373887; Sun, 27 Oct 2019 10:46:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572198373; cv=none; d=google.com; s=arc-20160816; b=lRz86EfgcAkMqs0YLOLjAXDKulWnimMP9LVKOgn+YlDXZ8QWqvKCMY1SZHC9gSd29t CnGeSo7cAIMnDBHDQMpuREvk/6LbJ8X1X1cW1TZMaflhuGvZGWZqTb4xkecGXgLpDIY2 Tiww6XWlYEdjGoyBa0IBMoawjwf31pXc0WC8g7zNAuWOvc5qC1dAJ0M/9MnwyVWm2QQA 8no2jkQ+xA9mJazdTk1cjYhp9gxYvXBX91KpcBXpB8kBccZ0y71SCzH8sJ9RTKGuFSJE HnoDOp1VX/MyqN5LJiVPUuqK7SaNLhJZI5cEPJD5LSrFz6YO/N926TzZ7hYGIH0g/3Yy uSMw== 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=PVkYljpfoTsIC5030dJrqEtvXYijftN09Ri8FcfG3gw=; b=BQvvcsaFbCSQaaf1xsaO4H56/MemQtEPkIkCDqBjquCeUQyW3da3gfxQnY2OLfxm6b wN2v0+xk3DLnmBYJ23RCzNXdYKh7SDSxN6w4BJzFtOjGLZ7gPKqm2p5I3UjNg0w1m+HB j4gijZuHVOtVlpF4GoIOOVzcPxcQbs5as/p4RRBGW4gIlcugnMpwFv2Gp2CvuYb9yQpy tG9giQAVjD8d7mWEC1bud3bkNwRtVonOuwA2oIRHXikDsfuHdaNumMejgaxopo0G7kjA qi9x1U4BdHF8OYwPzfgFqR/hH61VeEHePKFQnOjnvihiwPqHFey9tuuv8isx92k+azuv toTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=default header.b=YhtqWIJ2; 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 v19si5140441ejx.308.2019.10.27.10.45.50; Sun, 27 Oct 2019 10:46:13 -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=YhtqWIJ2; 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 S1727640AbfJ0RoN (ORCPT + 99 others); Sun, 27 Oct 2019 13:44:13 -0400 Received: from mail-40135.protonmail.ch ([185.70.40.135]:46291 "EHLO mail-40135.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726930AbfJ0RoN (ORCPT ); Sun, 27 Oct 2019 13:44:13 -0400 Date: Sun, 27 Oct 2019 17:44:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1572198248; bh=PVkYljpfoTsIC5030dJrqEtvXYijftN09Ri8FcfG3gw=; h=Date:To:From:Cc:Reply-To:Subject:Feedback-ID:From; b=YhtqWIJ2AQ/2cxzyBojj8LlwpCunaBkm/bijrriLAuDwd26ipvD8N+I7gJ6fqU2Wk gXmDNKRkXPiq20Odt4c55h2pDlFiv3bg/NTSNPhXwdGsxj5ehGJZGsZcKIzUmLpsay Zph0nmM+Elqit6+EnraAvNDcDhhW5CDUAAvK0He8= To: "linux-input@vger.kernel.org" From: Mazin Rezk Cc: Benjamin Tissoires , "jikos@kernel.org" , "linux-kernel@vger.kernel.org" , =?UTF-8?Q?Filipe_La=C3=ADns?= , "adrian@freund.io" , "mnrzk@protonmail.com" Reply-To: Mazin Rezk Subject: [PATCH v8 0/2] Logitech HID++ Bluetooth LE support Message-ID: <_0snBXtGhwWiRLYmuVIeDLYkvksMVMxiBv1lW_bTTaFpcVN45l6yCU5gWZ_5oJr8SQOZA6qCZSkVskkEX0ZePpboYtDYRsTdVg3xfcwmw6M=@protonmail.com> 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 series allows hid-logitech-hidpp to support Bluetooth LE HID++ devices. Only the MX Master (b012 and b01e) is added right now but more HID++ Bluetooth LE devices can be added once they are tested. Changes since [v7]: - Squashed "HID: logitech-hidpp: Support MX Master (b012, b01e) over Bluetooth" into "HID: logitech-hidpp: Support translations from short to long reports" Changes since [v6]: - Based patch on "HID: logitech-hidpp: rework device validation" - Removed the need for additional quirks Changes since [v5]: - Fixed bug where added quirks would overflow an unsigned long - Changed the reserved quirk class bits from 0..20 to 0..15 Changes since [v4]: - Omitted "HID: logitech: Add feature 0x0001: FeatureSet" - Stored WirelessDeviceStatus feature index in hidpp_device - Made Bluetooth quirk class alias quirks instead of vice versa - Omitted non-tested devices Changes since [v3]: - Renamed hidpp20_featureset_get_feature to hidpp20_featureset_get_feature_id. - Re-ordered hidpp20_featureset_get_count and hidpp20_featureset_get_feature_id based on their command IDs. - Made feature_count initialize to 0 before running hidpp20_get_features. Changes since [v2]: - Split up the single patch into a series Changes since [v1]: - Added WirelessDeviceStatus support [v7] https://lore.kernel.org/lkml/t5LOL-A4W7aknqQdC-3TavitC94BY_Ra1qyxCZMh_= nprrDNSl4UF-jYpWtaDSU-0oQ5xzRyAo9o_mvSnA78bib_p6I3ePSJnTrp3Eb0X_yg=3D@proto= nmail.com [v6] https://lore.kernel.org/lkml/ggKipcQplIlTFmoP3hPnrQ-7_5-C0PKGd5feFymts= 3uenIBA8zOwz47YmKheD34H1rpkguDAGdx5YbS9UqpwfjT5Ir0Lji941liLVp--QtQ=3D@proto= nmail.com [v5] https://lore.kernel.org/lkml/Mbf4goGxXZTfWwWtQQUke_rNf8kezpNOS9DVEVHf6= RnnmjS1oRtMOJf4r14WfCC6GRYVs7gi0uZcIJ18Va2OJowzSbyMUGwLrl6I5fjW48o=3D@proto= nmail.com [v4] https://lore.kernel.org/lkml/uBbIS3nFJ1jdYNLHcqjW5wxQAwmZv0kmYEoeoPrxN= hfzi6cHwmCOY-ewdqe7S1hNEj-p4Hd9D0_Y3PymUTdh_6WFXuMmIYUkV2xaKCPMYz0=3D@proto= nmail.com [v3] https://lore.kernel.org/lkml/l7xYjnA9EGfZe03FsrFhnH2aMq8qS8plWhHVvOtY_= l4ShZ1NV6HA6hn9aI-jAzbLYUGFCIQCIKkx9z42Uoj4-AZDwBfRcAecYIn-0ZA5upE=3D@proto= nmail.com [v2] https://www.spinics.net/lists/linux-input/msg63467.html [v1] https://www.spinics.net/lists/linux-input/msg63317.html Mazin Rezk (2): HID: logitech-hidpp: Support translations from short to long reports HID: logitech-hidpp: Support WirelessDeviceStatus connect events drivers/hid/hid-logitech-hidpp.c | 69 +++++++++++++++++++++++++++----- 1 file changed, 59 insertions(+), 10 deletions(-) -- 2.23.0