diff options
author | Andy Whitcroft <apw@canonical.com> | 2009-02-23 18:23:53 +0000 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2011-08-21 21:28:15 -0600 |
commit | d5f3cde51608a6fdfdf1c129e37e8baf7f481ad8 (patch) | |
tree | 3441fc2b0207a456a207ce7fe2154c013cb21fe7 /drivers | |
parent | fac7842d589a57aefda262cb728c0d3d1ed4f0e0 (diff) |
UBUNTU: SAUCE: hotkey quirks for various Zeptro Znote and Fujitsu Amilo laptops
OriginalAuthor: Marius Wenderoth <scale87>
Bug: #330259
Add model specific quirks for the hotkeys for the laptops below:
Zepto Znote 6615WD
Zepto Znote 6625WD
FUJITSU SIEMENS AMILO Xi 2428
In each case the volume keys and the mute key do not correctly produce
key release events. Quirk these to force a key release. (Patch modified
to compile with 2.6.30)
[apw@canonical.com: Track the consolidation of release quirks in the
commit below:
commit 000c2a35b8b0485f5a872c24c4f2d0d6579951c1
Author: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Date: Fri Oct 16 16:13:59 2009 -0700
Input: atkbd - consolidate force release quirks for volume keys
]
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/keyboard/atkbd.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index 11478eb2c27..c99fb3b6f64 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c @@ -936,6 +936,14 @@ static unsigned int atkbd_amilo_xi3650_forced_release_keys[] = { }; /* + * Fujitsu Siemens system with broken key release on volume keys and mute key + */ + +static unsigned int atkbd_amilo_xi_2428_forced_release_keys[] = { + 0xa0, 0xae, 0xb0, -1U +}; + +/* * Soltech TA12 system with broken key release on volume keys and mute key */ static unsigned int atkdb_soltech_ta12_forced_release_keys[] = { @@ -1709,6 +1717,35 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = { .driver_data = atkbd_amilo_xi3650_forced_release_keys, }, { + .ident = "Znote 6615WD", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Zepto"), + DMI_MATCH(DMI_PRODUCT_NAME, "Znote 6615WD"), + }, + .callback = atkbd_setup_forced_release, + .driver_data = atkbd_volume_forced_release_keys, + }, + { + .ident = "Znote 6625WD", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Zepto"), + DMI_MATCH(DMI_PRODUCT_NAME, "Znote"), + DMI_MATCH(DMI_PRODUCT_VERSION, "6625WD"), + }, + .callback = atkbd_setup_forced_release, + .driver_data = atkbd_volume_forced_release_keys, + }, + { + .ident = "AMILO Xi 2428", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), + DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Xi 2428"), + }, + .callback = atkbd_setup_forced_release, + .driver_data = atkbd_amilo_xi_2428_forced_release_keys, + }, + { + .ident = "Soltech Corporation TA12", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Soltech Corporation"), DMI_MATCH(DMI_PRODUCT_NAME, "TA12"), |