Skip to contentSkip to conversation

Powertop --claibrate doesn't run

Powertop Don Rhummy 4 participants 4 messages Feb 13, 2013

lore
Share & tools
lore

Don Rhummy

author
#0 lore raw

When I run the command "powertop
--calibrate --debug" it turns my screen black but then does nothing (even if I leave it for 30 minutes) and when I touch the mousepad, it shows the command simply returned with no output like this:

myuser:~>kdesu /usr/sbin/powertop --calibrate --debug myuser:~>

I'm using:
openSUSE 12.2
KDE 4.8.5
Kernel: 3.4.11 (64bit)
8GB RAM (6.5GB free)
Intel i5 1.7 quad core

How do I fix this? What could be wrong?

#1 lore raw
Quoted 8 lines · Don Rhummy

When I run the command "powertop
--calibrate --debug" it turns my screen black but then does nothing (even if I leave it for 30 minutes) and when I touch the mousepad, it shows the command simply returned with no output like this:

myuser:~>kdesu /usr/sbin/powertop --calibrate --debug myuser:~>

things you can try to see if stuff happens:

0) echo $? -> inspect the return value
1) run time powertop --calibrate --debug to see if it just doesn't return really fast
2) run it under strace...
3) inspect if it writes the powertop data to /var/cache...

Cheers,

Auke

#2 lore raw

Thanks!

That's helpful for a lot of things!

I believe I have figured otu the issue:

It appears there was a bug in powertop 2.0:

https://lists.01.org/pipermail/power...ay/000035.html

Upgrading to 2.2 appears to fix the problem (uninstall powertop 2.0 first):

Code:
myuser:~>wget download.opensuse.org/factory/repo/oss/suse/x86_64/powertop-2.2-1.1.x86_64.rpm myuser:~>sudo rpm -i powertop*

________________________________
From: "Kok, Auke-jan H" <auke-jan.h.kok(a)intel.com>
To: Don Rhummy <d6tr6tr(a)yahoo.com>
Cc: "powertop(a)lists.01.org" <powertop(a)lists.01.org>
Sent: Wednesday, February 13, 2013 1:59 PM
Subject: Re: [Powertop] Powertop --claibrate doesn't run

Quoted 8 lines · Don Rhummy

When I run the command "powertop
--calibrate --debug" it turns my screen black but then does nothing (even if I leave it for 30 minutes) and when I touch the mousepad, it shows the command simply returned with no output like this:

myuser:~>kdesu /usr/sbin/powertop --calibrate --debug myuser:~>

things you can try to see if stuff happens:

0) echo $? -> inspect the return value
1) run time powertop --calibrate --debug to see if it just doesn't return really fast
2) run it under strace...
3) inspect if it writes the powertop data to /var/cache...

Cheers,

Auke
_______________________________________________
PowerTop mailing list
PowerTop(a)lists.01.org
https://lists.01.org/mailman/listinfo/powertop

#3 lore raw
In reply to Don Rhummy

Hello,

Quoted 10 lines · Don Rhummy

When I run the command "powertop
--calibrate --debug" it turns my screen black but then does nothing (even if I leave it for 30 minutes) and when I touch the mousepad, it shows the command simply returned with no output like this:

myuser:~>kdesu /usr/sbin/powertop --calibrate --debug myuser:~>

Quoted 7 lines

I'm using:
openSUSE 12.2
KDE 4.8.5
Kernel: 3.4.11 (64bit)
8GB RAM (6.5GB free)
Intel i5 1.7 quad core

and powertop version?

Quoted 3 lines

How do I fix this? What could be wrong?

well, let's try:

sudo gdb /usr/sbin/powertop
run --calibrate --debug

	-ss