Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Intel Speedstep problems with Battery on X61
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ForsakenSeraph
n00b
n00b


Joined: 08 Aug 2008
Posts: 4

PostPosted: Fri Aug 08, 2008 2:04 pm    Post subject: Intel Speedstep problems with Battery on X61 Reply with quote

Hi all, I just got a X61 and I decided to install Gentoo on it, and I am rather new to Gentoo, so any help would be appreciate.
My problem is that I noticed that when using only AC power and no battery, the max frequency my CPU can go is 1.2 GHz, even though I have all the correct options configured in kernel. Using cpuspeedy, I can decrease my frequency to 800 mhz, and when I view available frequencies, 2.4 GHz is there, but I am unable to set it. I tried to disable Intel Speedstep in Bios, but that didn't fix the problem.
I've searched the forums for my problem, and all I could find is someone with the same problem on a X60s, and they were able to fix it by inserting the battery when connected to AC power. I also tried this technique, and it seems to allow me to run at 2.4 GHz with the battery plugged in.
However, I'm wondering if keeping the battery in will cause it to keep recharging, even at 100%, and therefore using up charge cycles. Also, is there a fix for the problem with running only on AC power? Is this problem only limited to Lenovos/IBMs or do other laptops have the same problem?
Thanks beforehand for any help.
Back to top
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Fri Aug 08, 2008 4:40 pm    Post subject: Reply with quote

i dont think i fully followed your thread interms of what exactly you are trying to achieve.You set frequency scalling with a governor and it normally decides by itself according to your activities on the pc, in heavy usage it jumps to high frequency and in idle it goes to lowest speed....

so u want to get rid of this frequency scalling en run just 1 frequency?You dont need bios to do so, i think you can just remove it from your runlevels or stop it from running

to stop it:
Code:
/etc/init.d/cpufreq stop


remove it from runlevels:
Code:
rc-update del cpufreq default


Rebooting now wont start anything with frequency scalling...should be just your max freq
P:S
Post back again if you think i misunderstood your post...
_________________
~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com
Back to top
View user's profile Send private message
ForsakenSeraph
n00b
n00b


Joined: 08 Aug 2008
Posts: 4

PostPosted: Fri Aug 08, 2008 5:33 pm    Post subject: Reply with quote

I'm trying to have it run at 2.4 GHz, but it wont. It runs at 2.4. Even if both my cpu's are at 100%, it still stays at 1.2 GHz. My governor is userset, and I am able to lower the cpu freq, but I cant raise it, even though I have 2.4 as an available frequency. Hope this clarifies my problem.
Back to top
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Fri Aug 08, 2008 5:47 pm    Post subject: Reply with quote

pls post this...
Code:
cpufreq-info

and pls post any error if any when you try to set the freq.
P:S
Any specific reasons of not using governor to do this automatically...i think its too geek to remember to change the cpu freq everytime, this task can better be done by governor....Just advice though....ofcoz its all up to the user :P
_________________
~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com
Back to top
View user's profile Send private message
ForsakenSeraph
n00b
n00b


Joined: 08 Aug 2008
Posts: 4

PostPosted: Fri Aug 08, 2008 8:09 pm    Post subject: Reply with quote

Quote:
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 0 1
hardware limits: 800 MHz - 2.40 GHz
available frequency steps: 2.40 GHz, 2.40 GHz, 2.00 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
available cpufreq governors: conservative, ondemand, powersave, userspace, performance
current policy: frequency should be within 800 MHz and 1.20 GHz.
The governor "userspace" may decide which speed to use
within this range.
current CPU frequency is 1.20 GHz (asserted by call to hardware).
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 0 1
hardware limits: 800 MHz - 2.40 GHz
available frequency steps: 2.40 GHz, 2.40 GHz, 2.00 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
available cpufreq governors: conservative, ondemand, powersave, userspace, performance
current policy: frequency should be within 800 MHz and 1.20 GHz.
The governor "userspace" may decide which speed to use
within this range.
current CPU frequency is 1.20 GHz (asserted by call to hardware).


I don't know how to use cpufreq to set, I use cpuspeedy to set, and when I try to set to max, it maxes at 1.2GHz. No errors are shown.
Back to top
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Fri Aug 08, 2008 8:41 pm    Post subject: Reply with quote

try this hopefully it works...
Code:
cpufreq-set ondemand


pls post this....
Code:
cat /etc/cpufreqd.conf


P:S
It looks like that userspace is using
Quote:
current policy: frequency should be within 800 MHz and 1.20 GHz.
..en i think its using thaf config file above...
_________________
~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com
Back to top
View user's profile Send private message
ForsakenSeraph
n00b
n00b


Joined: 08 Aug 2008
Posts: 4

PostPosted: Sun Aug 10, 2008 12:17 pm    Post subject: Reply with quote

No, the first code didn't work. It's even slower now, at 800mhz mostly, and it never goes up to 2.4, and the max it goes is 1.2.

Code:
cat /etc/cpufreqd.conf

gives
Quote:
[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=2
verbosity=4
#enable_remote=1
#remote_group=root
[/General]

#[acpi]
#acpid_socket=/var/run/acpid.socket
#[/acpi]

#[nforce2_atxp1]
#vcore_path=/some/path
#vcore_default=1500
#[/nforce2_atxp1]

#[sensors_plugin]
#sensors_conf=/some/file
#[/sensors_plugin]

[Profile]
name=On Demand High
minfreq=40%
maxfreq=100%
policy=ondemand
[/Profile]

[Profile]
name=On Demand Low
minfreq=20%
maxfreq=80%
policy=ondemand
[/Profile]

[Profile]
name=Performance High
minfreq=100%
maxfreq=100%
policy=performance
#exec_post=echo 8 > /proc/acpi/sony/brightness
[/Profile]

[Profile]
name=Performance Low
minfreq=80%
maxfreq=80%
policy=performance
[/Profile]

[Profile]
name=Powersave High
minfreq=70%
maxfreq=70%
policy=powersave
[/Profile]

[Profile]
name=Powersave Low
minfreq=30%
maxfreq=30%
policy=powersave
[/Profile]

#[Profile]
#name=Conservative High
#minfreq=33%
#maxfreq=100%
#policy=conservative
#[/Profile]
#
#[Profile]
#name=Conservative Low
#minfreq=0%
#maxfreq=66%
#policy=conservative
#[/Profile]

##
# Basic states
##
# when AC use performance mode
[Rule]
name=AC Rule
ac=on # (on/off)
profile=Performance High
[/Rule]

# conservative mode when not AC
[Rule]
name=AC Off - Low Battery
ac=off # (on/off)
battery_interval=0-30
#exec_post=echo 5 > /proc/acpi/sony/brightness
profile=Powersave Low
[/Rule]

# conservative mode when not AC
[Rule]
name=AC Off - Medium Battery
ac=off # (on/off)
battery_interval=30-70
#exec_post=echo 5 > /proc/acpi/sony/brightness
profile=On Demand Low
[/Rule]

# stay in performance mode for the first minutes
[Rule]
name=AC Off - High Power
ac=off # (on/off)
battery_interval=70-100
#exec_post=echo 5 > /proc/acpi/sony/brightness
profile=On Demand High
[/Rule]

##
# Special Rules
##
# CPU Too hot!
[Rule]
name=CPU Too Hot
acpi_temperature=55-100
cpu_interval=50-100
profile=Performance Low
[/Rule]
Back to top
View user's profile Send private message
wizatdiz
n00b
n00b


Joined: 20 Aug 2004
Posts: 73
Location: Florida

PostPosted: Sun Aug 10, 2008 12:57 pm    Post subject: Reply with quote

If you are attempting to run the X61 with the battery removed and only the AC power, the hardware is designed to limit the CPU speed. Lenovo has stated that this is the proper result, not a bug or flaw. If both battery and AC is connected and the CPU is limited, there is a BIOS setting that may be the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum