dcavalca / rpms / systemd

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