Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp129402pxb; Thu, 14 Jan 2021 21:50:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJwulCFVWYe85msBh6udGDzHtSqa1UisbZgaxpTkJlwpecpDWju44ezrTYv4YzFROsuTqDQn X-Received: by 2002:a17:906:adce:: with SMTP id lb14mr7620788ejb.502.1610689845646; Thu, 14 Jan 2021 21:50:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610689845; cv=none; d=google.com; s=arc-20160816; b=pba7+eOqNQhGV74KrAUCmM9pKW+Os7z+G3iKC79aK+dvR0f5kubEtpK0uOqkCeGYh/ aSq/6jTRIzrFSXg4paY3JNa+rV60jOXH8auXgrI2AU8NHlHnANvOA8DDzsP9Ez4vWvZX 0h85Uubfoiy2gDsxMK5KlsTyD6YUnlCiSnOlyakPzs6JKDT0RKVYm3+UWlq/Aj8tUAtK WO6GJNhCW4lAZoflNNmZ8C+UIdRcvhw/mm2mBTlYNYeD0ppTl/qiwptBfAvGXCNcCRqT I76CiQF+G3drxK4W7EBQ+PS/dTdGyRdbIKNHm/F4ihXzLSNwyvQvUVcLNrXG/yqyAvwf jT3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=HddAvGpngy7gMAMoANW+9cHBGjvIshbqLk0/grNgfO4=; b=Fja5gLUcPVBTWpy5Rz+oZ77e2QjoOLNkFnB8Xvr0jCCxZCe3ecMhIo7iQ5fgPKzt0y EiRrtVsSe1BhBTf0ip8mA0CB8BkTFLb7iWDoI+8ljSnpAlNuskkubSFu/XwlciLA+rMm xrjMXwuI2fDW6fXmpYzTPqlUmuqmvzkIw6GTX2cnCyLtNZtjUbTX0IaZwfqkRszIS2+w /vcjGYyoeGboCe1FRoE3YNUt0q0wkSkIglHgGHHw+EBL/9VZEEoelhTRNiGNqolnA42d 9t9V6K/ZPFm0eIOuwSEBGuC5jh73rz9Xzv8f4kuBUvdr4B/A7Kv9neTo9UnPXp+oBsby RMJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@who-t.net header.s=fm2 header.b=f1ayHlkT; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ljoezSl2; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h22si3374456ejd.179.2021.01.14.21.50.22; Thu, 14 Jan 2021 21:50:45 -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=@who-t.net header.s=fm2 header.b=f1ayHlkT; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ljoezSl2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731316AbhAOEpS (ORCPT + 99 others); Thu, 14 Jan 2021 23:45:18 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36109 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726032AbhAOEpR (ORCPT ); Thu, 14 Jan 2021 23:45:17 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 7CF975C00AE; Thu, 14 Jan 2021 23:44:31 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 14 Jan 2021 23:44:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=who-t.net; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=HddAvGpngy7gMAMoANW+9cHBGjv IshbqLk0/grNgfO4=; b=f1ayHlkTp6zhZkh/s/h43Koq7wd4JoK3+IVZAigx4Ae G3x4XHAb/4uiqz6Kn9DHJkFM74pARaqlMBS/z0bDTqGWHp2mQgbpldq2jEt8jr54 zrHhr0eUFmBbE8sk9++0hgk6MDJCg+QET0hXYjKsBbswJInrClrHQwDKv0h7eroz 8N5Gg/92K1blTFv1qO4lrzRqHK9PVQ4Yn+apQ0vmVofu9nRrkmaBnHX7uYGyQKyn sXe8YK4Nx77+05Es06e3j+jqDw+Bi6aWDUH/e7jejjA9ePX2l/zhBWDVYnfGXFxx AXv6TQqey7uKEq1wqXIONQo1XvQ3p7cnDYsvNlkwg8w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=HddAvG pngy7gMAMoANW+9cHBGjvIshbqLk0/grNgfO4=; b=ljoezSl2KpGUor+YfKT9IP X5BcxRVtqxXZGG+prpKLlHIY/X6Jt9TyBx8rsz+UBg8BexEeCHsAMMLs0+pmbUsZ 1pMrbGKFWakn9MBuRSguNQVQEAmXyks/5LhPS1tmLgYmWLdGGHXwIguK1y5zveH7 uCz7AwHFyQ2eXpVpdSVeZsJV6gJuXkkDbauo8E8BAAuYTZyHE3rQgfy7Op/kg3A/ afmUUQgvgbFZmrEy7vZKirM8hbFz+T96tQk8wHUYiw+egLPcjCapdHRIB967RRhD OjsT+RjuA830G/cm5T+OmYEcGCpa2kmj/xOXLB/iDVsQAuiz9Okp4QjgcfDXHFww == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrtddugdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheprfgvthgvrhcu jfhuthhtvghrvghruceophgvthgvrhdrhhhuthhtvghrvghrseifhhhoqdhtrdhnvghtqe enucggtffrrghtthgvrhhnpeehhfehfffgheelgeeuudelhefgvdefveekudevjeevjeev vefggefguddufeeuveenucfkphepuddujedrvddtrdejuddrjeefnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrhhhuthhtvghr vghrseifhhhoqdhtrdhnvght X-ME-Proxy: Received: from koala (117-20-71-73.751447.bne.nbn.aussiebb.net [117.20.71.73]) by mail.messagingengine.com (Postfix) with ESMTPA id 34ADB1080057; Thu, 14 Jan 2021 23:44:28 -0500 (EST) Date: Fri, 15 Jan 2021 14:44:25 +1000 From: Peter Hutterer To: Dmitry Torokhov Cc: Jiri Kosina , Benjamin Tissoires , seobrien@chromium.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] HID: hid-input: avoid splitting keyboard, system and consumer controls Message-ID: <20210115044425.GA1395024@koala> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 13, 2021 at 10:24:13PM -0800, Dmitry Torokhov wrote: > A typical USB keyboard usually splits its keys into several reports: > > - one for the basic alphanumeric keys, modifier keys, F keys, six pack > keys and keypad. This report's application is normally listed as > GenericDesktop.Keyboard > - a GenericDesktop.SystemControl report for the system control keys, such > as power and sleep > - Consumer.ConsumerControl report for multimedia (forward, rewind, > play/pause, mute, etc) and other extended keys. > - additional output, vendor specific, and feature reports > > Splitting each report into a separate input device is wasteful and even > hurts userspace as it makes it harder to determine the true capabilities > (set of available keys) of a keyboard, so let's adjust application > matching to merge system control and consumer control reports with > keyboard report, if one has already been processed. > > Signed-off-by: Dmitry Torokhov Acked-by: Peter Hutterer I think, let's see if there's any fallout from that :) Cheers, Peter