Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270244 - [gnome-overlay] gnome-extra/gnome-power-manager-2.26.1 fails to detect battery
Summary: [gnome-overlay] gnome-extra/gnome-power-manager-2.26.1 fails to detect battery
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High critical
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 02:16 UTC by Edgardo Rossetto
Modified: 2009-12-04 01:44 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of gnome-power-bugreport.sh (gpm-bugreport.txt,2.55 KB, text/plain)
2009-05-18 02:21 UTC, Edgardo Rossetto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Edgardo Rossetto 2009-05-18 02:16:33 UTC
GPM fails to detect battery

gnome-power-manager --verbose --no-daemon

** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success

** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success

** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success

** (gnome-power-manager:3440): WARNING **: ERROR: No governor 'nothing' available

** (gnome-power-manager:3440): WARNING **: ERROR: No 'SetCPUFreqPerformance' setting for current governor

** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success

** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success

** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success

** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success


Reproducible: Always

Steps to Reproduce:
1. killall gnome-power-manager
2. start gnome-power-manager from console --verbose --no-daemon


Actual Results:  
GPM errors

Expected Results:  
No errors

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.0
Timestamp of tree: Mon, 18 May 2009 00:00:02 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/gnome /usr/local/portage/layman/x11 /usr/local/portage/layman/kde-testing /usr/local/portage/layman/sunrise /usr/local/portage/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cairo cdr cleartype cli consolekit cracklib crypt dbus dri dvd exif fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk hal iconv isdnlog jpeg jpeg2k laptop lcms midi mmx mng mudflap multilib mysql ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python raw readline reflection sdl session spl sqlite sse sse2 ssl ssse3 svg sysfs tcpd tiff truetype unicode vim-syntax webkit wmf xmp xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Edgardo Rossetto 2009-05-18 02:20:23 UTC
It seems GPM does indeed detect the battery, but still crashes upon start.
Comment 2 Edgardo Rossetto 2009-05-18 02:21:13 UTC
Created attachment 191606 [details]
Output of gnome-power-bugreport.sh
Comment 3 Arun Raghavan (RETIRED) gentoo-dev 2009-05-18 18:31:35 UTC
You report is not entirely clear. Does gnome-power-manager crash (terminate) when you run it? If so, could you please provide a backtrace as described in: http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 4 Edgardo Rossetto 2009-05-18 21:37:09 UTC
It does not terminate, it shows the warnings and the battery tab is missing
Comment 5 Romain Perier (RETIRED) gentoo-dev 2009-05-24 08:41:01 UTC
** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get
properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper:
Success

I already had this problem, and the battery section was not display too.
I solved it by re-emerging DBus, apparently seems to be a SETUID bit problem but i'm not sure (if a dev from freedesktop herd can confirm please), after re-emerged it all worked perfectly.

can you try ?
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-25 22:16:04 UTC
please try suggestion from bug #5. It sounds like the dbus permissive issue again.
Comment 7 onip 2009-09-20 11:02:07 UTC
re-emerging dbus-related packages solved for me. My gpm could'n show hibernate and suspend options
Comment 8 Krzysztof Magusiak 2009-12-04 01:44:46 UTC
I've just re-installed my pc and I have the same problem with gnome-power-manager-2.28.1

Re-emerging dbus didn't solve the problem. But it solves this issue: http://bugs.gentoo.org/show_bug.cgi?id=222551

/usr/libexec/dbus-daemon-launch-helper couldn't be executed because its rights are set to -rws--x--- and it was run by the user (which isn't in the messagebus group).

To fix this issue, I did:
# chmod o+x /usr/libexec/dbus-daemon-launch-helper