[ltp] Fn+F4 does nothing

Qiuye Wang linux-thinkpad@linux-thinkpad.org
Fri, 2 Nov 2007 14:37:15 +0100


On Fri, Nov 02, 2007 at 09:56:43AM +0100, Michael Gaber wrote:
>
>
>Qiuye Wang schrieb:
>> Hello list,
>> 
>> i was trying to set up the Fn+F4 as the key of ``suspend to ram'' on
>> my T60, but it does not work. i checked /var/log/acpid and get the
>> following: 
>>  executing action "/etc/acpi/sleepbtn.sh"
>
>you should check what is done in this script, perhaps you simply need to
>write "/usr/sbin/hibernate-ram" into it
>
well, in /etc/acpi/sleepbtn.sh seems to be as follow:
#!/bin/sh

test -f /usr/share/acpi-support/power-funcs || exit 0

. /usr/share/acpi-support/key-constants
acpi_fakekey $KEY_SLEEP

but "acpi_fakekey 142" does nothing.
>>  BEGIN HANDLER MESSAGES
>>  END HANDLER MESSAGES
>>  action exited with status 0
>>  completed event "ibm/hotkey HKEY 00000080 00001004"
>> 
>> i know that means at least the key-pressing is as an event, but
>> nothing happens any more. 
>> 
>> i have installed ibm-acpi(thinkpad-acpi) and klaptopdaemon. And Fn+F12
>> works well as hibernate.
>> 
>> Kernel version 2.6.22-2-686
>> 
>> So any idea?
>> 
>> Best regards
>> 
>> QY