Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47538 - Current powernowd ebuild doesn't work with centrino laptop.
Summary: Current powernowd ebuild doesn't work with centrino laptop.
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-11 12:32 UTC by Christopher Korn
Modified: 2004-11-01 07:13 UTC (History)
0 users

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


Attachments
Fixed ebuild (hope so :) ) (powernowd-0.90.seth.ebuild,631 bytes, text/plain)
2004-04-11 12:34 UTC, Christopher Korn
Details
Cleaner / better fixed ebuild (powernowd-0.90-r1.ebuild,751 bytes, text/plain)
2004-04-11 13:08 UTC, Christopher Korn
Details
the requested diff from my ebuild to 0.90 (diff,876 bytes, text/plain)
2004-11-01 07:00 UTC, Christopher Korn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Korn 2004-04-11 12:32:08 UTC
The current ebuild of powernowd doesn't work with centrino based notebooks.

I fixed the ebuild so that it would work with my laptop. Hope it helps.
(ebuild added as atachment)

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge -v powernowd
2. /etc/init.d/powernowd start
3. cat /proc/cpuinfo #nothing will change

Actual Results:  
cpufrequency is constant. not managed by powernowd

Expected Results:  
powernowd will manage the cpufrequency

System uname: 2.6.5 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -msse -mmmx -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -msse -mmmx -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
http://gentoo.inode.at/ http://gentoo.mirror.sdv.fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb cdr crypt cups directfb dvd encode
esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad
mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd truetype
x86 xml2 xmms xv zlib"
Comment 1 Christopher Korn 2004-04-11 12:34:27 UTC
Created attachment 29104 [details]
Fixed ebuild (hope so :) )

Ebuild that fixes the problem (for me)
Comment 2 Christopher Korn 2004-04-11 13:08:14 UTC
Created attachment 29109 [details]
Cleaner / better fixed ebuild

Please Ignore the above file! This is ebuild is more standard-conform
Comment 3 teedog 2004-07-29 12:47:06 UTC
I emerged powernowd using this ebuild but I cannot start it.  Perhaps it is because I am using udev.

# /etc/init.d/powernowd start
 * Starting powernowd...
Couldn't open file: No such file or directory
Couldn't open file: No such file or directory
Couldn't open file: No such file or directory
couldn't open govn's file for writing: No such file or directory
Couldn't get per-cpu data: Illegal seek
PowerNowd encountered and error and could not start.
Please make sure that:
 - You are running a v2.5/v2.6 kernel or later
 - That you have sysfs mounted /sys
 - That you have the core cpufreq and cpufreq-userspace
   modules loaded into your kernel
 - That you have the cpufreq driver for your cpu loaded,
   and that it works. (check dmesg for errors)
If all of the above are true, and you still have problems,
please email the author: clemej@alum.rpi.edu
Comment 4 Henrik Brix Andersen 2004-10-21 11:42:27 UTC
Reporter, please attach a unified diff (diff -u) containing your proposed changes to the ebuild. Remember to use the text/plain mimetype when attaching text files.
Comment 5 Henrik Brix Andersen 2004-11-01 05:52:26 UTC
This bug report is awaiting feedback from the reporter.
Comment 6 Christopher Korn 2004-11-01 07:00:42 UTC
Created attachment 43074 [details]
the requested diff from my ebuild to 0.90
Comment 7 Christopher Korn 2004-11-01 07:01:06 UTC
as requested i added the diff. 
sorry for this slow respond.
Comment 8 Henrik Brix Andersen 2004-11-01 07:08:17 UTC
How are these changes supposed to affect the function of powernowd on a Centrino-based laptop?
Comment 9 Christopher Korn 2004-11-01 07:09:19 UTC
i really don't know but it worked for me. :/
Comment 10 Henrik Brix Andersen 2004-11-01 07:12:54 UTC
The current ebuild works fine here (also on a Centrino-based laptop, not that it matters much for the ebuild).
Comment 11 Henrik Brix Andersen 2004-11-01 07:13:28 UTC
Closing as WORKSFORME.