From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Starikovskiy Subject: Re: [RFC] [PATCH] Make ACPI button driver an input device Date: Thu, 20 Apr 2006 21:06:32 +0400 Message-ID: <4447BF98.4020806@linux.intel.com> 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> <20060420164419.GA30317@srcf.ucam.org> <4447BB2B.1060407@linux.intel.com> <20060420165515.GA30415@srcf.ucam.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from fmr19.intel.com ([134.134.136.18]:4739 "EHLO orsfmr004.jf.intel.com") by vger.kernel.org with ESMTP id S1751163AbWDTRGm (ORCPT ); Thu, 20 Apr 2006 13:06:42 -0400 In-Reply-To: <20060420165515.GA30415@srcf.ucam.org> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Matthew Garrett Cc: Xavier Bestel , "Yu, Luming" , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Matthew Garrett wrote: > On Thu, Apr 20, 2006 at 08:47:39PM +0400, Alexey Starikovskiy wrote: > >> Yes, this is why I mentioned using kevent and dbus before... Could it be >> the righter answer? > > I think it makes sense for atkbd and usb hid power and sleep buttons to > be treated like all other keys on those keyboard types. As a result, I > think it makes sense for ACPI keys to behave in the same way. I wrote an > addon for hal to take input events and put them on the system dbus some > time ago, so that's already a solved problem. > So now you can do a shortcut and send ACPI events to dbus without involving input layer and hal.