Summary: | gnome-extra/gnome-power-manager-2.16.1 does not suspend or hibernate | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Wegner <gentoo-bugs> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Wegner
2006-10-15 05:00:13 UTC
Suspend and Hibernate doesn't work out of the box on gentoo because it's particularly difficult to make it work on most systems. Here gpm's functions rely on a working subsystem. You need to install and configure sys-power/hibernate-script. About brightness, did you have the asus_acpi module activated in kernel ? (In reply to comment #1) > Suspend and Hibernate doesn't work out of the box on gentoo because it's > particularly difficult to make it work on most systems. Here gpm's functions > rely on a working subsystem. You need to install and configure > sys-power/hibernate-script. I have sys-power/hibernate-script installed and configured. A simple call to "hibernate" in a console suspends my laptop. This was the method, I used until now. > > About brightness, did you have the asus_acpi module activated in kernel ? > Yes, it's compiled into my kernel: $ grep "ACPI_ASUS" /usr/src/linux/.config CONFIG_ACPI_ASUS=y 1) hu, strange, it works for me 2) Can you change the brightness by echoing something between 1 and 8 to /proc/acpi/asus_acpi/brightness (don't remember the exact path) if not, it's an upstream bug, I have a M6BR something that works very well here. (In reply to comment #3) > 1) hu, strange, it works for me > I think I was able to investigate this issue a bit further: I started gpm manually with $ gnome-power-manager --no-daemon --verbose And in the output I found these warnings which I think definitely belong to my errors: *** WARNING *** [gpm_hal_handle_error] gpm-hal.c:265 (23:41:37): Hibernate failed (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 "Hibernate" error name "(unset)" destination "org.freedesktop.Hal")) and *** WARNING *** [gpm_hal_handle_error] gpm-hal.c:265 (23:45:21): power save failed (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 "SetPowerSave" error name "(unset)" destination "org.freedesktop.Hal")) and *** WARNING *** [gpm_brightness_set_hw] gpm-brightness.c:308 (23:45:21): 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.LaptopPanel" member "SetBrightness" error name "(unset)" destination "org.freedesktop.Hal") Some of them appeared several times. And I think, I found, why the error message I see is empty (see my initial description): (gnome-power-manager:14789): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Unknown tag 'a' on line 1 char 98 > 2) Can you change the brightness by echoing something between 1 and 8 to > /proc/acpi/asus_acpi/brightness (don't remember the exact path) > if not, it's an upstream bug, I have a M6BR something that works very well > here. The file is /proc/acpi/asus/brn here and I can echo values 1 to 15 into it. And yes, it works, but as you may see above it could be the same reason as the one why hibernating does not work. 1) I'm not sure gpm is using this but, do you have a /var/run/console/${USER} file ? I check tomorrow if it works without it. 2) I'll check that path too, but as you say, it might be related to the previous issue you are experiencing. Make sure that you are in the plugdev group. Reopen if it does not work after adding yourself to the plugdev group and restarting your machine. |