Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp681748ybh; Tue, 10 Mar 2020 06:23:26 -0700 (PDT) X-Google-Smtp-Source: ADFU+vss2YHScz//6EKFUJ4MkZsUAxfVbhWislb/gyIgBwo7O1+7dEuSdn+J2mKMFsCq6rxlYs9x X-Received: by 2002:a05:6808:1cf:: with SMTP id x15mr1164855oic.44.1583846606622; Tue, 10 Mar 2020 06:23:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583846606; cv=none; d=google.com; s=arc-20160816; b=SPDEf1ydmW9pT6k1pQyZ4EPcjNDTISew4g6g8S5tegZtqD4UZEdsieGKo7i2Ku+utj VuGIjXkZzFTbdPbId7tuEAE32GkgsA0uB6dODgp15L5a5TCJLMH6KkqrxZLEMJLNAdxc 2HWWRWv7dv06WaTdYQxrVVRX9ms9gZ0vp/TwMJhp1LyyKrJhrngF9OfaeWnslzhBL1GU EjzaETlSU9ytkny9RKKO+LrfgSYZcu0UQmGHUO010A5NQeEgweBEVuRuBWGEJ8lE6S1+ wpZn6GxUZWlVvsTtaJQvM9D/bkRupEjNIJMsKG+LBrnWKFFzqTexxknAUQAfFXuBGNoA 1vcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=XfO53TIXv58SfRy4kmr9OkJeLMShoUEm1Smu17oEpaM=; b=X3CSorY6m8Q1EZgcTIgHicRAgupWQhfHBBJtPjxMQIVMhsI/HFHEcdZFLgbyq9a/Od 0969/XKXMNej4Fwpmb5uKdOfCMRbYgK36oC/CWeCQeVNr8pdK/7GhwrzGTlJfiksde7f I3Kvd2hkyY9Kk95FLqt5c8+VBECMbGrVPYd5n6LtehtUAfe2ZoqyQRAEhe3FYLlZcbah CGl5RkUxyrUFsYNUtfe9yNUyrrLWL0y09pB7Gv7fvpCpT7m9Xe7GDKPY9aGzow9uof7A xD7D6RUEHrlh4i6xbCUdCbC5Tt79Zk/mDT8baj+3gY3DRsMaydQ/RuXvb/hqlqjj8ZE0 90MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nOHUzyv8; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z2si5146556oix.100.2020.03.10.06.23.14; Tue, 10 Mar 2020 06:23:26 -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; dkim=pass header.i=@kernel.org header.s=default header.b=nOHUzyv8; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730074AbgCJNWV (ORCPT + 99 others); Tue, 10 Mar 2020 09:22:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:47952 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730239AbgCJNWT (ORCPT ); Tue, 10 Mar 2020 09:22:19 -0400 Received: from pobox.suse.cz (prg-ext-pat.suse.com [213.151.95.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 53E39208E4; Tue, 10 Mar 2020 13:22:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583846539; bh=FaMTD2na3NDedgKSwXsZVOGx7i/nxquek6psyjDM3Lo=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=nOHUzyv8eb4NIsmREF9QILrzXXWOx92nJ+aS2RDg1Dv7jNtzGLBsZOeyveMA7AQVV Cq8vn5QKZbw+kqb6EA5V7asq10eKRxLNL69aHKd+KpzRG/coxJDSXCz2f2nx0TCNRr L6a5/PaJXVH3SRWycAiQbGPnBxTmEZsULi5zIptM= Date: Tue, 10 Mar 2020 14:22:16 +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, Nestor Lopez Casado Subject: Re: [PATCH] HID: logitech-dj: add support for the static device in the Powerplay mat/receiver In-Reply-To: <5a93677bd6238a9d7928e4fd16a8915faeb5f19e.camel@archlinux.org> Message-ID: References: <20200115201811.3271284-1-lains@archlinux.org> <5a93677bd6238a9d7928e4fd16a8915faeb5f19e.camel@archlinux.org> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 Feb 2020, Filipe La?ns wrote: > > > + /* custom receiver device (eg. powerplay) */ > > > + if (hidpp_report->device_index == 7) { > > > + workitem.reports_supported |= HIDPP; > > > + } > > > + > > > > I guess we can't do anything else than to trust Logitech that they will > > not assign conflicting device_index ID in the future to something that > > will not be HID++, right? > > > > Or is this properly documented somewhere? > > > > Thanks, > > > CCing Nestor > > Yes, we need to trust Logitech on this. There's isn't anything > documented regarding this AFAIK. > > Even if Logitech released a device with index 7 that didn't support > HID++, it wouldn't be that big of an issue. We would just end up with a > hidraw node which would export a vendor page report descriptor but the > device wouldn't actually reply to anything. Given the silence from Nestor, I guess we can just apply this for 5.7; pushing to for-5.7/logitech branch. Thanks, -- Jiri Kosina SUSE Labs