[ltp] Re: acpi_fakekey and sleep button

David Abrahams linux-thinkpad@linux-thinkpad.org
Thu, 12 Oct 2006 08:23:16 -0400


amateur <ztl.post@gmail.com> writes:

>> Thanks in advance,
>> Dave
>> 
>
> I think acpi_fakekey just insert an key press/release event to
> /dev/inputx, where /dev/inputx correspond to the keyboard device.
> In this way, the upper acpid will receive a SLEEP key press/release
> event, upon which it will trigger an SLEEP signal. 

Right; the problem is trying to figure out what the events and signals
are actually triggering.  It sounds like you are taking for granted
that I know how to do that.

> And the system in someway will suspend to ram.

That part, I'm very clear on :)

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com