From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751236AbWDTUGz (ORCPT ); Thu, 20 Apr 2006 16:06:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751241AbWDTUGz (ORCPT ); Thu, 20 Apr 2006 16:06:55 -0400 Received: from smtp2.wanadoo.fr ([193.252.22.29]:2750 "EHLO smtp2.wanadoo.fr") by vger.kernel.org with ESMTP id S1751239AbWDTUGy convert rfc822-to-8bit (ORCPT ); Thu, 20 Apr 2006 16:06:54 -0400 X-ME-UUID: 20060420200653264.407CA1C00221@mwinf0204.wanadoo.fr Subject: Re: [RFC] [PATCH] Make ACPI button driver an input device From: Xavier Bestel To: dtor_core@ameritech.net Cc: Alexey Starikovskiy , Matthew Garrett , "Yu, Luming" , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: <554C5F4C5BA7384EB2B412FD46A3BAD1332980@pdsmsx411.ccr.corp.intel.com> <20060420073713.GA25735@srcf.ucam.org> <4447AA59.8010300@linux.intel.com> <20060420153848.GA29726@srcf.ucam.org> <4447AF4D.7030507@linux.intel.com> <1145549460.23837.156.camel@capoeira> <4447B7D6.4030401@linux.intel.com> Content-Type: text/plain; charset=ISO-8859-15 Date: Thu, 20 Apr 2006 22:07:03 +0200 Message-Id: <1145563624.14595.5.camel@bip.parateam.prv> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Le jeudi 20 avril 2006 à 15:30 -0400, Dmitry Torokhov a écrit : > On 4/20/06, Alexey Starikovskiy wrote: > > Xavier Bestel wrote: > > > There are keyboards with power/sleep buttons. It makes sense they have > > > the same behavior than ACPI buttons. > > Agree, make them behave like ACPI buttons -- remove them from input stream, as they do not belong there... > > What if there is no ACPI? What if I want to remap the button to do > something else? Input layer is the proper place for them. Err .. that's what I meant, sorry I was not clear. Matthew's solution looks right. Xav