richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
8d419f
From 20537f77e4b66c5e657174a4f29dfaf883b8929c Mon Sep 17 00:00:00 2001
8d419f
From: Pablo Ceballos <pceballos@google.com>
8d419f
Date: Fri, 13 May 2022 23:33:07 +0000
8d419f
Subject: [PATCH] hwdb: Add Google Hangouts Meet speakermic
8d419f
8d419f
This device implements the phone mute HID usage as a toggle switch,
8d419f
where 1 indicates muted, and 0 indicates unmuted. However, for a key
8d419f
event 1 indicates that the key has been pressed and 0 indicates it has
8d419f
been released. This mismatch causes issues, so prevent key events from
8d419f
being generated for this HID usage.
8d419f
8d419f
(cherry picked from commit 2d251543211dae43bcf6f01ed32a3dbe8fef1ea7)
8d419f
8d419f
Related: #2087778
8d419f
---
8d419f
 hwdb.d/60-keyboard.hwdb | 8 ++++++++
8d419f
 1 file changed, 8 insertions(+)
8d419f
8d419f
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
8d419f
index b852f33608..2e4f6f4293 100644
8d419f
--- a/hwdb.d/60-keyboard.hwdb
8d419f
+++ b/hwdb.d/60-keyboard.hwdb
8d419f
@@ -511,6 +511,14 @@ evdev:input:b0003v0458p0708*
8d419f
  KEYBOARD_KEY_0900fd=scale
8d419f
  KEYBOARD_KEY_0900fc=screenlock
8d419f
 
8d419f
+###########################################################
8d419f
+# Google
8d419f
+###########################################################
8d419f
+
8d419f
+# Google Hangouts Meet speakermic
8d419f
+evdev:input:b0003v18D1p8001*
8d419f
+ KEYBOARD_KEY_b002f=reserved                            # Disable micmute key
8d419f
+
8d419f
 ###########################################################
8d419f
 # Hewlett Packard
8d419f
 ###########################################################