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.
Best wishes,
Wenjia
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (800, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages acpi-support depends on:
ii acpi-support-base 0.103-5 scripts for handling base
ACPI eve
ii acpid 1.0.6-5.1 Utilities for using ACPI
power man
ii dmidecode 2.9-1 Dump Desktop Management
Interface
ii finger 0.17-12 user information lookup
program
ii hdparm 8.6-1 tune hard disk parameters
for high
ii laptop-detect 0.13.5 attempt to detect a laptop
ii libc6 2.7-10 GNU C Library: Shared
libraries
ii lsb-base 3.2-8 Linux Standard Base 3.2
init scrip
ii nvclock 0.8b3-1 Allows you to overclock
your nVidi
ii powermgmt-base 1.30 Common utils and configs
for power
ii radeontool 1.5-5 utility to control ATI
Radeon back
ii toshset 1.73-1 Access much of the Toshiba
laptop
ii vbetool 1.0-1.1 run real-mode video BIOS
code to a
ii x11-xserver-utils 7.3+2 X server utilities
acpi-support recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]