[ltp] X60s: Heat, power management, battery

Atul Chitnis linux-thinkpad@linux-thinkpad.org
Wed, 12 Jul 2006 21:10:52 +0530 (IST)


On Wed, 12 Jul 2006, Laurent Gilson wrote:

> hdparm -B 128 /dev/your-disc.

Is this safe on a SATA disk (i.e. scsi emulation)?

> And install/configure laptopmode. That letīs the HD spindown for a much 
> longer time.

Will give that a shot.

>
>> - I rarely hear the fan kick in when in Linux
>
> That contradicts:
>
>> - Battery life is only about 4 hours under Linux, but upto 7 hours in 
>> Windows.

What I meant was - I don't hear it kick in (or out). Either it is on all 
the time or it is off all the time. Under Windows, I can hear it coming on 
or going off every now and then.

> Looks like a speedstep problem.
>
> Are ACPI & Co loaded ?

Yes.

> Does /sys/devices/system/cpu/cpu0/cpufreq/ exist ?

[root@vader] ~# ls -al /sys/devices/system/cpu/cpu0/cpufreq/
total 0
drwxr-xr-x 2 root root    0 Jul 12 15:17 ./
drwxr-xr-x 5 root root    0 Jul 12 15:17 ../
-r--r--r-- 1 root root 4096 Jul 12 15:17 affected_cpus
-r-------- 1 root root 4096 Jul 12 15:17 cpuinfo_cur_freq
-r--r--r-- 1 root root 4096 Jul 12 15:17 cpuinfo_max_freq
-r--r--r-- 1 root root 4096 Jul 12 15:17 cpuinfo_min_freq
-r--r--r-- 1 root root 4096 Jul 12 15:17 scaling_available_frequencies
-r--r--r-- 1 root root 4096 Jul 12 15:17 scaling_available_governors
-r--r--r-- 1 root root 4096 Jul 12 15:17 scaling_cur_freq
-r--r--r-- 1 root root 4096 Jul 12 15:17 scaling_driver
-rw-r--r-- 1 root root    0 Jul 12 15:17 scaling_governor
-rw-r--r-- 1 root root 4096 Jul 12 15:17 scaling_max_freq
-rw-r--r-- 1 root root 4096 Jul 12 15:17 scaling_min_freq
-rw-r--r-- 1 root root    0 Jul 12 20:55 scaling_setspeed


> Does the frequency in /proc/cpuinfo change depending on the load ?

Haven't checked, did so just now, and it reports

vendor_id       : GenuineIntel
cpu family      : 6
model           : 14
model name      : Genuine Intel(R) CPU           L2400  @ 1.66GHz
stepping        : 8
cpu MHz         : 1000.000

on both CPUs (Core Duo) which doesnt seem right - it is powered on AC, and 
has no reason not to be running at full 1.66 GHz.

Atul

-- 
-----------------------------------------
Atul Chitnis     | mail@atulchitnis.net
Bangalore, India | http://atulchitnis.net
-----------------------------------------