Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp178436pxb; Tue, 2 Feb 2021 02:20:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0TgDbiS3C6d8IinhxdliTciZXEZxjPPfHtx6OoYC1fX+hIu3gWXZznic6L1AH7Apx6212 X-Received: by 2002:a17:906:c455:: with SMTP id ck21mr5229447ejb.354.1612261225581; Tue, 02 Feb 2021 02:20:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612261225; cv=none; d=google.com; s=arc-20160816; b=cCQrixid9zlB1WjxJN22qEj/x2SqkH9xiRCZUcMhn0u1nNZ6c7SdnTx3VmI0dr/7aD OSOL81NOqI30VCWwQmZNpdbYvIEWEYYAjZjf21ZwiaheG+UIgRkO9/HpL+MhZkf6XMm4 MDB1wzZlKmWr+ZBhs8Lu/CaAtCOfoy4URVXELokCuH64tlKd4DBba/IhnAimRPyZPy7K LajuxurPjnKFmclbWU6CqcLX3jaroGagmJAHsqZzYBEJpzM3bs04dnNG2gDQ3rFAQZav wdeOLjQt4PCMmPXuZzagXgRtl+ElYBY+fd84XmwaWF0i0sVNpzWTTSDFfYvkhtiCm1xp BItg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=yr5lZooiESp8G54OoYC4eE3+YsphUF8oosSjsyTdqTM=; b=HwgjfFDkZt8v8vBJdxy5/DPjoWD0Rtaqiukc5sTcSBuAqFfzOn8H4N5JhePescQzxN FK0Hj85HwN69P2ySl74TJlNntwNIauYfHFrUA0El6AeBZf8h71RSLqDqY8J1r494D16C N4xM8qXBRxE9RXjzpXlamjQx/oQ6NQY/impkuCmsXTnmj/kSM7ASbZRPi2W+XErd0U6g i6Ub6xYGeS2r1tcPLXtleyAZwztJ15xa1aWHc1YzsoDVzs7QQ4pkb/47BAA7Uh+/S/Gg xIsdoWGZnMGJcVIfNXS2Z6k/AeJeyzO9+YC2RaObRSoEcLtNXGJdlCu1NFD1N3cjjhA2 c1Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NeEtv4qR; 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 r29si12954068edx.223.2021.02.02.02.20.00; Tue, 02 Feb 2021 02:20:25 -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=NeEtv4qR; 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 S229750AbhBBKQv (ORCPT + 99 others); Tue, 2 Feb 2021 05:16:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:47050 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbhBBKQs (ORCPT ); Tue, 2 Feb 2021 05:16:48 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 50D8864E30; Tue, 2 Feb 2021 10:16:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612260966; bh=D1z+7hvfH8BBbQ794heYv3zLWOeb4/j24TKN2iQJP1o=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=NeEtv4qRFlfzwlQVudcA0C/dyXsFwLX7DkQOWBH7i24uwNrQiHH//fljzQoO3ckT/ 8Zr45ZqIhsu9wB7cr6U+lcIasKbdjoiFUoV+S7EmBnm0iGwC4s14q5WeXb4APNrk+I uY9NYmJQ0f7ISgnuVT1taXoO6u3RSaf9cutx4aJ3V0JpW7alRMKr7j5S90lp7SqMOp ppuzf/ZhDfFh1G2q3r/At67UhVaOIemJ8DN9ZyGib8BO+5IzxPEOpvGiVNqvxPQ5eg b9ZHsYs9ZBppgF6GUOGmsQPJXR5AhV9Kp77FPib5aAx93g6bcJp/Sea5Nd2XanxQhG DRe9t96XlEF3g== Date: Tue, 2 Feb 2021 11:15:55 +0100 (CET) From: Jiri Kosina To: Dmitry Torokhov cc: Benjamin Tissoires , Peter Hutterer , 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 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 13 Jan 2021, 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 > --- Queued in for-5.12/core. Thanks, -- Jiri Kosina SUSE Labs