Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp974546iob; Fri, 13 May 2022 18:15:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqXCoo5CXiLQfojD/OcrFHQkAbY6T/mZZgS2Kg6vIAy4dctaOZ/CnCrWbcs2AuXgaGB4IN X-Received: by 2002:adf:f50d:0:b0:20a:e096:ef with SMTP id q13-20020adff50d000000b0020ae09600efmr5709557wro.679.1652490920837; Fri, 13 May 2022 18:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652490920; cv=none; d=google.com; s=arc-20160816; b=UA3NmK/ysqWPUhqYAoiukB011FuTThZFUv+T3QYWpTjzXfhWi2Y6U1Q7R83sVgY9sd kPRRW3gAnJsn0ePB3ayQN5Prb0JjZLVVqPboLqdxichAWd/r8jrqUyJOu2JZ3yH0e63J ltn+QMTKS9aEqcTJfu4GabudhpLZSEVFD+BCC2wHYYp6bmnacIQokDvclnX/Po7ixJZv fsk9fGkbatcHIE5XpsrAlB3zeImDapfdKMdJcmnGY/X5n3wwk/MBJdxlVywBUJ1Fyuyo a+9ZL5hAkNL+2DyLLrvxN0lGcRrMZy+4XojlDjHRmyvcFYNu56l5CD+X0q3GYlB2mzFI OBqw== 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=JObjmpcdh2IiE6Uq6qsWjtbtsULj5cmmTlBuK4SVhBU=; b=sa2Kj9Qj9BR4YZg5OLetPnGIY32eUe4CQ3Q1W/R8yMxEuW363tPV2ono3W+a6aPE+A m8CMwq8BTVt3XWUWGHIhN+91CU7jF5bxVaKeTL6ImmChzFaGuvzEV97sdFx4tTk5keoM tTEYOLTZmOsAk5rG+LuSYtTsLoZoMsf8bvh3A10SlR/B1VcHQYddA7t6wW3IpcYTY97r kavgGsE9WK7CLnUHVklu0KX4dx57VhEsFFOiOAxxBwsSQZauA1vHYw5TpY+ilLRhdN06 iI7k+gWfeyh62p3epJ7ItuzLZwGGE2vCSAsO78t8rXDmRcQSTUBRXLMaZfvxB9FMSLmK 5o9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eN4gLCJo; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k28-20020a5d525c000000b0020cd5bcfde5si3250174wrc.785.2022.05.13.18.15.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 18:15:20 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eN4gLCJo; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C3A333AB9AB; Fri, 13 May 2022 16:46:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352848AbiELKxQ (ORCPT + 99 others); Thu, 12 May 2022 06:53:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348325AbiELKxO (ORCPT ); Thu, 12 May 2022 06:53:14 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36B2B5DD07; Thu, 12 May 2022 03:53:12 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 83EA3B8265C; Thu, 12 May 2022 10:53:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0997BC385B8; Thu, 12 May 2022 10:53:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652352790; bh=e62NPVgqEhybp1OxatsTfS3ZQNH3DC4XMp+/mo1hPCc=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=eN4gLCJoBG9IVTGVMQm1w6/17W64d5+eovUDht4G6EOtYHeqERHW65ltymhaHtXvm 4tyAreKLCUZLackUqMCwOGPFGsSEsdsB9k53oZG0p9k0huog1ZiXrQjlFVA+AlZfDq ziMwV9frxOipMX0NUPwpVqxSe1IPhEUZwo8hRHSDRHzrSvARXjmaRcBPVgA68BXYt9 cZF84QpGYq6qE4aTnpN81UGtgd+1EnO8pSmXo6NHSXlMZ6/JQzgI3Im5wmfJ0P7vQI 52dBAMcMPpWHURzawazZEYV/32mzM2mew0TJ6GLUr0a4JrJu4tW2hLTwDHFLHtrQSa HV806O0wLcXIg== Date: Thu, 12 May 2022 12:53:06 +0200 (CEST) From: Jiri Kosina To: Dmitry Torokhov cc: Pablo Ceballos , Benjamin Tissoires , lkml , "linux-input@vger.kernel.org" Subject: Re: [PATCH] HID: Driver for Google Hangouts Meet Speakermic In-Reply-To: Message-ID: References: <20220405183953.2094007-1-pceballos@google.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 12 May 2022, Dmitry Torokhov wrote: > > > This driver works around a problem with the HID usage sent by this > > > device for the mute button. It prevents key events from being generated > > > for that HID usage since they would be incorrect. > > > > > > Signed-off-by: Pablo Ceballos > > > > Applied to hid.git#for-5.19/google. Thanks, > > I am curious, could not this be achieved without a kernel driver by > simply using udev to map this usage code to KEY_RESERVED? Hmm, good point, using KEY_RESERVED mapping to achieve the key being actually ignored didn't immediately occur to me. Pablo, could you please verify that it behaves in the expected way, and confirm that we could drop the 'driver' in favor of udev rule? Thanks, -- Jiri Kosina SUSE Labs