Package: acpi-support Version: 0.109-6 Severity: normal The logic for method 'dbus-pm' in /usr/share/acpi-support/suspendorhibernate looks a little screwy. It runs the command
/usr/bin/dbus-send \ --session \ --dest=org.freedesktop.PowerManagement \ --type=method_call \ --print-reply \ --reply-timeout=2000 \ /org/freedesktop/PowerManagement \ org.freedesktop.PowerManagement.Suspend as root, which on my system results in the following error: Failed to open connection to session message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. But apparently that's not the error message it was expecting; it's grepping for " org.freedesktop.DBus.Error." (which is the error produced when the command is run as myself rather than root). It erroneously takes this branch: # Not a DBUS error: other side does exist, and # reports an error. That means we don't try # anything else. exit The way I read the error message, there is no other side, and suspendorhibernate should try the next method. For now I've worked around the problem by removing dbus-pm from SUSPEND_METHODS in /etc/default/acpi-support. AMC -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (900, 'testing'), (800, 'stable'), (600, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages acpi-support depends on: pn acpi-support-base <none> (no description available) pn acpid <none> (no description available) ii dmidecode 2.9-1 Dump Desktop Management Interface ii finger 0.17-11 user information lookup program ii hdparm 7.7-1 tune hard disk parameters for high ii laptop-detect 0.12.1-0.1 attempt to detect a laptop ii libc6 2.7-5 GNU C Library: Shared libraries ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip pn nvclock <none> (no description available) pn powermgmt-base <none> (no description available) pn radeontool <none> (no description available) pn toshset <none> (no description available) ii vbetool 1.0-1.1 run real-mode video BIOS code to a pn x11-xserver-utils <none> (no description available) acpi-support recommends no packages. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]