From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 001FFC43603 for ; Sun, 15 Dec 2019 19:35:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D4CB5205C9 for ; Sun, 15 Dec 2019 19:35:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726267AbfLOTfB (ORCPT ); Sun, 15 Dec 2019 14:35:01 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:39527 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726146AbfLOTfB (ORCPT ); Sun, 15 Dec 2019 14:35:01 -0500 Received: from [192.168.0.49] ([78.215.252.161]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.184]) with ESMTPSA (Nemesis) id 1Ma1sQ-1iAnhO03gy-00Vw8W; Sun, 15 Dec 2019 20:34:58 +0100 Date: Sun, 15 Dec 2019 19:34:54 +0000 From: Hamza Attak Subject: hid-logitech-hidpp / hid-logitech-dj driver hiding inputs and breaking Logitech G700s buttons To: nlopezcasad@logitech.com, benjamin.tissoires@gmail.com Cc: linux-input@vger.kernel.org Message-Id: <1576438494.7054.3@auth.smtp.1and1.fr> X-Mailer: geary/0.12.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Provags-ID: V03:K1:EswUwztD6QDoJNip2mQHtRTbDdI59OBGU6Xk0W6bQJQtKTva24l +EbckFFn+8Sudauyx8r9vupeJTIB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v7f9kQ9yguLyIWCaIg== Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Hi, I have been facing an issue with my Logitech G700s mouse on wireless (id of the receiver is 046d:c531). Most of the buttons are not working, namely: G6, G7, G8, G9, G10 My testing has shown that when pressing these buttons, no input at all is showing on both interfaces: /dev/input/by-id/usb-Logitech_USB_Receiver-if01-event-mouse /dev/input/by-id/usb-Logitech_USB_Receiver-if01-mouse Further testing shown that having 'hid_logitech_dj' or 'hid_logitech_hidpp' module loaded is causing the issue, just one of them loaded is enough to create the issue. This led me to contact you by looking at 'drivers/hid/hid-logitech-dj.c' and 'drivers/hid/hid-logitech-hidpp.c'). rmmod'ing the modules and using 'usbhid' module alone is solving the issue, as Linux is now receiving correct input from the buttons. Blacklisting the modules would do the trick for wireless on my local system, but it doesn't seem right no to report this bug for others. For info, it works perfectly wired, so I guess the issue might be with the dj receiver code. Before thinking of modifying the code myself, I am sending you this message and see what would be a clean fix for the issue. Thanks, Hamza ATTAK.