|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
From 71b0b96d1ced2ab5d0fe67963e112d50c15f38e7 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
From: Hans de Goede <hdegoede@redhat.com>
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
Date: Thu, 30 Oct 2014 10:15:54 +0100
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
Subject: [PATCH] keymap: Ignore brightness keys on Dell Inspiron 1520 to avoid
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
double events
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
On the Dell Inspiron 1520 both the atkbd and acpi-video input devices report
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
an event for pressing the brightness up / down key-combos, resulting in user
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
space seeing double events and increasing / decreasing the brightness 2 steps
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
for each keypress.
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
This hwdb snippet suppresses the atkbd events, making the Inspiron 1520 work
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
like most modern laptops which emit brightness up / down events through
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
acpi-video only.
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
Reported by Pavel Malyshev <p.malishev@gmail.com>
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
https://bugzilla.redhat.com/show_bug.cgi?id=1141525
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
(cherry picked from commit aba248ee6b1eb10baf3d89eca2ad7569459af6ab)
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
hwdb/60-keyboard.hwdb | 5 +++++
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
1 file changed, 5 insertions(+)
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
index 06caba9791..d2ca965c90 100644
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
--- a/hwdb/60-keyboard.hwdb
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
+++ b/hwdb/60-keyboard.hwdb
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
@@ -230,6 +230,11 @@ keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1110:pvr*
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1210:pvr*
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
KEYBOARD_KEY_84=wlan
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
+# Dell Inspiron 1520
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
+keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1520:pvr*
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
+ KEYBOARD_KEY_85=unknown # Brightness Down, also emitted by acpi-video, ignore
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
+ KEYBOARD_KEY_86=unknown # Brightness Up, also emitted by acpi-video, ignore
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
+
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
# Latitude XT2
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*XT2:pvr*
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
KEYBOARD_KEY_9b=up # tablet rocker up
|