Bug#510268: gnome-power-manager: Slowly reduces backlight levels until screen is totally dark
Sam Morris
sam at robots.org.uk
Tue Dec 30 23:08:54 UTC 2008
Package: gnome-power-manager
Version: 2.24.2-1
Severity: important
I noticed that gnome-power-manager 2.24 can respond to the brightness keys
on my laptop's keyboard, by changing the screen brightness accordingly--yay!
Unfortunately, it does something really bizarre. It slowly and continuously
reduces the backlight level to zero over the course of a few minutes, as can
be observed by running 'xbacklight -get' every few seconds.
If I run 'xbacklight -set 100' to reverse this trend, gnome-power-manager
resets it almost instantly, and the screen continues on its inexorable journey
towards darkness.
I've tried killing off gnome-power-manager and running it with the --verbose
option, but nothing seems to be associated with the changes to the backlight
levels. However, I attached strace to g-p-m and, after it starts reducing the
backlight, it no longer seems to sleep at all:
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"\234\r\7\0L\0\0\0M\0\0\0\23\0\0\0 \0\0\0\1\0\0\0\347;\0\0"..., 28}], 1) = 28
read(3, 0x14f28d4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"+\r\1\0"..., 4}], 1) = 4
select(4, [3], [], NULL, NULL) = 1 (in [3])
read(3, "\1\2\221U\0\0\0\0|S \3\0\0\0\0004\255\0\0\0\0\0\0\300\4\237\376\377\177\0\0"..., 4096) = 32
read(3, 0x14f28d4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 5000000}, {23877328, 4313703}) = 0
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"\234\r\7\0L\0\0\0M\0\0\0\23\0\0\0 \0\0\0\1\0\0\0\346;\0\0"..., 28}], 1) = 28
read(3, 0x14f28d4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"+\r\1\0"..., 4}], 1) = 4
select(4, [3], [], NULL, NULL) = 1 (in [3])
read(3, "\1\2\223U\0\0\0\0|S \3\0\0\0\0004\255\0\0\0\0\0\0\300\4\237\376\377\177\0\0"..., 4096) = 32
read(3, 0x14f28d4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 5000000}, {23877328, 4313703}) = 0
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"\234\r\7\0L\0\0\0M\0\0\0\23\0\0\0 \0\0\0\1\0\0\0\345;\0\0"..., 28}], 1) = 28
read(3, 0x14f28d4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"+\r\1\0"..., 4}], 1) = 4
select(4, [3], [], NULL, NULL) = 1 (in [3])
read(3, "\1\2\225U\0\0\0\0|S \3\0\0\0\0004\255\0\0\0\0\0\0\300\4\237\376\377\177\0\0"..., 4096) = 32
read(3, 0x14f28d4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 5000000}, {23877328, 4313703}) = 0
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"\234\r\7\0L\0\0\0M\0\0\0\23\0\0\0 \0\0\0\1\0\0\0\344;\0\0"..., 28}], 1) = 28
read(3, 0x14f28d4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"+\r\1\0"..., 4}], 1) = 4
select(4, [3], [], NULL, NULL) = 1 (in [3])
read(3, "\1\2\227U\0\0\0\0|S \3\0\0\0\0004\255\0\0\0\0\0\0\300\4\237\376\377\177\0\0"..., 4096) = 32
read(3, 0x14f28d4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 5000000}, {23877328, 4313703}) = 0
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"\234\r\7\0L\0\0\0M\0\0\0\23\0\0\0 \0\0\0\1\0\0\0\343;\0\0"..., 28}], 1) = 28
read(3, 0x14f28d4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"+\r\1\0"..., 4}], 1) = 4
select(4, [3], [], NULL, NULL) = 1 (in [3])
read(3, "\1\2\231U\0\0\0\0|S \3\0\0\0\0004\255\0\0\0\0\0\0\300\4\237\376\377\177\0\0"..., 4096) = 32
read(3, 0x14f28d4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 5000000}, {23877328, 4313703}) = 0
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"\234\r\7\0L\0\0\0M\0\0\0\23\0\0\0 \0\0\0\1\0\0\0\342;\0\0"..., 28}], 1) = 28
read(3, 0x14f28d4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"+\r\1\0"..., 4}], 1) = 4
select(4, [3], [], NULL, NULL) = 1 (in [3])
read(3, "\1\2\233U\0\0\0\0|S \3\0\0\0\0004\255\0\0\0\0\0\0\300\4\237\376\377\177\0\0"..., 4096) = 32
read(3, 0x14f28d4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 5000000}, {23877328, 4313703}) = 0
-- Package-specific info:
Distro version: 5.0
Kernel version: 2.6.26-1-amd64
g-p-m version: 2.24.2
HAL version: 0.5.11
System manufacturer: missing
System version: missing
System product: missing
AC adapter present: yes
Battery present: yes
Laptop panel present: no
CPU scaling present: yes
Battery Information:
battery.charge_level.current = 51060 (0xc774) (int)
battery.charge_level.design = 53280 (0xd020) (int)
battery.charge_level.last_full = 51060 (0xc774) (int)
battery.charge_level.percentage = 100 (0x64) (int)
battery.charge_level.rate = 0 (0x0) (int)
battery.is_rechargeable = true (bool)
battery.model = '' (string)
battery.present = true (bool)
battery.rechargeable.is_charging = false (bool)
battery.rechargeable.is_discharging = false (bool)
battery.reporting.current = 4600 (0x11f8) (int)
battery.reporting.design = 4800 (0x12c0) (int)
battery.reporting.last_full = 4600 (0x11f8) (int)
battery.reporting.rate = 0 (0x0) (int)
battery.reporting.technology = 'Li-ion' (string)
battery.reporting.unit = 'mAh' (string)
battery.serial = '' (string)
battery.technology = 'lithium-ion' (string)
battery.type = 'primary' (string)
battery.vendor = 'SAMSUNG Electronics' (string)
battery.voltage.current = 12544 (0x3100) (int)
battery.voltage.design = 11100 (0x2b5c) (int)
battery.voltage.unit = 'mV' (string)
GNOME Power Manager Process Information:
HAL Process Information:
106 12088 0.0 0.2 29700 4528 ? Ss Dec24 1:59 /usr/sbin/hald
root 12089 0.0 0.0 17804 1236 ? S Dec24 0:21 \_ hald-runner
106 12113 0.0 0.0 16604 1004 ? S Dec24 0:00 \_ hald-ad
root 12114 0.0 0.0 19944 1364 ? S Dec24 0:08 \_ hald-ad
root 12124 0.0 0.0 19916 1172 ? S Dec24 1:28 \_ hald-ad
-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (530, 'testing'), (520, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gnome-power-manager depends on:
ii dbus-x11 1.2.1-4 simple interprocess messaging syst
ii gconf2 2.24.0-4local1 GNOME configuration database syste
ii hal 0.5.11-6 Hardware Abstraction Layer
ii libart-2.0-2 2.3.20-2 Library of functions for 2D graphi
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libbonobo2-0 2.22.0-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.22.0-1 The Bonobo UI library
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libcairo2 1.8.6-1 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.1-4 simple interprocess messaging syst
ii libdbus-glib-1-2 0.76-1 simple interprocess messaging syst
ii libfontconfig1 2.6.0-3 generic font configuration library
ii libfreetype6 2.3.7-2 FreeType 2 font engine, shared lib
ii libgconf2-4 2.24.0-4local1 GNOME configuration database syste
ii libglade2-0 1:2.6.2-1 library to load .glade files at ru
ii libglib2.0-0 2.18.3-1 The GLib library of C routines
ii libgnome-keyring0 2.24.1-1 GNOME keyring services library
ii libgnome2-0 2.20.1.1-1 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.20.1.1-1 A powerful object-oriented display
ii libgnomeui-0 2.24.0-1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 1:2.22.0-5 GNOME Virtual File System (runtime
ii libgstreamer0.10-0 0.10.21-5 Core GStreamer libraries and eleme
pi libgtk2.0-0 2.14.5-1 The GTK+ graphical user interface
ii libhal1 0.5.11-6 Hardware Abstraction Layer - share
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii libnotify1 [libnotify1 0.4.4-3sam1 sends desktop notifications to a n
ii liborbit2 1:2.14.13-0.1 libraries for ORBit2 - a CORBA ORB
ii libpanel-applet2-0 2.24.2-3 library for GNOME Panel applets
ii libpango1.0-0 1.22.3-1 Layout and rendering of internatio
ii libpng12-0 1.2.27-2 PNG library - runtime
ii libpopt0 1.14-4 lib for parsing cmdline parameters
ii libsm6 2:1.0.3-2 X11 Session Management library
ii libwnck22 2.22.3-1 Window Navigator Construction Kit
ii libx11-6 2:1.1.5-2 X11 client-side library
ii libxcursor1 1:1.1.9-1 X cursor management library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii libxi6 2:1.1.4-1 X11 Input extension library
ii libxinerama1 2:1.0.3-2 X11 Xinerama extension library
ii libxml2 2.6.32.dfsg-5 GNOME XML library
ii libxrandr2 2:1.2.3-1 X11 RandR extension library
ii libxrender1 1:0.9.4-2 X Rendering Extension client libra
ii notification-daemon 0.3.7-1+b1 a daemon that displays passive pop
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
gnome-power-manager recommends no packages.
gnome-power-manager suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list