From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhang Rui Subject: Re: Input event for blocking touchpad Date: Tue, 30 Nov 2010 09:34:13 +0800 Message-ID: <1291080853.3283.282.camel@rui> References: <20101126211056.GD3819@barata.holoscopio.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20101126211056.GD3819@barata.holoscopio.com> Sender: linux-acpi-owner@vger.kernel.org To: Thadeu Lima de Souza Cascardo Cc: "linux-input@vger.kernel.org" , "linux-acpi@vger.kernel.org" List-Id: linux-input@vger.kernel.org On Sat, 2010-11-27 at 05:10 +0800, Thadeu Lima de Souza Cascardo wrote: > Hello, > > I have a notebook with an ACPI system that notifies about the pressing > of the key for blocking touchpad. However, it does not notify it by > itself. I was considering sending the event to userspace and let it does > the blocking. > how do you know the event is sent via ACPI? please try "cat /proc/interrupts > interrupt-1; grep . /sys/firmware/acpi/interrupts/* > gpe-1; sleep 5; cat /proc/interrupts > interrupt-2; grep . /sys/firmware/acpi/interrupts/* > gpe-2", and press the block key during the 5 seconds sleep. Then please attach the 4 files here to see if there are ACPI interrupts generated by the key pressing. thanks, rui > Since other keys are also notified by this same ACPI object, it's even > more natural that I use an input device to send this to userspace. > > The problem is: there seems to be no event to represent this. Any > suggestions? > > Best regards, > Cascardo.