Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288901 - sys-apps/hal-0.5.13-r2: powerdevil detects no cpu scaling capability
Summary: sys-apps/hal-0.5.13-r2: powerdevil detects no cpu scaling capability
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-13 16:39 UTC by Alexey Grebenschikov
Modified: 2009-10-30 19:12 UTC (History)
3 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 Alexey Grebenschikov 2009-10-13 16:39:00 UTC
KDE powerdevel can't detect cpu scaling capability (after hal was updated to sys-apps/hal-0.5.13-r2), so suspend to ram doesn't work properly. sys-apps/hal-0.5.12_rc1-r8 doesn't have such problem.

zsh/2 255 % cat /sys/devices/system/cpu/cpu[01]/cpufreq/scaling_available_governors
ondemand userspace powersave conservative performance
ondemand userspace powersave conservative performance


Reproducible: Always

Steps to Reproduce:
1. emerge =sys-apps/hal-0.5.13-r2
2. /etc/init.d/dbus restart (in order to restart dbus/hald/consolekit)
3. login to kde
4. go to System Settings -> Advanced (tab) -> Power Management -> Capabilities
5. look at: Scaling capability and Supported CPU Policies

Actual Results:  
Scaling capability: -
Supported CPU Policies: No methods found

Expected Results:  
Scaling capability: +
Supported CPU Policies: ondemand userspace powersave conservative performance

zsh/2 256 % emerge --info
Portage 2.2_rc46 (default/linux/x86/10.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r2-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 13 Oct 2009 11:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
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.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -mfpmath=sse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -mfpmath=sse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB uk ru"
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/perl-experimental /usr/local/portage/layman/sunrise /usr/local/portage /usr/local/portage/my-own"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac acl acpi aio alsa avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdr chm cli consolekit cracklib crypt cscope cups custom-optimization dbus dga djvu dri dts dvd dvdr ebook eds emboss encode evo exif expat fam fastcgi fbcon ffmpeg fftw firefox flac fortran gd gdbm gif git gnokii gnutls gphoto2 gpm gstreamer hal http hyperestraier iconv icu imagemagick inotify isdnlog jack javascript jpeg jpeg2k kde kde4 kipi kontact libnotify libsamplerate lm_sensors logrotate lzma mad maildir mikmod mmap mmx mng modules motif mp3 mp4 mpeg mudflap musicbrainz nautilus ncurses network nfs nls nptl nptlonly nsplugin ntp nvidia obex ogg openexr opengl openmp pam pch pcre pdf perl phonon plasma png policykit ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection rss samba sdl semantic-desktop session slang sndfile spell spl sql sqlite sse sse2 ssl startup-notification stlport subversion svg symlink sysfs tcpd theora threads thumbnail thunar tiff truetype unicode usb v4l v4l2 vcd vdpau vim-pager vim-syntax vorbis webkit wifi win32codecs wmf x264 x86 xattr xcb xcomposite xine xinerama xml xorg xpm xprint xulrunner xv xvid zeroconf zip zlib zsh-completion" 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" CAMERAS="canon directory ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB uk ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Denis Sokolovsky 2009-10-14 11:58:40 UTC
I have same problem.
But I think that problem is in some other library. On may system powerdevil stop working correctly after next update:

$ genlop --list --date 1 day ago
     Tue Oct 13 16:31:09 2009 >>> sys-apps/portage-2.2_rc46
     Tue Oct 13 16:31:52 2009 >>> sys-apps/sdparm-1.04     
     Tue Oct 13 16:36:13 2009 >>> sys-libs/ncurses-5.7-r2  
     Tue Oct 13 16:37:06 2009 >>> media-libs/freetype-2.3.11
     Tue Oct 13 16:37:24 2009 >>> x11-themes/hicolor-icon-theme-0.11
     Tue Oct 13 16:37:57 2009 >>> media-libs/libexif-0.6.18         
     Tue Oct 13 16:39:03 2009 >>> dev-python/setuptools-0.6.4       
     Tue Oct 13 16:40:22 2009 >>> app-portage/eix-0.18.2            
     Tue Oct 13 16:43:46 2009 >>> sys-devel/gdb-7.0                 
     Tue Oct 13 16:44:21 2009 >>> app-i18n/enca-1.11                
     Tue Oct 13 16:44:38 2009 >>> dev-perl/Class-Trigger-0.14       
     Tue Oct 13 16:45:49 2009 >>> gnome-base/libbonobo-2.24.2       
     Tue Oct 13 16:47:24 2009 >>> net-misc/openssh-5.3_p1-r1        
     Tue Oct 13 16:48:11 2009 >>> sys-apps/kbd-1.15.1               
     Tue Oct 13 16:48:43 2009 >>> x11-libs/libXft-2.1.14            
     Tue Oct 13 16:49:08 2009 >>> x11-libs/libXfixes-4.0.4
     Tue Oct 13 16:49:40 2009 >>> x11-libs/libxkbfile-1.0.6
     Tue Oct 13 16:50:05 2009 >>> x11-libs/libXres-1.0.4
     Tue Oct 13 16:50:39 2009 >>> x11-libs/libXpm-3.5.8
     Tue Oct 13 16:50:59 2009 >>> x11-apps/mkfontscale-1.0.7
     Tue Oct 13 16:51:16 2009 >>> x11-proto/randrproto-1.3.1
     Tue Oct 13 16:52:12 2009 >>> x11-libs/libXfont-1.4.1
     Tue Oct 13 16:52:32 2009 >>> x11-apps/iceauth-1.0.3
     Tue Oct 13 16:52:57 2009 >>> x11-libs/libXvMC-1.0.5
     Tue Oct 13 16:53:13 2009 >>> x11-proto/xf86miscproto-0.9.3
     Tue Oct 13 16:53:36 2009 >>> x11-libs/libXfontcache-1.0.5
     Tue Oct 13 16:55:24 2009 >>> net-ftp/lftp-4.0.2.91
     Tue Oct 13 16:55:46 2009 >>> x11-libs/libXdamage-1.1.2
     Tue Oct 13 16:56:08 2009 >>> x11-libs/libXcomposite-0.4.1
     Tue Oct 13 16:56:31 2009 >>> x11-libs/libXxf86misc-1.0.2
     Tue Oct 13 16:56:53 2009 >>> x11-apps/mkfontdir-1.0.5
     Tue Oct 13 16:57:13 2009 >>> media-fonts/encodings-1.0.3
     Tue Oct 13 17:01:12 2009 >>> net-fs/samba-libs-3.4.2-r1
     Tue Oct 13 17:04:42 2009 >>> x11-base/xorg-server-1.6.5
     Tue Oct 13 17:05:08 2009 >>> x11-drivers/xf86-input-synaptics-1.2.0
     Tue Oct 13 17:14:50 2009 >>> media-gfx/hugin-2009.4.0_rc1
     Tue Oct 13 17:17:31 2009 >>> gnome-base/gnome-vfs-2.24.2
     Tue Oct 13 17:18:14 2009 >>> kde-base/kabcclient-4.3.2-r1
     Tue Oct 13 17:19:56 2009 >>> dev-util/git-1.6.5
     Tue Oct 13 17:20:31 2009 >>> dev-perl/XML-LibXML-1.70
Comment 2 Denis Sokolovsky 2009-10-14 12:00:55 UTC
BTW emerge --info
Portage 2.2_rc46 (default/linux/x86/10.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r2-i686-Intel-R-_Core-TM-2_CPU_T7400_@_2.16GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 14 Oct 2009 10:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
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.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.kiev.ua/ftp/ http://de-mirror.org/distro/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="uk_UA.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB uk ru"
MAKEOPTS="-j4"
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 /usr/local/portage/layman/perl-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdr cli clisp consolekit cracklib crypt cups dbus djvu dri dts dv dvd dvdr eds emboss encode evo exif fam fastcgi fbcon festival ffmpeg fftw firefox flac fortran ftp gdbm geoip gif gnome gnutls gpm gs gstreamer gtk hal hddtemp iconv idn ieee1394 imlib ipv6 irda isdnlog ithreads java java6 jbig jpeg jpeg2k kde lcms ldap libcaca libnotify libsamplerate libsndfile lua lzo mad maildir mbox mikmod mmap mmx mng modplug modules mp3 mp4 mpeg mudflap musepack nas ncurses nfs nls nntp nptl nptlonly nsplugin nvidia offensive ogg openal opengl openmp oss pam pcmcia pcre pdf perl pg-intdatetime png postgres ppds pppd pulseaudio python qt3support qt4 quicktime rar readline reflection samba sdl server session slang snmp spell spl sql sqlite sqlite3 sse sse2 ssl ssse3 startup-notification svg symlink sysfs syslog tcl theora threads thunar tiff tk truetype unicode usb vdpau vim-syntax vorbis wavpack webkit wifi win32codecs wma wmf x264 x86 xattr xcb xcomposite xinerama xml xorg xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel emu10k1" 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB uk ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-10-23 15:36:10 UTC
The capability has not been removed from hal, since gnome-power-manager works fine.  I suspect it's a bug in powerdevil.
Comment 4 Alexey Grebenschikov 2009-10-30 19:12:55 UTC
after consolekit was updated to consolekit-0.4.1, the issue has gone.