[gpm] gnome-power-manager failing to suspend
- From: "David Durrleman" <dualmoo gmail com>
- To: gnome-power-manager-list gnome org
- Subject: [gpm] gnome-power-manager failing to suspend
- Date: Wed, 5 Dec 2007 03:46:06 +0100
Hi,
I am running gnome-power-manager on fluxbox (I don't have gnome
running !) on gentoo. I have gnome-power-manager 2.20.0, dbus 1.0.2
and hal 0.5.9.1.
When I left click the gnome-power-manager icon and select suspend,
nothing happens and a notification immediately appears saying "Your
computer failed to suspend".
I have attached the output of gnome-power-manager --no-daemon
--verbose when I try to suspend, at the end of this mail. Notice the
two consecutive lines "emitting sleep" and "emitting resume" at the
same moment (03:39:51). During this time hald --daemon=no verbose=yes
displays absolutely nothing, as if no request had been sent to it.
I have uswsusp 0.9 installed, and both s2ram and s2disk are working.
"echo mem > /sys/power/state" works too. And finally I have
hibernate-scripts installed so hibernate-ram also works.
What could be wrong in my setup, and how can I try to debug it ?
[gpm_tray_icon_activate_cb] gpm-tray-icon.c:550 (03:39:50): icon left clicked
[gpm_tray_icon_add_device] gpm-tray-icon.c:511 (03:39:50): adding device '0'
[gpm_cell_unit_get_icon] gpm-cell-unit.c:210 (03:39:50): got
filename: gpm-primary-100-charging
[gpm_tray_icon_popup_cleared_cd] gpm-tray-icon.c:355 (03:39:51):
clear tray (icon = 0x8107ac0)
[gpm_tray_icon_suspend_cb] gpm-tray-icon.c:235 (03:39:51): emitting suspend
Saving to syslog: Suspending computer because clicked
tray[gpm_info_event_log] gpm-info.c:591 (03:39:51): Adding 5 to the
event log
[gpm_control_get_lock_policy] gpm-control.c:386 (03:39:51): Using
ScreenSaver settings (0)
[gpm_control_suspend] gpm-control.c:439 (03:39:51): emitting sleep
[gpm_control_suspend] gpm-control.c:447 (03:39:51): emitting resume
[gpm_backlight_sync_policy] gpm-backlight.c:158 (03:39:51): choosing
sensible default
[gpm_backlight_sync_policy] gpm-backlight.c:160 (03:39:51): laptop,
so use GPM_DPMS_METHOD_OFF
[gpm_backlight_sync_policy] gpm-backlight.c:192 (03:39:51): BACKLIGHT
parameters 0 0 1800, method '4'
[x11_sync_server_dpms_settings] gpm-dpms.c:130 (03:39:51): Syncing
DPMS settings enabled=1 timeouts=0 0 0
[x11_sync_server_dpms_settings] gpm-dpms.c:187 (03:39:51): set DPMS
timeouts: 0 0 0.
Saving to syslog: Resuming computer[gpm_info_event_log] gpm-info.c:591
(03:39:51): Adding 7 to the event log
[gpm_profile_set_config_id] gpm-profile.c:782 (03:39:51): config_id =
generic_id
[gpm_profile_set_config_id] gpm-profile.c:801 (03:39:51): Reference times
[gpm_profile_set_config_id] gpm-profile.c:803 (03:39:51): 99-0 15 minutes
[gpm_profile_set_config_id] gpm-profile.c:805 (03:39:51): 50-0 7 minutes
[gpm_profile_set_config_id] gpm-profile.c:808 (03:39:51): 0-99 127 minutes
[gpm_profile_set_config_id] gpm-profile.c:810 (03:39:51): 50-99 67 minutes
[gpm_cell_array_update] gpm-cell-array.c:344 (03:39:51): 1 devices of
type primary
[gpm_cell_array_update] gpm-cell-array.c:391 (03:39:51): unit->percentage = 100
[gpm_profile_get_time] gpm-profile.c:310 (03:39:51): percentage =
100, correcting to 99
[gpm_profile_get_time] gpm-profile.c:310 (03:39:51): percentage =
100, correcting to 99
[gpm_cell_array_collection_changed] gpm-cell-array.c:748 (03:39:51):
** EMIT: collection-changed
[gpm_engine_get_icon] gpm-engine.c:391 (03:39:51): Trying CRITICAL
icon: primary, ups, mouse, keyboard
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
[gpm_engine_get_icon] gpm-engine.c:423 (03:39:51): Trying CHARGING
icon: primary, ups
[gpm_cell_unit_get_icon] gpm-cell-unit.c:210 (03:39:51): got
filename: gpm-primary-100-charging
[gpm_engine_recalculate_state_icon] gpm-engine.c:578 (03:39:51): no change
[gpm_profile_get_accuracy] gpm-profile.c:847 (03:39:51): corrected
percentage...
[gpm_cell_array_get_description] gpm-cell-array.c:960 (03:39:51): accuracy = 79
[gpm_engine_get_summary] gpm-engine.c:349 (03:39:51): tooltip:
Computer is running on AC power
Laptop battery charging (100%)
Battery charge time is estimated
[gpm_engine_recalculate_state_summary] gpm-engine.c:615 (03:39:51): no change
[gpm_cell_array_percent_changed] gpm-cell-array.c:524 (03:39:51):
printing combined new device:
[gpm_cell_unit_print] gpm-cell-unit.c:65 (03:39:51): device
Laptop battery
[gpm_cell_unit_print] gpm-cell-unit.c:66 (03:39:51): present 1
[gpm_cell_unit_print] gpm-cell-unit.c:67 (03:39:51): percent 100
[gpm_cell_unit_print] gpm-cell-unit.c:68 (03:39:51): is charging 1
[gpm_cell_unit_print] gpm-cell-unit.c:69 (03:39:51): is discharging 0
[gpm_cell_unit_print] gpm-cell-unit.c:71 (03:39:51): charge current 57779
[gpm_cell_unit_print] gpm-cell-unit.c:74 (03:39:51): charge last 57779
[gpm_cell_unit_print] gpm-cell-unit.c:77 (03:39:51): charge design 59592
[gpm_cell_unit_print] gpm-cell-unit.c:86 (03:39:51): time discharge 939
[gpm_cell_array_percent_changed] gpm-cell-array.c:554 (03:39:51): No warning
[gpm_cell_array_update] gpm-cell-array.c:277 (03:39:51): no devices of type 1
[gpm_cell_array_collection_changed] gpm-cell-array.c:748 (03:39:51):
** EMIT: collection-changed
[gpm_engine_get_icon] gpm-engine.c:391 (03:39:51): Trying CRITICAL
icon: primary, ups, mouse, keyboard
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
[gpm_engine_get_icon] gpm-engine.c:423 (03:39:51): Trying CHARGING
icon: primary, ups
[gpm_cell_unit_get_icon] gpm-cell-unit.c:210 (03:39:51): got
filename: gpm-primary-100-charging
[gpm_engine_recalculate_state_icon] gpm-engine.c:578 (03:39:51): no change
[gpm_profile_get_accuracy] gpm-profile.c:847 (03:39:51): corrected
percentage...
[gpm_cell_array_get_description] gpm-cell-array.c:960 (03:39:51): accuracy = 79
[gpm_engine_get_summary] gpm-engine.c:349 (03:39:51): tooltip:
Computer is running on AC power
Laptop battery charging (100%)
Battery charge time is estimated
[gpm_engine_recalculate_state_summary] gpm-engine.c:615 (03:39:51): no change
[gpm_cell_array_percent_changed] gpm-cell-array.c:524 (03:39:51):
printing combined new device:
[gpm_cell_unit_print] gpm-cell-unit.c:65 (03:39:51): device UPS
[gpm_cell_unit_print] gpm-cell-unit.c:66 (03:39:51): present 0
[gpm_cell_unit_print] gpm-cell-unit.c:67 (03:39:51): percent 0
[gpm_cell_unit_print] gpm-cell-unit.c:68 (03:39:51): is charging 0
[gpm_cell_unit_print] gpm-cell-unit.c:69 (03:39:51): is discharging 0
[gpm_cell_array_percent_changed] gpm-cell-array.c:554 (03:39:51): No warning
[gpm_cell_array_update] gpm-cell-array.c:277 (03:39:51): no devices of type 2
[gpm_cell_array_collection_changed] gpm-cell-array.c:748 (03:39:51):
** EMIT: collection-changed
[gpm_engine_get_icon] gpm-engine.c:391 (03:39:51): Trying CRITICAL
icon: primary, ups, mouse, keyboard
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
[gpm_engine_get_icon] gpm-engine.c:423 (03:39:51): Trying CHARGING
icon: primary, ups
[gpm_cell_unit_get_icon] gpm-cell-unit.c:210 (03:39:51): got
filename: gpm-primary-100-charging
[gpm_engine_recalculate_state_icon] gpm-engine.c:578 (03:39:51): no change
[gpm_profile_get_accuracy] gpm-profile.c:847 (03:39:51): corrected
percentage...
[gpm_cell_array_get_description] gpm-cell-array.c:960 (03:39:51): accuracy = 79
[gpm_engine_get_summary] gpm-engine.c:349 (03:39:51): tooltip:
Computer is running on AC power
Laptop battery charging (100%)
Battery charge time is estimated
[gpm_engine_recalculate_state_summary] gpm-engine.c:615 (03:39:51): no change
[gpm_cell_array_percent_changed] gpm-cell-array.c:524 (03:39:51):
printing combined new device:
[gpm_cell_unit_print] gpm-cell-unit.c:65 (03:39:51): device
Wireless mouse
[gpm_cell_unit_print] gpm-cell-unit.c:66 (03:39:51): present 0
[gpm_cell_unit_print] gpm-cell-unit.c:67 (03:39:51): percent 0
[gpm_cell_unit_print] gpm-cell-unit.c:68 (03:39:51): is charging 0
[gpm_cell_unit_print] gpm-cell-unit.c:69 (03:39:51): is discharging 0
[gpm_cell_array_percent_changed] gpm-cell-array.c:554 (03:39:51): No warning
[gpm_cell_array_update] gpm-cell-array.c:277 (03:39:51): no devices of type 3
[gpm_cell_array_collection_changed] gpm-cell-array.c:748 (03:39:51):
** EMIT: collection-changed
[gpm_engine_get_icon] gpm-engine.c:391 (03:39:51): Trying CRITICAL
icon: primary, ups, mouse, keyboard
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
[gpm_engine_get_icon] gpm-engine.c:423 (03:39:51): Trying CHARGING
icon: primary, ups
[gpm_cell_unit_get_icon] gpm-cell-unit.c:210 (03:39:51): got
filename: gpm-primary-100-charging
[gpm_engine_recalculate_state_icon] gpm-engine.c:578 (03:39:51): no change
[gpm_profile_get_accuracy] gpm-profile.c:847 (03:39:51): corrected
percentage...
[gpm_cell_array_get_description] gpm-cell-array.c:960 (03:39:51): accuracy = 79
[gpm_engine_get_summary] gpm-engine.c:349 (03:39:51): tooltip:
Computer is running on AC power
Laptop battery charging (100%)
Battery charge time is estimated
[gpm_engine_recalculate_state_summary] gpm-engine.c:615 (03:39:51): no change
[gpm_cell_array_percent_changed] gpm-cell-array.c:524 (03:39:51):
printing combined new device:
[gpm_cell_unit_print] gpm-cell-unit.c:65 (03:39:51): device
Wireless keyboard
[gpm_cell_unit_print] gpm-cell-unit.c:66 (03:39:51): present 0
[gpm_cell_unit_print] gpm-cell-unit.c:67 (03:39:51): percent 0
[gpm_cell_unit_print] gpm-cell-unit.c:68 (03:39:51): is charging 0
[gpm_cell_unit_print] gpm-cell-unit.c:69 (03:39:51): is discharging 0
[gpm_cell_array_percent_changed] gpm-cell-array.c:554 (03:39:51): No warning
[gpm_cell_array_update] gpm-cell-array.c:277 (03:39:51): no devices of type 5
[gpm_cell_array_collection_changed] gpm-cell-array.c:748 (03:39:51):
** EMIT: collection-changed
[gpm_engine_get_icon] gpm-engine.c:391 (03:39:51): Trying CRITICAL
icon: primary, ups, mouse, keyboard
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
[gpm_engine_get_icon] gpm-engine.c:423 (03:39:51): Trying CHARGING
icon: primary, ups
[gpm_cell_unit_get_icon] gpm-cell-unit.c:210 (03:39:51): got
filename: gpm-primary-100-charging
[gpm_engine_recalculate_state_icon] gpm-engine.c:578 (03:39:51): no change
[gpm_profile_get_accuracy] gpm-profile.c:847 (03:39:51): corrected
percentage...
[gpm_cell_array_get_description] gpm-cell-array.c:960 (03:39:51): accuracy = 79
[gpm_engine_get_summary] gpm-engine.c:349 (03:39:51): tooltip:
Computer is running on AC power
Laptop battery charging (100%)
Battery charge time is estimated
[gpm_engine_recalculate_state_summary] gpm-engine.c:615 (03:39:51): no change
[gpm_cell_array_percent_changed] gpm-cell-array.c:524 (03:39:51):
printing combined new device:
[gpm_cell_unit_print] gpm-cell-unit.c:65 (03:39:51): device PDA
[gpm_cell_unit_print] gpm-cell-unit.c:66 (03:39:51): present 0
[gpm_cell_unit_print] gpm-cell-unit.c:67 (03:39:51): percent 0
[gpm_cell_unit_print] gpm-cell-unit.c:68 (03:39:51): is charging 0
[gpm_cell_unit_print] gpm-cell-unit.c:69 (03:39:51): is discharging 0
[gpm_cell_array_percent_changed] gpm-cell-array.c:554 (03:39:51): No warning
[gpm_cell_array_update] gpm-cell-array.c:277 (03:39:51): no devices of type 4
[gpm_cell_array_collection_changed] gpm-cell-array.c:748 (03:39:51):
** EMIT: collection-changed
[gpm_engine_get_icon] gpm-engine.c:391 (03:39:51): Trying CRITICAL
icon: primary, ups, mouse, keyboard
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:51):
percentage zero, something's gone wrong
[gpm_engine_get_icon] gpm-engine.c:423 (03:39:51): Trying CHARGING
icon: primary, ups
[gpm_cell_unit_get_icon] gpm-cell-unit.c:210 (03:39:51): got
filename: gpm-primary-100-charging
[gpm_engine_recalculate_state_icon] gpm-engine.c:578 (03:39:51): no change
[gpm_profile_get_accuracy] gpm-profile.c:847 (03:39:51): corrected
percentage...
[gpm_cell_array_get_description] gpm-cell-array.c:960 (03:39:51): accuracy = 79
[gpm_engine_get_summary] gpm-engine.c:349 (03:39:51): tooltip:
Computer is running on AC power
Laptop battery charging (100%)
Battery charge time is estimated
[gpm_engine_recalculate_state_summary] gpm-engine.c:615 (03:39:51): no change
[gpm_cell_array_percent_changed] gpm-cell-array.c:524 (03:39:51):
printing combined new device:
[gpm_cell_unit_print] gpm-cell-unit.c:65 (03:39:51): device Cell phone
[gpm_cell_unit_print] gpm-cell-unit.c:66 (03:39:51): present 0
[gpm_cell_unit_print] gpm-cell-unit.c:67 (03:39:51): percent 0
[gpm_cell_unit_print] gpm-cell-unit.c:68 (03:39:51): is charging 0
[gpm_cell_unit_print] gpm-cell-unit.c:69 (03:39:51): is discharging 0
[gpm_cell_array_percent_changed] gpm-cell-array.c:554 (03:39:51): No warning
[gpm_control_suspend] gpm-control.c:451 (03:39:51): emitting sleep-failure
Saving to syslog: suspend failed*** WARNING ***
[gpm_notify_create] gpm-notify.c:124 (03:39:51): libnotify: Power
Manager : Your computer failed to suspend.
Check the help file for common problems.
[gpm_info_event_log] gpm-info.c:591 (03:39:51): Adding 10 to the event log
[gpm_check_device_key] gpm-cell-array.c:714 (03:39:53): checking
primary against primary
[gpm_cell_array_add_hal_udi] gpm-cell-array.c:786 (03:39:53): adding
the right kind of battery: primary
*** WARNING ***
[gpm_cell_refresh_hal_all] gpm-cell.c:153 (03:39:53): could not read
your battery's remaining time
[gpm_cell_unit_print] gpm-cell-unit.c:65 (03:39:53): device
Laptop battery
[gpm_cell_unit_print] gpm-cell-unit.c:66 (03:39:53): present 1
[gpm_cell_unit_print] gpm-cell-unit.c:67 (03:39:53): percent 100
[gpm_cell_unit_print] gpm-cell-unit.c:68 (03:39:53): is charging 1
[gpm_cell_unit_print] gpm-cell-unit.c:69 (03:39:53): is discharging 0
[gpm_cell_unit_print] gpm-cell-unit.c:71 (03:39:53): charge current 57779
[gpm_cell_unit_print] gpm-cell-unit.c:74 (03:39:53): charge last 57779
[gpm_cell_unit_print] gpm-cell-unit.c:77 (03:39:53): charge design 59592
[gpm_cell_unit_print] gpm-cell-unit.c:89 (03:39:53): capacity 96
[gpm_profile_set_config_id] gpm-profile.c:782 (03:39:53): config_id =
generic_id
[gpm_profile_set_config_id] gpm-profile.c:801 (03:39:53): Reference times
[gpm_profile_set_config_id] gpm-profile.c:803 (03:39:53): 99-0 15 minutes
[gpm_profile_set_config_id] gpm-profile.c:805 (03:39:53): 50-0 7 minutes
[gpm_profile_set_config_id] gpm-profile.c:808 (03:39:53): 0-99 127 minutes
[gpm_profile_set_config_id] gpm-profile.c:810 (03:39:53): 50-99 67 minutes
[gpm_cell_array_update] gpm-cell-array.c:344 (03:39:53): 1 devices of
type primary
[gpm_cell_array_update] gpm-cell-array.c:391 (03:39:53): unit->percentage = 100
[gpm_profile_get_time] gpm-profile.c:310 (03:39:53): percentage =
100, correcting to 99
[gpm_profile_get_time] gpm-profile.c:310 (03:39:53): percentage =
100, correcting to 99
[gpm_cell_array_collection_changed] gpm-cell-array.c:748 (03:39:53):
** EMIT: collection-changed
[gpm_engine_get_icon] gpm-engine.c:391 (03:39:53): Trying CRITICAL
icon: primary, ups, mouse, keyboard
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:53):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:53):
percentage zero, something's gone wrong
*** WARNING ***
[gpm_warnings_get_state_percentage] gpm-warnings.c:104 (03:39:53):
percentage zero, something's gone wrong
[gpm_engine_get_icon] gpm-engine.c:423 (03:39:53): Trying CHARGING
icon: primary, ups
[gpm_cell_unit_get_icon] gpm-cell-unit.c:210 (03:39:53): got
filename: gpm-primary-100-charging
[gpm_engine_recalculate_state_icon] gpm-engine.c:578 (03:39:53): no change
[gpm_profile_get_accuracy] gpm-profile.c:847 (03:39:53): corrected
percentage...
[gpm_cell_array_get_description] gpm-cell-array.c:960 (03:39:53): accuracy = 79
[gpm_engine_get_summary] gpm-engine.c:349 (03:39:53): tooltip:
Computer is running on AC power
Laptop battery charging (100%)
Battery charge time is estimated
[gpm_engine_recalculate_state_summary] gpm-engine.c:615 (03:39:53): no change
[gpm_cell_array_percent_changed] gpm-cell-array.c:524 (03:39:53):
printing combined new device:
[gpm_cell_unit_print] gpm-cell-unit.c:65 (03:39:53): device
Laptop battery
[gpm_cell_unit_print] gpm-cell-unit.c:66 (03:39:53): present 1
[gpm_cell_unit_print] gpm-cell-unit.c:67 (03:39:53): percent 100
[gpm_cell_unit_print] gpm-cell-unit.c:68 (03:39:53): is charging 1
[gpm_cell_unit_print] gpm-cell-unit.c:69 (03:39:53): is discharging 0
[gpm_cell_unit_print] gpm-cell-unit.c:71 (03:39:53): charge current 57779
[gpm_cell_unit_print] gpm-cell-unit.c:74 (03:39:53): charge last 57779
[gpm_cell_unit_print] gpm-cell-unit.c:77 (03:39:53): charge design 59592
[gpm_cell_unit_print] gpm-cell-unit.c:86 (03:39:53): time discharge 939
[gpm_cell_array_percent_changed] gpm-cell-array.c:554 (03:39:53): No warning
[gpm_check_device_key] gpm-cell-array.c:714 (03:39:53): checking
primary against ups
[gpm_cell_array_add_hal_udi] gpm-cell-array.c:774 (03:39:53): not
adding /org/freedesktop/Hal/devices/acpi_BAT0 for ups
[gpm_check_device_key] gpm-cell-array.c:714 (03:39:53): checking
primary against mouse
[gpm_cell_array_add_hal_udi] gpm-cell-array.c:774 (03:39:53): not
adding /org/freedesktop/Hal/devices/acpi_BAT0 for mouse
[gpm_check_device_key] gpm-cell-array.c:714 (03:39:53): checking
primary against keyboard
[gpm_cell_array_add_hal_udi] gpm-cell-array.c:774 (03:39:53): not
adding /org/freedesktop/Hal/devices/acpi_BAT0 for keyboard
[gpm_check_device_key] gpm-cell-array.c:714 (03:39:53): checking
primary against pda
[gpm_cell_array_add_hal_udi] gpm-cell-array.c:774 (03:39:53): not
adding /org/freedesktop/Hal/devices/acpi_BAT0 for pda
*** WARNING ***
[gpm_phone_coldplug] gpm-phone.c:79 (03:39:53): not connected
[notify_closed_cb] gpm-notify.c:89 (03:39:55): caught notification
closed signal
Cheers,
--
David
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]