| From 2a3ec3265741c3b2a7ebbd1b33f538e5a5583c48 Mon Sep 17 00:00:00 2001 |
| From: Matthew Garrett <mjg59@srcf.ucam.org> |
| Date: Tue, 30 Dec 2008 00:43:11 -0800 |
| Subject: Input: atkbd - broaden the Dell DMI signatures |
| |
| From: Matthew Garrett <mjg59@srcf.ucam.org> |
| |
| commit 2a3ec3265741c3b2a7ebbd1b33f538e5a5583c48 upstream. |
| |
| 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@redhat.com> |
| Signed-off-by: Dmitry Torokhov <dtor@mail.ru> |
| Cc: Chuck Ebbert <cebbert@redhat.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
| |
| --- |
| drivers/input/keyboard/atkbd.c | 9 +++++++++ |
| 1 file changed, 9 insertions(+) |
| |
| --- a/drivers/input/keyboard/atkbd.c |
| +++ b/drivers/input/keyboard/atkbd.c |
| @@ -1486,6 +1486,15 @@ static struct dmi_system_id atkbd_dmi_qu |
| .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"), |