Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp977147ybi; Fri, 14 Jun 2019 06:36:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4T2boKNxMgmgegNEbPlBmq7b+B9h7TcuO6gpAqmA8SwgVShES98MqeA6wAGlwo4DDB5MO X-Received: by 2002:a17:902:a504:: with SMTP id s4mr24272008plq.117.1560519408309; Fri, 14 Jun 2019 06:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560519408; cv=none; d=google.com; s=arc-20160816; b=aRzHbtVXRDrFVxMSs5dRkhpwZTUkuyjnwiZV5+UT71NgqpHeiyHLo7ZZ7BaUTdfhSt yNaLte3EiZNRLKCyrqKPWNvvUREQBkTPuomBlnfAaCcKChvkd0B79QNz9l9Xn/S6HpR9 nu2VxNkkIXTIophIn3yunKgO79wU8cmVpVPRD1dNCC3WPz8hogBX0BAKzeOKhqVdxl2s 6N8rbQeCEHDMsW1Pn8kpmO0DgyZ1B805owqIJLb8jdQxiN94ghg2KKj1kQJisD1FkEXx R5LudaUOLU9qJlUPePmW/eZsK/CVrsSD3WXlS0GTHSZz/unlCu1lA5B5P/8aelAd58/F 6yHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=9LlmkYnjQ09lYvGpUcAqj3kA1O47a4djevWb989ZA1w=; b=ZPY0oTXE4ueJqWIo384QfMM0gcyl/XNpZAWLRG1SVWjkR4dVfhOlZ4hviQk6QZT/ts XClh/GzCF0+99PR/wZWGyBfpqPPcvN1mrEF91cpYyVF9A2ZerzdpGCydUhZFUDFc2rZZ ISFiQPptOTxE10J6LCVnSnMAumtE1vDFlFv++quJz+kyEZZpJmgQZpieVY7MmUF4lpVt 6IZq3CpWgiX1NUr1Vu9WPTEf2h7r2ojSMBXoNDe75VVo+Epy1P9bPTds/ifQZ/xTaStA vWORXtlh91dSRT5FUa5Gg47Xv70brYtBTkfl3NuDDblzOHzPY0sxb8NnZ5eLPH/ipJA9 04NA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 f12si2432413pfn.98.2019.06.14.06.36.31; Fri, 14 Jun 2019 06:36:48 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727979AbfFNNgQ (ORCPT + 99 others); Fri, 14 Jun 2019 09:36:16 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:45939 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727729AbfFNNgQ (ORCPT ); Fri, 14 Jun 2019 09:36:16 -0400 Received: by mail-qk1-f196.google.com with SMTP id s22so1628624qkj.12 for ; Fri, 14 Jun 2019 06:36:15 -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=9LlmkYnjQ09lYvGpUcAqj3kA1O47a4djevWb989ZA1w=; b=Gm1u+ybMh2VskSrhXZ67RaTfUFYjISKsmM8Izpd8e/zj/yUKti+JzaS63ak9rRB8bx l0+a9SUF1MycTPVLRTXYijiu8D9aORve/fLFc71pX/+ssEnsoQGaoVB90h5PYez0o9TA 0I9RV14j8p4eZEXHl701H8LTWHwNj1HqSR+WVrZNIniOXACQAONFzluacP+y1nxtngl4 Qb5IdPqGxVT6NjKSk7inQECAVmoTCNCm1TOipgZQIguuH4J9zEEbh+nazBnWZZet6byn 4YE9f60dNivYsVcGEkmVhd0CgD+vqW4I3WD6hIROP9EB2MmFiXOxmwvbPwG+9PmI+/sk Sclw== X-Gm-Message-State: APjAAAXASf1bJi9ar7uhzo49rgLD79qHFS2wxTGOS0UFpgquBufxagvZ G9hNv1if+q3b5atnehHcNzH5OeRTnD4VPzE9Up/D9g== X-Received: by 2002:a37:8e03:: with SMTP id q3mr78142534qkd.234.1560519375030; Fri, 14 Jun 2019 06:36:15 -0700 (PDT) MIME-Version: 1.0 References: <20190611121320.30267-1-nsaenzjulienne@suse.de> <5346893.KeHrH3GHoD@linux-lf90.site> In-Reply-To: <5346893.KeHrH3GHoD@linux-lf90.site> From: Benjamin Tissoires Date: Fri, 14 Jun 2019 15:36:03 +0200 Message-ID: Subject: Re: [PATCH v2] HID: input: fix a4tech horizontal wheel custom usage To: wbauer1@a1.net Cc: Nicolas Saenz Julienne , Jiri Kosina , Dmitry Torokhov , "open list:HID CORE LAYER" , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Wolfgang, On Thu, Jun 13, 2019 at 1:49 PM Wolfgang Bauer wrote: > > On Tuesday, 11. Juni 2019, 16:42:37 Benjamin Tissoires wrote: > > On Tue, Jun 11, 2019 at 2:13 PM Nicolas Saenz Julienne > > > > wrote: > > > NOTE: I CC'd Wolfgang as he's the one who can test this. > > > > I'll wait for Wolfram to confirm that the patch works before pushing then. > > My name is Wolfgang, not Wolfram... ;-) ouch, sorry for that (I am more used to talk to the I2C maintainer apparently) > But never mind. > > I tested the patch meanwhile on top of kernel 5.2.rc4, where the mouse wheel > actually worked. Actually, I am a little bit lost here. The patch mentions a fix of c01908a14bf73, which is in 5.1 final. So if your mouse works in 5.2.rc4, I am not sure how HID-a4tech-fix-horizontal-scrolling.patch could break it. Could you be slightly more specific in what "works" and what doesn't? Do we have the report descriptors available somewhere? And if not, could you run hid-recorder from https://gitlab.freedesktop.org/libevdev/hid-tools and attach the logs when you move the horizontal wheel? Cheers, Benjamin > As the patch didn't apply cleanly (it's obviously based upon > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=abf82e8f7e9af40a49e3d905187c662a43c96c8f , called "HID- > a4tech-fix-horizontal-scrolling.patch" below), I added that patch as well. > > My results: > kernel 5.2.rc4 works > kernel 5.2.rc4 + HID-a4tech-fix-horizontal-scrolling.patch is broken > kernel 5.2.rc4 + HID-a4tech-fix-horizontal-scrolling.patch + > HID-input-fix-a4tech-horizontal-wheel-custom-usage.patch (i.e. this patch) > works again > > kernel 5.2.rc4 + HID-input-fix-a4tech-horizontal-wheel-custom-usage.patch > works as well. > > So AFAICT this patch seems to be fine. > > For completeness, this is my mouse as listed by lsusb: > Bus 003 Device 002: ID 09da:000a A4Tech Co., Ltd. Optical Mouse Opto 510D / > OP-620D > > Kind Regards, > Wolfgang >