[ltp] Nearing nirvana with a T40P

Alexander Gran linux-thinkpad@linux-thinkpad.org
Mon, 30 Jun 2003 08:29:27 +0200


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag, 29. Juni 2003 23:49 schrieb Neil Weisenfeld:
> Speedstep.  No matter what BIOS settings I play with, if the system
> boots on battery, then CPU frequency is limited to 600Mhz, even if AC is
> restored.  I'm running the cpufreq module, however it still considers
> 600MHz to be the upper limit.  It used to be that the 600MHz limit went
> in to effect, even if I booted on AC and then switched to battery,
> however a recent change to kernel 2.4.21-rc8-ac1 seems to have made it
> that it sticks with whatever it had at boot time.

2.5.x Kernels should help here. The enhanced speedstep cpufreq patch, toget=
her=20
with sysfs works ok. You get=20
t40:/sys/devices/system/cpu/cpu0/cpufreq# l
insgesamt 0
=2D -r--r--r--    1 root     root         4,0K 2003-06-30 10:19 cpuinfo_max=
_freq
=2D -r--r--r--    1 root     root         4,0K 2003-06-30 10:19 cpuinfo_min=
_freq
=2D -r--r--r--    1 root     root         4,0K 2003-06-30 10:19=20
scaling_available_governors
=2D -r--r--r--    1 root     root         4,0K 2003-06-30 10:19 scaling_dri=
ver
=2D -rw-r--r--    1 root     root         4,0K 2003-06-30 10:19 scaling_gov=
ernor
=2D -rw-r--r--    1 root     root         4,0K 2003-06-30 10:19 scaling_max=
_freq
=2D -rw-r--r--    1 root     root         4,0K 2003-06-30 10:19 scaling_min=
_freq
And this works quite good. I haven't been able to let the cpuspeed switch=20
automagically when back on ac, but it works manually. (echo performance >=20
scaling_governor)

regards
Alex
=2D --=20
Some operating systems are called `user friendly',
	Linux however is `expert friendly'.
Encrypted Mails welcome. Send spam to toZodiac@gmx.net, please.
PGP-Key at http://zodiac.dnsalias.org/misc/pgpkey.asc | Key-ID: 0x6D7DD291
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+/9jK/aHb+2190pERAoXFAJsH0pTBBdTCINl5BnnsMY8XMqRuRACeM9EM
CdPIRxUWyIumvmacce3K//A=3D
=3D8ZZh
=2D----END PGP SIGNATURE-----