rpms/kernel/F-10 linux-2.6-input-atkbd-broaden-dell-signatures.patch, NONE, 1.1.2.1 linux-2.6-input-atkbd-samsung-nc10-key-repeat-fix.patch, NONE, 1.1.2.1 kernel.spec, 1.1206.2.7, 1.1206.2.8
Chuck Ebbert
cebbert at fedoraproject.org
Fri Jan 30 21:59:01 UTC 2009
- Previous message (by thread): rpms/amqp/F-9 .cvsignore, 1.12, 1.13 amqp.spec, 1.16, 1.17 sources, 1.15, 1.16
- Next message (by thread): rpms/python-qpid/F-9 .cvsignore, 1.12, 1.13 python-qpid.spec, 1.16, 1.17 sources, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3419
Modified Files:
Tag: private-fedora-10-2_6_27
kernel.spec
Added Files:
Tag: private-fedora-10-2_6_27
linux-2.6-input-atkbd-broaden-dell-signatures.patch
linux-2.6-input-atkbd-samsung-nc10-key-repeat-fix.patch
Log Message:
Add keyboard quirks for more systems:
Some Dell machines have a different vendor name in DMI.
Samsung NC10 doesn't generate keyup for some keys.
linux-2.6-input-atkbd-broaden-dell-signatures.patch:
--- NEW FILE linux-2.6-input-atkbd-broaden-dell-signatures.patch ---
From: Matthew Garrett <mjg59 at srcf.ucam.org>
Date: Tue, 30 Dec 2008 08:43:11 +0000 (-0800)
Subject: Input: atkbd - broaden the Dell DMI signatures
X-Git-Tag: v2.6.29-rc1~221^2~1^2~2
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=2a3ec3265741c3b2a7ebbd1b33f538e5a5583c48
Input: atkbd - broaden the Dell DMI signatures
Some Dells need the dell input quirk applied but have a different vendor
string in their DMI tables. Add an extra entry to cover these machines as
well.
Signed-off-by: Matthew Garrett <mjg at redhat.com>
Signed-off-by: Dmitry Torokhov <dtor at mail.ru>
---
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index 97f709f..f6e9f39 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -1509,6 +1509,15 @@ static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = {
.driver_data = atkbd_dell_laptop_keymap_fixup,
},
{
+ .ident = "Dell Laptop",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),
+ DMI_MATCH(DMI_CHASSIS_TYPE, "8"), /* Portable */
+ },
+ .callback = atkbd_setup_fixup,
+ .driver_data = atkbd_dell_laptop_keymap_fixup,
+ },
+ {
.ident = "HP 2133",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
linux-2.6-input-atkbd-samsung-nc10-key-repeat-fix.patch:
--- NEW FILE linux-2.6-input-atkbd-samsung-nc10-key-repeat-fix.patch ---
From: Stuart Hopkins <stuart at dodgy-geeza.com>
Date: Sat, 20 Dec 2008 09:12:33 +0000 (-0500)
Subject: Input: atkbd - Samsung NC10 key repeat fix
X-Git-Tag: v2.6.29-rc1~221^2~1^2~13
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=4200844bd9dc511088258437d564a187f0ffc94e
Input: atkbd - Samsung NC10 key repeat fix
This patch fixes the key repeat issue with the Fn+F? keys on the new
Samsung NC10 Netbook, so that the keys can be defined and used within
ACPID correctly, otherwise the keys repeat indefinately.
This solves part of http://bugzilla.kernel.org/show_bug.cgi?id=12021
Signed-off-by: Stuart Hopkins <stuart at dodgy-geeza.com>
Signed-off-by: Dmitry Torokhov <dtor at mail.ru>
---
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index fa6ed33..97f709f 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -901,6 +901,22 @@ static void atkbd_hp_zv6100_keymap_fixup(struct atkbd *atkbd)
}
/*
+ * Samsung NC10 with Fn+F? key release not working
+ */
+static void atkbd_samsung_keymap_fixup(struct atkbd *atkbd)
+{
+ const unsigned int forced_release_keys[] = {
+ 0x82, 0x83, 0x84, 0x86, 0x88, 0x89, 0xb3, 0xf7, 0xf9,
+ };
+ int i;
+
+ if (atkbd->set == 2)
+ for (i = 0; i < ARRAY_SIZE(forced_release_keys); i++)
+ __set_bit(forced_release_keys[i],
+ atkbd->force_release_mask);
+}
+
+/*
* atkbd_set_keycode_table() initializes keyboard's keycode table
* according to the selected scancode set
*/
@@ -1519,6 +1535,15 @@ static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = {
.callback = atkbd_setup_fixup,
.driver_data = atkbd_inventec_keymap_fixup,
},
+ {
+ .ident = "Samsung NC10",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "NC10"),
+ },
+ .callback = atkbd_setup_fixup,
+ .driver_data = atkbd_samsung_keymap_fixup,
+ },
{ }
};
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1206.2.7
retrieving revision 1.1206.2.8
diff -u -r1.1206.2.7 -r1.1206.2.8
--- kernel.spec 28 Jan 2009 18:27:13 -0000 1.1206.2.7
+++ kernel.spec 30 Jan 2009 21:58:30 -0000 1.1206.2.8
@@ -630,6 +630,8 @@
Patch452: linux-2.6.27-hwmon-applesmc-2.6.28.patch
# 448656
Patch454: linux-2.6-input.git-i8042-add-xps-m1530-to-nomux.patch
+Patch455: linux-2.6-input-atkbd-broaden-dell-signatures.patch
+Patch456: linux-2.6-input-atkbd-samsung-nc10-key-repeat-fix.patch
Patch460: linux-2.6-serial-460800.patch
Patch510: linux-2.6-silence-noise.patch
@@ -1221,6 +1223,10 @@
ApplyPatch linux-2.6.27-hwmon-applesmc-2.6.28.patch
# 448656
ApplyPatch linux-2.6-input.git-i8042-add-xps-m1530-to-nomux.patch
+# apply dell quirks to additional machines
+ApplyPatch linux-2.6-input-atkbd-broaden-dell-signatures.patch
+# fix key repeats on Samsung NC10
+ApplyPatch linux-2.6-input-atkbd-samsung-nc10-key-repeat-fix.patch
# Allow to use 480600 baud on 16C950 UARTs
ApplyPatch linux-2.6-serial-460800.patch
@@ -1911,6 +1917,11 @@
%kernel_variant_files -k vmlinux %{with_kdump} kdump
%changelog
+* Fri Jan 30 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.27.13-170.2.8
+- Add keyboard quirks for more systems:
+ Some Dell machines have a different vendor name in DMI.
+ Samsung NC10 doesn't generate keyup for some keys.
+
* Wed Jan 28 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.27.13-170.2.7
- Drop sctp patch marged in 2.6.27.13
- Previous message (by thread): rpms/amqp/F-9 .cvsignore, 1.12, 1.13 amqp.spec, 1.16, 1.17 sources, 1.15, 1.16
- Next message (by thread): rpms/python-qpid/F-9 .cvsignore, 1.12, 1.13 python-qpid.spec, 1.16, 1.17 sources, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list