Input: atkbd - broaden the Dell DMI signatures
authorMatthew Garrett <mjg59@srcf.ucam.org>
Tue, 30 Dec 2008 08:43:11 +0000 (00:43 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 30 Dec 2008 08:57:59 +0000 (00:57 -0800)
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>
drivers/input/keyboard/atkbd.c

index 97f709f2a68fb786c7cc70570b791db2448b663c..f6e9f39a527b63d8d80b3b0448850090285b05ed 100644 (file)
@@ -1508,6 +1508,15 @@ static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = {
                .callback = atkbd_setup_fixup,
                .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 = {