naccyde / rpms / systemd

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