Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143859 - sys-power/powersave-0.13.4 - battery state not detected after upgrade
Summary: sys-power/powersave-0.13.4 - battery state not detected after upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-14 02:14 UTC by Scott Thomson
Modified: 2006-08-14 06:38 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Thomson 2006-08-14 02:14:28 UTC
My battery state is not detected after upgrading powersave from 0.12.20 to 0.13.4

Before...

# emerge -pv powersave && powersave -B

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-power/powersave-0.12.20  USE="-doc -pam_console" 0 kB

Total size of downloads: 0 kB
Battery: 90 %, 23 minutes until fully charged charging
AC is online.
Battery1: 90 %, 23 minutes charging
Battery2: not present

After...

# emerge -pv powersave && powersave -B

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-power/powersave-0.13.4  USE="-doc -pam_console" 0 kB

Total size of downloads: 0 kB
AC is online.
Battery 1 is no primary energysource. Skipping...
Battery 2 is no primary energysource. Skipping...

/proc/acpi/battery looks Ok, state can be obtained by looking at appropriate entry.

Hardware is a HP Compaq nc8230

Emerge Info

# emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -fomit-frame-pointer -fno-ident -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-Os -march=pentium-m -fomit-frame-pointer -fno-ident -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/mirrors/gentoo                 ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/                 http://distfiles.gentoo.org"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/catalystframework"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cairo cli crypt cups curl dlloader dri dvd emacs emboss encode ffmpeg firefox foomaticdb fortran gdbm gif glut gmp gpm gs gstreamer gtk2 hal imagemagick imlib isdnlog java jpeg kde kdeenablefinal kdexdeltas latin1 lcms libg++ libwww logrotate mad mikmod mmx mng mp3 mpeg musicbrainz ncurses nls nptl nsplugin ogg opengl oss pam pcre pdflib perl pic png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session smartcard spell spl sse sse2 ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs xml xorg xscreensaver xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_en_GB userland_GNU video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_fbdev video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-14 02:43:33 UTC
thanks, I masked powersave-0.13
Comment 2 David Korth 2006-08-14 06:22:38 UTC
This bug was just fixed in powersave-0.13.5.

From https://sourceforge.net/project/shownotes.php?group_id=124576&release_id=439382 :

> Changes:
> -------------------------------------------------------------------
> Mon Aug 14 13:08:16 CEST 2006 - fseidel@suse.de
>
> - libpower: fix primary batteries aren't found
> - r2406

Renaming the powersave-0.13.4 ebuild to powersave-0.13.5 works fine.
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-14 06:38:08 UTC
yeah. I bumped the version to that one but left the mask in because .13 is known to break sometimes. Thanks