From patchwork Sat Mar 30 11:23:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 10878377 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EA70A13B5 for ; Sat, 30 Mar 2019 11:24:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D66AC27E01 for ; Sat, 30 Mar 2019 11:24:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB25D28249; Sat, 30 Mar 2019 11:24:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E28427E01 for ; Sat, 30 Mar 2019 11:24:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730428AbfC3LYX (ORCPT ); Sat, 30 Mar 2019 07:24:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42888 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730414AbfC3LYX (ORCPT ); Sat, 30 Mar 2019 07:24:23 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 879F930821B5; Sat, 30 Mar 2019 11:24:23 +0000 (UTC) Received: from shalem.localdomain.com (ovpn-116-76.ams2.redhat.com [10.36.116.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id 41D1D413F; Sat, 30 Mar 2019 11:24:20 +0000 (UTC) From: Hans de Goede To: Jiri Kosina , Benjamin Tissoires Cc: Hans de Goede , Nestor Lopez Casado , linux-input@vger.kernel.org Subject: [PATCH 00/28] HID: logitech: Handling of non DJ receivers in hid-logitech-dj Date: Sat, 30 Mar 2019 12:23:50 +0100 Message-Id: <20190330112418.15042-1-hdegoede@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Sat, 30 Mar 2019 11:24:23 +0000 (UTC) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi All, Here is a series Benjamin and I have been working on, before this series we treat Logitech wireless mice / keyboards connected through a non-unifying receiver as generic HID devices, using the generic HID emulation of the receiver. This causes several problems: -We cannot properly support some special keys / buttons on some keyboards / mice since we cannot properly identify / talk to the device behind the recv. -We cannot monitor the battery in these devices This series addresses this by actually enumerating (and talking to) the devices behind the receiver, rather then solely relying on the receiver's generic HID emulation. Note this series applies on top of the: "[PATCH] HID: force setting drvdata to NULL when removing the driver" patch which Benjamin send out 2 days ago. Regards, Hans