Bug#528966: gnome-power-manager: Sleep button makes my computer suspend/hibernate twice in a row
Julien Valroff
julien at kirya.net
Sat May 16 18:21:49 UTC 2009
Package: gnome-power-manager
Version: 2.24.4-2
Severity: normal
Hi,
When using the sleep key defined on my laptop, gnome-power-manager suspends and resume correctly, but
suspends again just after resuming.
The same thinkg happens with hibernating, depending on the default action configured in the general
preferences of g-p-m.
This does howver not happen when using the contect menu of g-p-m or the lid action.
See the log extracts:
TI:19:47:39 TH:0x8d35c60 FI:gpm-button.c FN:gpm_button_filter_x_events,128
- Key 150 mapped to key suspend
TI:19:47:39 TH:0x8d35c60 FI:gpm-button.c FN:gpm_button_emit_type,88
- emitting button-pressed : suspend
TI:19:47:39 TH:0x8d35c60 FI:gpm-manager.c FN:button_pressed_cb,977
- Button press event type=suspend
TI:19:47:39 TH:0x8d35c60 FI:gpm-inhibit.c FN:gpm_inhibit_has_inhibit,336
- Valid as no inhibitors
TI:19:47:39 TH:0x8d35c60 FI:gpm-manager.c FN:manager_policy_do,440
- policy: /apps/gnome-power-manager/buttons/suspend
TI:19:47:39 TH:0x8d35c60 FI:gpm-inhibit.c FN:gpm_inhibit_has_inhibit,336
- Valid as no inhibitors
TI:19:47:39 TH:0x8d35c60 FI:gpm-info.c FN:gpm_info_explain_reason,129
- Mise en veille de l'ordinateur. Raison : Le bouton de mise en veille a été appuyé.
TI:19:47:39 TH:0x8d35c60 FI:gpm-info.c FN:gpm_info_event_log,579
- Adding 5 to the event log
TI:19:47:39 TH:0x8d35c60 FI:gpm-array.c FN:gpm_array_append,141
- adding to 0x8ef5470, x=2, y=5, data=0
TI:19:47:39 TH:0x8d35c60 FI:gpm-control.c FN:gpm_control_get_lock_policy,389
- Using ScreenSaver settings (0)
TI:19:47:39 TH:0x8d35c60 FI:gpm-control.c FN:gpm_control_suspend,442
- emitting sleep
TI:19:48:33 TH:0x8d35c60 FI:gpm-control.c FN:gpm_control_suspend,450
- emitting resume
[...]
TI:19:48:34 TH:0x8d35c60 FI:gpm-srv-screensaver.c FN:button_pressed_cb,167
- Button press event type=suspend
TI:19:48:34 TH:0x8d35c60 FI:gpm-backlight.c FN:gpm_backlight_button_pressed_cb,536
- Button press event type=suspend
TI:19:48:34 TH:0x8d35c60 FI:gpm-info.c FN:button_pressed_cb,679
- Button press event type=suspend
*** WARNING ***
TI:19:48:34 TH:0x8d35c60 FI:gpm-brightness-xrandr.c FN:gpm_brightness_xrandr_filter_xevents,566
- Event0 0x8ecca30
TI:19:48:34 TH:0x8d35c60 FI:gpm-button.c FN:hal_device_condition_cb,406
- condition=ButtonPressed, details=sleep
TI:19:48:34 TH:0x8d35c60 FI:gpm-button.c FN:gpm_button_emit_type,88
- emitting button-pressed : sleep
TI:19:48:34 TH:0x8d35c60 FI:gpm-manager.c FN:button_pressed_cb,977
- Button press event type=sleep
TI:19:48:34 TH:0x8d35c60 FI:gpm-inhibit.c FN:gpm_inhibit_has_inhibit,336
- Valid as no inhibitors
TI:19:48:34 TH:0x8d35c60 FI:gpm-manager.c FN:manager_policy_do,440
- policy: /apps/gnome-power-manager/buttons/suspend
TI:19:48:34 TH:0x8d35c60 FI:gpm-inhibit.c FN:gpm_inhibit_has_inhibit,336
- Valid as no inhibitors
TI:19:48:34 TH:0x8d35c60 FI:gpm-info.c FN:gpm_info_explain_reason,129
- Mise en veille de l'ordinateur. Raison : Le bouton de mise en veille a été appuyé.
This did not happen previously, I am however not to tell exactly when this problem appeared.
Cheers,
Julien
-- Package-specific info:
Distro version: squeeze/sid
Kernel version: 2.6.29-1-686
g-p-m version: 2.24.4
HAL version: 0.5.12
System manufacturer: missing
System version: missing
System product: missing
AC adapter present: yes
Battery present: yes
Laptop panel present: yes
CPU scaling present: yes
Battery Information:
battery.charge_level.current = 45909 (0xb355) (int)
battery.charge_level.design = 48840 (0xbec8) (int)
battery.charge_level.last_full = 48840 (0xbec8) (int)
battery.charge_level.percentage = 93 (0x5d) (int)
battery.charge_level.rate = 0 (0x0) (int)
battery.is_rechargeable = true (bool)
battery.model = 'PA3395U' (string)
battery.present = true (bool)
battery.rechargeable.is_charging = true (bool)
battery.rechargeable.is_discharging = false (bool)
battery.remaining_time = 1627 (0x65b) (int)
battery.reporting.current = 4136 (0x1028) (int)
battery.reporting.design = 4400 (0x1130) (int)
battery.reporting.last_full = 4400 (0x1130) (int)
battery.reporting.rate = 0 (0x0) (int)
battery.reporting.technology = 'Li-ion' (string)
battery.reporting.unit = 'mAh' (string)
battery.serial = '3658Q' (string)
battery.technology = 'lithium-ion' (string)
battery.type = 'primary' (string)
battery.vendor = 'TOSHIBA' (string)
battery.voltage.current = 11100 (0x2b5c) (int)
battery.voltage.design = 11100 (0x2b5c) (int)
battery.voltage.unit = 'mV' (string)
GNOME Power Manager Process Information:
julien 15226 0.1 3.0 39076 15580 pts/0 S 20:06 0:00 | \_ gnome-power-manager
julien 17714 1.3 3.1 29580 16176 pts/2 S+ 20:15 0:00 \_ /usr/bin/python /usr/bin/reportbug gnome-power-manager -O
julien 17730 3.0 0.2 3824 1264 pts/2 S+ 20:16 0:00 \_ /bin/bash /usr/share/reportbug/handle_bugscript /usr/share/bug/gnome-power-manager/script /tmp/reportb
julien 16469 0.1 2.2 31284 11324 pts/0 S 20:11 0:00 gnome-power-preferences
HAL Process Information:
105 3273 0.1 0.5 6948 2896 ? Ss 19:44 0:01 /usr/sbin/hald
root 3339 0.0 0.2 3296 1100 ? S 19:44 0:00 \_ hald-runner
root 3374 0.0 0.3 5284 1924 ? S 19:44 0:00 \_ hald-addon-input: Listening on /dev/input/event4 /dev/input/event0 /dev/input/event1 /dev/input/event2 /de
root 3399 0.0 0.3 5252 1620 ? S 19:44 0:00 \_ /usr/lib/hal/hald-addon-generic-backlight
root 3400 0.0 0.3 5252 1740 ? S 19:44 0:00 \_ /usr/lib/hal/hald-addon-generic-backlight
root 3416 0.0 0.3 5260 1720 ? S 19:44 0:01 \_ hald-addon-storage: polling /dev/sr0 (every 2 sec)
root 3422 0.0 0.3 5268 1608 ? S 19:44 0:00 \_ /usr/lib/hal/hald-addon-cpufreq
105 3424 0.0 0.3 5116 1716 ? S 19:44 0:00 \_ hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.29-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gnome-power-manager depends on:
ii consolekit 0.3.0-2 framework for defining and trackin
ii dbus-x11 1.2.14-2 simple interprocess messaging syst
ii gconf2 2.26.0-1 GNOME configuration database syste
ii hal 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer
ii libc6 2.9-12 GNU C Library: Shared libraries
ii libcairo2 1.8.6-2+b1 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.14-2 simple interprocess messaging syst
ii libdbus-glib 0.80-4 simple interprocess messaging syst
ii libgconf2-4 2.26.0-1 GNOME configuration database syste
ii libglade2-0 1:2.6.4-1 library to load .glade files at ru
ii libglib2.0-0 2.20.1-2 The GLib library of C routines
ii libgnome-key 2.26.0-4 GNOME keyring services library
ii libgnome2-0 2.26.0-1 The GNOME library - runtime files
ii libgnomeui-0 2.24.1-1 The GNOME 2 libraries (User Interf
ii libgstreamer 0.10.23-1 Core GStreamer libraries and eleme
ii libgtk2.0-0 2.16.1-2 The GTK+ graphical user interface
ii libnotify1 [ 0.4.5-1 sends desktop notifications to a n
ii libpanel-app 2.24.3-1+b1 library for GNOME Panel applets
ii libpango1.0- 1.24.2-1 Layout and rendering of internatio
ii libx11-6 2:1.2.1-1 X11 client-side library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxrandr2 2:1.3.0-2 X11 RandR extension library
ii notification 0.4.0-1 a daemon that displays passive pop
gnome-power-manager recommends no packages.
gnome-power-manager suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list