[Powertop] PowerTop version 2.5 Installation issue

Mukherjee, Adrip <adrip.mukherjee at intel.com>
Newsgroups dev.linux.lists.powertop
Message-ID <F9A26558D30ED241A8204F06F9947260257FD05F@BGSMSX102.gar.corp.intel.com>
Hi,
           Can someone please suggest the full set of kernel config options need to set before running powertop. The readme file suggests that the list is incomplete.
Kernel Parameters:
------------------

PowerTOP needs some kernel config options enabled in order function properly.
As of linux-3.3.0 these are (list probably incomplete):

CONFIG_NO_HZ
CONFIG_HIGH_RES_TIMERS
CONFIG_HPET_TIMER
CONFIG_CPU_FREQ_GOV_ONDEMAND
CONFIG_USB_SUSPEND
CONFIG_SND_AC97_POWER_SAVE
CONFIG_TIMER_STATS
CONFIG_PERF_EVENTS
CONFIG_PERF_COUNTERS
CONFIG_TRACEPOINTS
CONFIG_TRACING
CONFIG_EVENT_POWER_TRACING_DEPRECATED
CONFIG_X86_MSR
ACPI_PROCFS_POWER
CONFIG_DEBUG_FS

The patches in the patches/ sub-directory are required for PowerTOP to function
fully.(where to look for the patch folder ?could not figure out the patch folder in release directory)

Regards
adrip

From: Mukherjee, Adrip
Sent: 20 November 2013 17:03
To: powertop(a)lists.01.org<mailto:powertop(a)lists.01.org>
Subject: PowerTop Installation issue

Hi ,
       This is Adrip from Intel India PCCG group. Recently I was trying to install powertop in my HSW PVT2 system having Android JellyBean internal version . According to the installation steps listed here:

To build and install PowerTOP type the following commands,
        ./configure
        ./make
        ./make install
Its failing to configure with a message : "permission denied" even though I have rooted my terminal emulator. Can you please tell me what I need to follow to run the powertop tool on Android in a Haswell SDS system.

regards
Adrip
attachment.html (text/html, 9.2 KB)
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
	{font-family:Vivaldi;
	panose-1:3 2 6 2 5 5 6 9 8 4;}
@font-face
	{font-family:Andalus;
	panose-1:2 2 6 3 5 4 5 2 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-IN" style="color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Can someone please suggest the full set of kernel config options need to set before running powertop. The readme file suggests that the list is incomplete.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">Kernel Parameters:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">PowerTOP needs some kernel config options enabled in order function properly.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">As of linux-3.3.0 these are (<b>list probably incomplete</b>):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_NO_HZ<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_HIGH_RES_TIMERS<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_HPET_TIMER<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_CPU_FREQ_GOV_ONDEMAND<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_USB_SUSPEND<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_SND_AC97_POWER_SAVE<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_TIMER_STATS<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_PERF_EVENTS<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_PERF_COUNTERS<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_TRACEPOINTS<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_TRACING<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_EVENT_POWER_TRACING_DEPRECATED<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_X86_MSR<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">ACPI_PROCFS_POWER<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">CONFIG_DEBUG_FS<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">The patches in the patches/ sub-directory are required for PowerTOP to function<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:10.0pt;font-family:&quot;Andalus&quot;,&quot;serif&quot;;color:#1F497D">fully</span><span lang="EN-IN" style="color:#1F497D">.(</span><span lang="EN-IN" style="color:red">where to look for the patch folder ?could not figure
 out the patch folder in release directory</span><span lang="EN-IN" style="color:#1F497D">)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="color:#1F497D">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="color:#1F497D">adrip<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Mukherjee, Adrip <br>
<b>Sent:</b> 20 November 2013 17:03<br>
<b>To:</b> <a href="mailto:[email protected]">[email protected]</a><br>
<b>Subject:</b> PowerTop Installation issue<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-IN"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal">Hi ,<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This is Adrip from Intel India PCCG group. Recently I was trying to install powertop in my HSW PVT2 system having Android JellyBean internal version . According to the installation steps listed here:
<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:11.5pt;font-family:Consolas;color:#333333">To build and install PowerTOP type the following commands,
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:11.5pt;font-family:Consolas;color:red">./configure
</span><span style="font-size:11.5pt;font-family:Consolas;color:#333333"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;./make<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;./make install<o:p></o:p></span></p>
<p class="MsoNormal">Its failing to configure with a message : &#8220;permission denied&#8221; even though I have rooted my terminal emulator. Can you please tell me what I need to follow to run the powertop tool on Android in a Haswell SDS system.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Vivaldi;color:#403152">regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Vivaldi;color:#403152">Adrip<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.