Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262118AbVBPXTR (ORCPT ); Wed, 16 Feb 2005 18:19:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262120AbVBPXTR (ORCPT ); Wed, 16 Feb 2005 18:19:17 -0500 Received: from gprs214-36.eurotel.cz ([160.218.214.36]:58263 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S262118AbVBPXTO (ORCPT ); Wed, 16 Feb 2005 18:19:14 -0500 Date: Thu, 17 Feb 2005 00:18:12 +0100 From: Pavel Machek To: Vojtech Pavlik Cc: Stelian Pop , Matthew Garrett , linux-kernel@vger.kernel.org, acpi-devel@lists.sourceforge.net Subject: Re: [ACPI] Re: [PATCH, new ACPI driver] new sony_acpi driver Message-ID: <20050216231812.GA3865@elf.ucw.cz> References: <20050210161809.GK3493@crusoe.alcove-fr> <20050214105837.GE3233@crusoe.alcove-fr> <20050214203211.GA8007@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050214203211.GA8007@ucw.cz> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.6+20040907i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1123 Lines: 28 Hi! > > > Related to that, I have a nastyish hack which lets the sonypi driver > > > generate ACPI events whenever a hotkey is pressed. Despite not strictly > > > being ACPI events, this makes it much easier to integrate sonypi stuff > > > with general ACPI support. I'll send it if you're interested. > > > > Wouldn't be more useful to make the ACPI hotkeys generate an > > input event (like sonypi does) and integrate all this at the input > > level ? > > Yes, I'd like to see that. The other possible way is have the input > layer generate ACPI events for power-related keys. No; ACPI events are ugly hack. They should die, die, die.... We should probably switch even stuff like acpi power button to input layer, etc. Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl! - 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/