rpms/kernel/devel linux-2.6-input-dell-keyboard-keyup.patch, NONE, 1.1 kernel.spec, 1.886, 1.887
Matthew Garrett (mjg59)
fedora-extras-commits at redhat.com
Thu Aug 14 14:07:44 UTC 2008
Author: mjg59
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19462
Modified Files:
kernel.spec
Added Files:
linux-2.6-input-dell-keyboard-keyup.patch
Log Message:
* Thu Aug 14 2008 Matthew Garrett <mjg at redhat.com>
- Force keyup events on broken Dell hotkeys
linux-2.6-input-dell-keyboard-keyup.patch:
--- NEW FILE linux-2.6-input-dell-keyboard-keyup.patch ---
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index b1ce10f..e32c24d 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -834,10 +834,10 @@ static void atkbd_disconnect(struct serio *serio)
}
/*
- * Most special keys (Fn+F?) on Dell Latitudes do not generate release
+ * Most special keys (Fn+F?) on Dell laptops do not generate release
* events so we have to do it ourselves.
*/
-static void atkbd_latitude_keymap_fixup(struct atkbd *atkbd)
+static void atkbd_dell_laptop_keymap_fixup(struct atkbd *atkbd)
{
const unsigned int forced_release_keys[] = {
0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8f, 0x93,
@@ -1461,13 +1461,13 @@ static int __init atkbd_setup_fixup(const struct dmi_system_id *id)
static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = {
{
- .ident = "Dell Latitude series",
+ .ident = "Dell Laptop",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
- DMI_MATCH(DMI_PRODUCT_NAME, "Latitude"),
+ DMI_MATCH(DMI_CHASSIS_TYPE, "8"), /* Portable */
},
.callback = atkbd_setup_fixup,
- .driver_data = atkbd_latitude_keymap_fixup,
+ .driver_data = atkbd_dell_laptop_keymap_fixup,
},
{
.ident = "HP 2133",
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.886
retrieving revision 1.887
diff -u -r1.886 -r1.887
--- kernel.spec 14 Aug 2008 09:58:46 -0000 1.886
+++ kernel.spec 14 Aug 2008 14:07:14 -0000 1.887
@@ -584,6 +584,7 @@
Patch420: linux-2.6-squashfs.patch
Patch430: linux-2.6-net-silence-noisy-printks.patch
Patch450: linux-2.6-input-kill-stupid-messages.patch
+Patch451: linux-2.6-input-dell-keyboard-keyup.patch
Patch460: linux-2.6-serial-460800.patch
Patch510: linux-2.6-silence-noise.patch
Patch530: linux-2.6-silence-fbcon-logo.patch
@@ -1095,6 +1096,8 @@
# Misc fixes
# The input layer spews crap no-one cares about.
ApplyPatch linux-2.6-input-kill-stupid-messages.patch
+# Dell can't make keyboards
+ApplyPatch linux-2.6-input-dell-keyboard-keyup.patch
# Allow to use 480600 baud on 16C950 UARTs
ApplyPatch linux-2.6-serial-460800.patch
@@ -1742,6 +1745,9 @@
%kernel_variant_files -k vmlinux %{with_kdump} kdump
%changelog
+* Thu Aug 14 2008 Matthew Garrett <mjg at redhat.com>
+- Force keyup events on broken Dell hotkeys
+
* Thu Aug 14 2008 Dave Airlie <airlied at redhat.com>
- Update intel headers so DDX can build
More information about the fedora-extras-commits
mailing list