[Dell Latitude C810] the first resume leads directly again to the suspend state, the second resume works

Bug #23045 reported by Christian Leber
4
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

This is on breezy upgraded on 20051202.

With ACPI_SLEEP set to true, suspending works like
with 5.04 (Fn+Esc(Suspend) key combination),
but you have to resume 2 times to get back.

I don't know enough about acpi to fix it myself, but i guess it
might be neccessary to delete the event queue or something like
this before suspending.

I only have this ACPI laptop hardware, therefore i can't reproduce
on other hardware.
(at least Dell Inspiron 8100 should also be affected, because it's
the same board)

Revision history for this message
Hiroyuki Ikezoe (ikezoe) wrote :

Panasonic Let's note W4 and Y4 have the same issue.

I found the workaround that calling "touch /var/lock/acpisleep" before screen
lock in /etc/acpi/sleep.sh like the following:

--- sleep.sh.orig 2005-10-21 12:40:39.000000000 +0900
+++ sleep.sh 2005-10-21 12:44:13.000000000 +0900
@@ -15,6 +15,8 @@
     exit;
 fi

+touch /var/lock/acpisleep
+
 if [ x$LOCK_SCREEN = xtrue ]; then
     for x in /tmp/.X11-unix/*; do
        displaynum=`echo $x | sed s#/tmp/.X11-unix/X##`

I don't know why touching lock file solves this issue.

Revision history for this message
Hiroyuki Ikezoe (ikezoe) wrote :

In my case, I found the solution.
Please see BUG #24610.

Revision history for this message
Christian Leber (christian-leber) wrote :

It seems that this specific problem was fixed with the release of the last
version of acpi-support in 5.10.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.