Hi Wenjia,

I've thought about this some more. I think it looks like the suspend is
triggered, but it doesn't work. Can you try calling the command
"pm-suspend" and see if that suspends your computer?

Cheers,
Bart

Wenjia Bai wrote:
> Hi Bart,
> 
> Thanks a lot for your reply :)
> 
> I have installed gnome-power-manager. When I run "ps -A | grep
> gnome-power", it shows gnome-power-manager is running.
> 
> What other information need I provide?
> 
> Cheers,
> Wenjia
> 
> Bart Samwel wrote:
>> Hi Wenjia,
>>
>> I'm guessing that you don't run either gnome-power-manager or
>> klaptopdaemon. That could explain why the fake key isn't handled.
>> Could you confirm this?
>>
>> Cheers,
>> Bart
>>
>>
>> Wenjia Bai wrote:
>>> Package: acpi-support
>>> Version: 0.103-5
>>> Severity: normal
>>>
>>> *** Please type your report below this line ***
>>>
>>> Hi, Dear Maintainers,
>>>
>>> I have had a problem with sleepbtn.sh, which is provided by the
>>> acpi-support package.
>>>
>>> I am using a Compaq Presario laptop. When I press the sleep button on
>>> the laptop, or the "suspend" option in the shutdown dialogue, I find
>>> that /etc/acpi/sleepbtn.sh is executed and acpi_fakekey sends
>>> $KEY_SLEEP=142 out. However, my laptop does not sleep. The screen
>>> turns black for about 10 seconds and turns on again.
>>>
>>> When I log in as root and executes "echo -n "mem" >
>>> /sys/power/state", my laptop sleeps successfully. So I modified
>>> sleepbtn.sh, subsitituting the acpi_fakekey command with the echo
>>> "mem" command.
>>>
>>> I do not know how acpi_fakekey works and where the problem is. I
>>> guess the bug has something to do with the acpid package. Hope it
>>> will be fixed in the future.





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to