Re: [PATCH] HID: Driver for Google Hangouts Meet Speakermic

Jiri Kosina
2022-05-12T10:53:17Z

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 <pceballos@google.com>
> >
> > 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