richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
8d419f
From aaca6dc45b898607afea3bf3d50ba7120458b054 Mon Sep 17 00:00:00 2001
8d419f
From: AlexCatze <samsung5552015.st@gmail.com>
8d419f
Date: Fri, 18 Mar 2022 14:45:43 +0200
8d419f
Subject: [PATCH] Add HP Elitebook 2760p support (#22766)
8d419f
8d419f
(cherry picked from commit 1a34f913a6cfa22abfb6b3f69e2ba20112e19d87)
8d419f
8d419f
Related: #2087778
8d419f
---
8d419f
 hwdb.d/60-keyboard.hwdb | 12 ++++++++++++
8d419f
 1 file changed, 12 insertions(+)
8d419f
8d419f
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
8d419f
index 780ed6183e..eeadd1a059 100644
8d419f
--- a/hwdb.d/60-keyboard.hwdb
8d419f
+++ b/hwdb.d/60-keyboard.hwdb
8d419f
@@ -602,6 +602,18 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*G60*Notebook*PC:*
8d419f
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2570p*:*
8d419f
  KEYBOARD_KEY_f8=wlan                                   # Wireless HW switch button
8d419f
 
8d419f
+# Elitebook 2760p
8d419f
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2760p*:*
8d419f
+ KEYBOARD_KEY_89=battery                                # Fn+F8
8d419f
+ KEYBOARD_KEY_f8=unknown                                # rfkill is also reported by HP Wireless hotkeys
8d419f
+ KEYBOARD_KEY_86=volumeup
8d419f
+ KEYBOARD_KEY_87=volumedown
8d419f
+ KEYBOARD_KEY_92=brightnessdown
8d419f
+ KEYBOARD_KEY_97=brightnessup
8d419f
+ KEYBOARD_KEY_d8=!f23                                   # touchpad off
8d419f
+ KEYBOARD_KEY_d9=!f22                                   # touchpad on
8d419f
+ KEYBOARD_KEY_b3=unknown                                # FIXME: Auto brightness
8d419f
+
8d419f
 # TX2
8d419f
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[tT][xX]2*:*
8d419f
  KEYBOARD_KEY_c2=media