Yves-Alexis Perez wrote:
Package: powersaved Version: 0.15.20-2 Severity: normalHi, since some days (but I can't really tell how much), powersaved doesn't manage to put my computer to sleep when I close the lid. I've configured it to run suspend_to_ram when closing, the screen_saver when opening. Now when I close the LID, nothing happens (the display is OFF but that's all). When I reopen it, the screensaver is run. If I check acpid debug stuff, it sure process and sends LID CLOSED events. But nothing appears in powersaved debug log. If I run it from the foreground, when closing the opening I get that: [EMAIL PROTECTED]: sudo powersaved -f /var/run/acpid.socket -v 31 Received error reply: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.SystemPowerManagement" member "Suspend" error name "(unset)" destination "org.freedesktop.Hal") gnome-power-manager manages to suspend the laptop when closing the LID so hal seems to work fine, but maybe there's a configuration problem (in powersaved or in hal, I don't know). powersaved has not been updated recently, hal has been updated on may 12 so maybe it's that old, I can't really say. If you need more debug/info, please ask.
Seems to be a hal issue indeed. Could you add <policy user="root"><allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
<allow send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
<allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>
To /etc/dbus-1/system.d/hal.conf and reload dbus (/etc/init.d/dbus
reload) and test again.
Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

