naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
594167
From e964195c2b0a68a83f265f19e76a2de285bf5768 Mon Sep 17 00:00:00 2001
594167
From: Hans de Goede <hdegoede@redhat.com>
594167
Date: Mon, 18 Apr 2022 20:36:39 +0200
594167
Subject: [PATCH] hwdb: 60-keyboard: Add Acer Aspire One AO532h keymappings
594167
594167
Add keymappings for the Acer Aspire One AO532h netbook.
594167
594167
Unmap the brightnesskeys because they send duplicate key events with
594167
the ACPI video bus key events and add a mapping for the bluetooth
594167
on/off hotkey.
594167
594167
(cherry picked from commit 5e3b8aeef30f8b46669280ecffc178fa43c8bf00)
594167
594167
Related: #2087778
594167
---
594167
 hwdb.d/60-keyboard.hwdb | 6 ++++++
594167
 1 file changed, 6 insertions(+)
594167
594167
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
594167
index adf5e9ac35..2555b8d35a 100644
594167
--- a/hwdb.d/60-keyboard.hwdb
594167
+++ b/hwdb.d/60-keyboard.hwdb
594167
@@ -154,6 +154,12 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*8930:*
594167
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*7750G:*
594167
  KEYBOARD_KEY_e0=!pageup
594167
 
594167
+# Acer Aspire One AO532h
594167
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAO532h:*
594167
+ KEYBOARD_KEY_84=bluetooth
594167
+ KEYBOARD_KEY_ce=unknown  # Brightness Up, also emitted by acpi-video, ignore
594167
+ KEYBOARD_KEY_ef=unknown  # Brightness Down, also emitted by acpi-video, ignore
594167
+
594167
 # Predator PH 315-52
594167
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnPredator*PH*315-52:*
594167
  KEYBOARD_KEY_ef=kbdillumup                             # Fn+F10