ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
8d419f
From ec796ff877b7e02b7bb261558ff7f9a411548f83 Mon Sep 17 00:00:00 2001
8d419f
From: Yu Watanabe <watanabe.yu+github@gmail.com>
8d419f
Date: Wed, 27 Apr 2022 17:32:21 +0900
8d419f
Subject: [PATCH] hwdb: add keyboard mapping for HP ProBook 11G2
8d419f
8d419f
Closes #23108.
8d419f
8d419f
(cherry picked from commit d10329a08eb06ea4348a7411092404a1d935b5a8)
8d419f
8d419f
Related: #2087778
8d419f
---
8d419f
 hwdb.d/60-keyboard.hwdb | 7 ++++++-
8d419f
 1 file changed, 6 insertions(+), 1 deletion(-)
8d419f
8d419f
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
8d419f
index f78bc6d9cb..9b06bab54d 100644
8d419f
--- a/hwdb.d/60-keyboard.hwdb
8d419f
+++ b/hwdb.d/60-keyboard.hwdb
8d419f
@@ -724,6 +724,11 @@ evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*455*G5*:*
8d419f
  KEYBOARD_KEY_85=unknown                                # lid close; also reported via special evdev
8d419f
  KEYBOARD_KEY_f8=wlan                                   # Wireless HW switch button
8d419f
 
8d419f
+# HP ProBook 11G2
8d419f
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPProBook11G2*:pvr*
8d419f
+ KEYBOARD_KEY_d8=!f23                                   # Fn+F2: touchpad off
8d419f
+ KEYBOARD_KEY_d9=!f22                                   # Fn+F2: touchpad on
8d419f
+
8d419f
 # HP mt44 Mobile Thin Client
8d419f
 evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*mt44*Mobile*Thin*Client*:*
8d419f
  KEYBOARD_KEY_64=calendar                               # Calendar icon (Fn + F12)
8d419f
@@ -1692,7 +1697,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700T*:*
8d419f
 
8d419f
 # Galaxy Book (2021) NP750XDA-KD4SE
8d419f
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn750XDA:pvr*
8d419f
- KEYBOARD_KEY_81=!esc 		
8d419f
+ KEYBOARD_KEY_81=!esc
8d419f
  KEYBOARD_KEY_ce=!prog1 	# Fn+F1 launch settings
8d419f
  KEYBOARD_KEY_ae=!volumedown 	# Fn+F7 volume down
8d419f
  KEYBOARD_KEY_b0=!volumeup	# Fn+F8 volume up