Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753092AbdCAR62 (ORCPT ); Wed, 1 Mar 2017 12:58:28 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:36157 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753032AbdCAR6W (ORCPT ); Wed, 1 Mar 2017 12:58:22 -0500 Date: Wed, 1 Mar 2017 09:58:13 -0800 From: Dmitry Torokhov To: Linus Torvalds Cc: Benjamin Tissoires , Peter Hutterer , Andrew Duggan , Jiri Kosina , Linux Kernel Mailing List Subject: Re: [GIT PULL] HID for 4.11 Message-ID: <20170301175813.GC30349@dtor-ws> References: <20170301032409.GA8206@jelly> <20170301090347.GE7064@mail.corp.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1321 Lines: 35 On Wed, Mar 01, 2017 at 09:54:07AM -0800, Linus Torvalds wrote: > On Wed, Mar 1, 2017 at 1:03 AM, Benjamin Tissoires > wrote: > > > > As Peter mentioned in the bug, there is a missing property on the kernel > > node (INPUT_PROP_BUTTONPAD). > > > > The thing is this property is solely driven in the current driver by the > > provided platform_data, so there is no way we ever set it through > > hid-rmi. I wonder how we missed that. > > > > Anyway, the good news is that the evemu record shows only one exportted > > button, so we can infer the property quite easily in the module. Would > > something like that work for you? > > > > From: Benjamin Tissoires > > Date: Wed, 1 Mar 2017 09:57:00 +0100 > > Subject: [PATCH] Input: rmi4 - f30: detect INPUT_PROP_BUTTONPAD from the button count > > Yes, this fixes the problem for me. My click-and-drag works again, so > you can add a > > Reported-and-tested-by: Linus Torvalds > > I see that Dmitry doesn't love the patch, but I'm assuming I'll get > that or something equivalent soon. In the meantime, I'll just keep it > on my laptop as a workaround. Given that it does work for you just apply it. The objections I raised was more of a bikeshedding. Thanks. -- Dmitry