Bug#541623: gnome-power-manager: g-p-m Destroys Xorg DPMS Settings

Leo L. Schwab ewhac at ewhac.org
Fri Aug 14 23:56:12 UTC 2009


Package: gnome-power-manager
Version: 2.24.4-3
Severity: normal

	I have a slightly odd setup here -- I don't run GNOME, but I do run
gnome-power-manager by hand, since it's the only utility (so far) that
nicely handles the ACPI suspend and hibernate events.  With a recent update
to g-p-m, I've noticed that the display is no longer blanking after some
minutes of inactivity.  I've traced this to the DPMS settings in the X
server (reported via xset) being reset to zero.

	gnome-settings-daemon is running; gnome-screensaver is not (nor is
it going to).  xscreensaver is not running, either.

	To observe the problem:
	- Login to an X session that does not launch GNOME services or
	  helpers by default (such as Windowmaker).
	- Run 'xset -q'.  The default DPMS timeout settings should be
	  reported (your local config may vary):
		DPMS (Energy Star):
		  Standby: 600    Suspend: 1200    Off: 1200
		  DPMS is Enabled
		  Monitor is On
	- Launch gnome-power-manager in the background.
	- Run 'xset -q' again.  The DMPS timeout settings have been
	  destroyed:
		DPMS (Energy Star):
		  Standby: 0    Suspend: 0    Off: 0
		  DPMS is Enabled
		  Monitor is On

	If you use xset to restore the DPMS timeouts, they will be erased
again if you interact at all with g-p-m, including using the ACPI keys to
suspend the system.

	Please investigate this matter.

					Schwab

-- Package-specific info:
Distro version:       squeeze/sid
Kernel version:       2.6.29
g-p-m version:        2.24.4
HAL version:          0.5.13
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 = 44350  (0xad3e)  (int)
  battery.charge_level.design = 65520  (0xfff0)  (int)
  battery.charge_level.last_full = 45360  (0xb130)  (int)
  battery.charge_level.percentage = 97  (0x61)  (int)
  battery.charge_level.rate = 0  (0x0)  (int)
  battery.is_rechargeable = true  (bool)
  battery.model = '42T4512'  (string)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = false  (bool)
  battery.reporting.current = 44350  (0xad3e)  (int)
  battery.reporting.design = 65520  (0xfff0)  (int)
  battery.reporting.last_full = 45360  (0xb130)  (int)
  battery.reporting.rate = 0  (0x0)  (int)
  battery.reporting.technology = 'Li-ion'  (string)
  battery.reporting.unit = 'mWh'  (string)
  battery.serial = '  248'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.type = 'primary'  (string)
  battery.vendor = 'SANYO'  (string)
  battery.voltage.current = 16349  (0x3fdd)  (int)
  battery.voltage.design = 14400  (0x3840)  (int)
  battery.voltage.unit = 'mV'  (string)
GNOME Power Manager Process Information:
ewhac    31365  0.2  0.5  28624 16224 pts/0    SN+  14:40   0:01          |       \_ /usr/bin/python /usr/bin/reportbug gnome-power-
ewhac    31626  0.0  0.0   4472  1476 pts/0    SN+  14:49   0:00          |               \_ /bin/sh /usr/share/gnome-power-manager/
ewhac    31648  0.0  0.0   4472   440 pts/0    RN+  14:49   0:00          |                   \_ /bin/sh /usr/share/gnome-power-mana
HAL Process Information:
105       6503  0.0  0.1   7044  4812 ?        Ss   01:38   0:03 /usr/sbin/hald
root      6504  0.0  0.0   3424  1252 ?        S    01:38   0:00  \_ hald-runner
root      6586  0.0  0.0   3488  1096 ?        S    01:38   0:00      \_ /usr/lib/hal/hald-addon-leds
root      6587  0.0  0.0   3488  1092 ?        S    01:38   0:00      \_ /usr/lib/hal/hald-addon-rfkill-killswitch
root      6588  0.0  0.0   3484  1116 ?        S    01:38   0:00      \_ /usr/lib/hal/hald-addon-generic-backlight
root      6620  0.0  0.0   3488  1120 ?        S    01:38   0:00      \_ hald-addon-input: Listening on /dev/input/event1 /dev/input
root      6623  0.0  0.0   3500  1192 ?        S    01:38   0:00      \_ /usr/lib/hal/hald-addon-cpufreq
105       6624  0.0  0.0   3352  1120 ?        S    01:38   0:00      \_ /usr/lib/hal/hald-addon-acpi
root      6625  0.0  0.0   3492  1116 ?        S    01:38   0:02      \_ hald-addon-storage: polling /dev/hda (every 2 sec)

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-power-manager depends on:
ii  consolekit                    0.3.0-3    framework for defining and trackin
ii  dbus-x11                      1.2.16-2   simple interprocess messaging syst
ii  gconf2                        2.26.2-3   GNOME configuration database syste
ii  hal                           0.5.13-2   Hardware Abstraction Layer
ii  libbonobo2-0                  2.24.1-1   Bonobo CORBA interfaces library
ii  libc6                         2.9-23     GNU C Library: Shared libraries
ii  libcairo2                     1.8.8-2    The Cairo 2D vector graphics libra
ii  libdbus-1-3                   1.2.16-2   simple interprocess messaging syst
ii  libdbus-glib-1-2              0.82-1     simple interprocess messaging syst
ii  libgconf2-4                   2.26.2-3   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.4-1   The GLib library of C routines
ii  libgnome-keyring0             2.26.1-1   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  libgstreamer0.10-0            0.10.24-1  Core GStreamer libraries and eleme
ii  libgtk2.0-0                   2.16.5-1   The GTK+ graphical user interface 
ii  libnotify1 [libnotify1-gtk2.1 0.4.5-1    sends desktop notifications to a n
ii  libpanel-applet2-0            2.26.2-1   library for GNOME Panel applets
ii  libpango1.0-0                 1.24.5-1   Layout and rendering of internatio
ii  libx11-6                      2:1.2.2-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-daemon           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