Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161251AbWJKTIr (ORCPT ); Wed, 11 Oct 2006 15:08:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932474AbWJKTIr (ORCPT ); Wed, 11 Oct 2006 15:08:47 -0400 Received: from ug-out-1314.google.com ([66.249.92.174]:25286 "EHLO ug-out-1314.google.com") by vger.kernel.org with ESMTP id S932467AbWJKTIp (ORCPT ); Wed, 11 Oct 2006 15:08:45 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GJTE4SxlIaFarjpYiEf5gRhzbo5wqPevvWPjLKEWyZPIbBC9JyeL7M4wQkecPZvNHlmZg2Xrb2hiEBc29YVzVqITDivehMkeRENjMz92D8lL2DpDVTs4WkVZAsWsWCJHuJ4dbe5JrZGlmUs2Iix8vC5s8OsjfYKmsLV6MlgLUx8= Message-ID: Date: Wed, 11 Oct 2006 15:08:43 -0400 From: "Dmitry Torokhov" To: "Yu Luming" Subject: Re: [PATCH 2.6.18-mm2] acpi: add backlight support to the sony_acpi driver Cc: "Matthew Garrett" , "Alessandro Guido" , "Andrew Morton" , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, len.brown@intel.com, jengelh@linux01.gwdg.de, gelma@gelma.net, ismail@pardus.org.tr In-Reply-To: <200610120048.19953.luming.yu@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060930190810.30b8737f.alessandro.guido@gmail.com> <20061010212341.GA31972@srcf.ucam.org> <200610102320.13952.dtor@insightbb.com> <200610120048.19953.luming.yu@gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1214 Lines: 26 On 10/11/06, Yu Luming wrote: > > > It would have to be DMI-based to some extent - not all Sonys use the > > > same keys for the same purpose. Misery ensues. > > > > Then we need to add keymap table to the sonypi's input device so that > > keymap can be changed from userspace. > If some key is physically broken, I agree configurable keymap is the only > solution. But, I don't see any other benefit of doing so, if we expect > platform specific driver report meaningful key code to input layer. > As Matthew said different Sony models use different mapping. DMI-based keymap solution requires kernel upgrade every time new model is out whereas configurable keymap can be loaded easily form userspace. Also user might want to remap keys to do different stuff. For example I never change brigtness on my laptop now that I found settings that I like. So I could map one key to start kmail and another one to build kernel for example ;) -- Dmitry - 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/