Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756126AbYKOMcb (ORCPT ); Sat, 15 Nov 2008 07:32:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752940AbYKOMcW (ORCPT ); Sat, 15 Nov 2008 07:32:22 -0500 Received: from mail.ukfsn.org ([77.75.108.10]:54311 "EHLO mail.ukfsn.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751498AbYKOMcV (ORCPT ); Sat, 15 Nov 2008 07:32:21 -0500 Date: Sat, 15 Nov 2008 12:32:10 +0000 From: Nick Warne To: Matthew Garrett Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] Make Dell keyboard repeat quirk apply to a wider range of hardware Message-ID: <20081115123210.60500f29@palantir.linicks.net> In-Reply-To: <20081112165650.GA15594@srcf.ucam.org> References: <20081111074702.75e71055@sauron.linicks.net> <20081112131427.1bbc2a7c@palantir.linicks.net> <20081112165650.GA15594@srcf.ucam.org> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1385 Lines: 48 On Wed, 12 Nov 2008 16:56:50 +0000 Matthew Garrett wrote: > Does this work? > > diff --git a/drivers/input/keyboard/atkbd.c > b/drivers/input/keyboard/atkbd.c index 22016ca..15479ef 100644 > --- a/drivers/input/keyboard/atkbd.c > +++ b/drivers/input/keyboard/atkbd.c > @@ -1460,6 +1460,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"), > OK, as discussed, I cannot test this, but my research leads to this to be correct: http://ubuntuforums.org/showthread.php?t=978973 Dell use vendor ID s either 'Dell Inc.' or 'Dell Computer Corporation' exclusively. So I think this can be officially submitted. Nick -- Free Software Foundation Associate Member 5508 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/