Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2345318pxb; Fri, 5 Feb 2021 15:53:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyO+04ej5I4ENE/qJp+uAHRZNc5Wxf7xOOxeD5qz8ImwvufougqCj9wRXnO68rzhWCtzvu+ X-Received: by 2002:aa7:d901:: with SMTP id a1mr6001810edr.120.1612569193264; Fri, 05 Feb 2021 15:53:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612569193; cv=none; d=google.com; s=arc-20160816; b=PRhMUKDGMJdKHPTZOpr/Rbri1ybdmI/2qpxPh3aWk/BZcUAhxmH0tZMLVSPbUJIKVE YBDIWHhtbx5jJxzlyd60/3zQI3eAwg6Vru8Ow3whkFavxioq2QOOr0hQl+7Fp9KuiEEq F3Co2kx5Ql96MdvlxXna1g3H06SFZyIdHgTUXhZY4MFK2MjDFO51/kuR8JD3a4n/ezGR meD4mpvRx8SLYqksINlNJfYXqv6vIlWb1Y3CZpc0R+X/LWL9XLkWNc45YstWpzsYqDkY ShuKQy5mL34g+s9c/ynKkjQzbHEYe+ywbPb/ZayOMEUEYixeFA30+c0SrCnEjE25pc8h 7Jdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=e87PR99wE/TeWo/EmsgMjvDMufwnckGshCoUqU4pZjc=; b=OxN8gmz3mGHFTFJcY6901FllLj5yMFICK+xKJEnHE3NKvqStK0wB/TqGPlAyP++MSL 4ihHfnFQTYLpR6zjIpCC48BNWewxLJzFJHUz9xvqzrzHfbTh8NxCbcmBbRfJNzVRB8wX Hye1PtmtR6igK2kvh/u8Qqa8UxBcHTK/H3aZDWaF54XgKAsVtxrK5htafiRerS9+Jhvw ycQIVtJS5Wy+ictrhU2sZ2k6H14Ojrp16CqgD9l6yAs3DV3LfiVwq4DcaCCiqb+BhVN5 pi6QRQgXIUw3ujym5QrbDml9844hCG0jaJrlRz5L47v9NW0hRAuCCy2vPcPCNJRV7gsY hAWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=boqwcn4Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rp11si6189349ejb.724.2021.02.05.15.52.49; Fri, 05 Feb 2021 15:53:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=boqwcn4Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230224AbhBEXwB (ORCPT + 99 others); Fri, 5 Feb 2021 18:52:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:39916 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231659AbhBEOOr (ORCPT ); Fri, 5 Feb 2021 09:14:47 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 76C0A650E3; Fri, 5 Feb 2021 15:14:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612538090; bh=VnkfZtQdtRRpvr/tTC1Emt6Plz1aV6Qx7t6EYLttHJM=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=boqwcn4YbKBRDVm30haM7y+kQu3DqPg25ebMxfVA7iIqZTOoHdeWgZgvAE0zB/VDl BXFSw5xZ7XsJ6pR2a5RXNN8bCniMFgpV2B4Vdr45m+yYMkrEstyuQKYtYx7u9uN/Em e3a0Gx6v2nIiHkDQE077zhP7RY+cqdX14jWxMYdqVXeo87ri7bXr4qZEU0geinPcxf 3OAWXX8n2i3Lt26q820POEobJfcR7AgstSiYU84Kluyk0KWVkFCS5gha/1mYEBYPZf cvKYnUf9k9bZkSOJ/widagKABR+uHgm2Xe1UnFXVD5QMFKYqY9cDHi2boI6siykwTU btEsJjsasQvQA== Date: Fri, 5 Feb 2021 16:14:46 +0100 (CET) From: Jiri Kosina To: =?ISO-8859-15?Q?Filipe_La=EDns?= cc: Benjamin Tissoires , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, =?ISO-8859-15?Q?Filipe_La=EDns?= Subject: Re: [PATCH 1/2] HID: logitech-dj: add support for the new lightspeed receiver iteration In-Reply-To: <20210123180334.3062995-1-lains@archlinux.org> Message-ID: References: <20210123180334.3062995-1-lains@archlinux.org> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 23 Jan 2021, Filipe Laíns wrote: > From: Filipe Laíns > > Tested with the G Pro X Superlight. libratbag sees the device, as > expected, and input events are passing trough. > > https://github.com/libratbag/libratbag/pull/1122 > > The receiver has a quirk where the moused interface doesn't have a > report ID, I am not sure why, perhaps they forgot. All other interfaces > have report IDs so I am left scratching my head. > Since this driver doesn't have a quirk system, I simply implemented it > as a different receiver type, which is true, it just wouldn't be the > prefered approach :P Benjamin, do you have any other idea how to accomplish this without this kind of spaghetti-style conditions? If not, I am tempted to apply the patch as is. Thanks, -- Jiri Kosina SUSE Labs