Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751257AbWITNWm (ORCPT ); Wed, 20 Sep 2006 09:22:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751253AbWITNWm (ORCPT ); Wed, 20 Sep 2006 09:22:42 -0400 Received: from nf-out-0910.google.com ([64.233.182.189]:55774 "EHLO nf-out-0910.google.com") by vger.kernel.org with ESMTP id S1751257AbWITNWl (ORCPT ); Wed, 20 Sep 2006 09:22:41 -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=tH6kGwm0aNRIVmRet4YUfY+0WAnGJD0kbGEc+ztSafSVHs1BtoLox2d/bWYaosabKt/Ltxyjc1X25HFp3Ho9ipNMogXIzLVTo19XEPXlYexAkNSOKc8CeXKUWL1S1ts5xuUz9bAr812BaYOW4tVv2Elks0ki4EPlEw8si1/Bj9A= Message-ID: Date: Wed, 20 Sep 2006 09:22:39 -0400 From: "Dmitry Torokhov" To: "Lennart Poettering" Subject: Re: [PATCH] input: A few new KEY_xxx definitions Cc: linux-kernel@vger.kernel.org In-Reply-To: <20060808100744.GA16201@tango.0pointer.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060808000925.GA6220@curacao> <200608072219.02315.dtor@insightbb.com> <20060808100744.GA16201@tango.0pointer.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 974 Lines: 29 On 8/8/06, Lennart Poettering wrote: > On Mon, 07.08.06 22:19, Dmitry Torokhov (dtor@insightbb.com) wrote: > > > > KEY_POWERPLUG, KEY_POWERUNPLUG: > > > > > > Some laptops generate a fake key event when the power cord is > > > plugged or unplugged. (Notably MSI laptops, such as S270) > > > > > > > How do these events get delivered? Are you saying that atkbd reports > > key presses when pulling out AC cord? > > Yes, exactly. > Lennart, I applied part of the patch defining KEY_BLUETOOTH and KEY_WLAN, but I did not apply KEY_POWER[UN]PLUG. I feel that these should not be defined as KEY_* events but (if we decide that they should be reported through input layer) as EV_PWR events. -- 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/