[ltp] cpufreqd doesn't change frequency any more

Marius Gedminas linux-thinkpad@linux-thinkpad.org
Fri, 30 Jul 2004 12:30:09 +0300


--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 29, 2004 at 12:46:37PM +0200, Joachim Schrod wrote:
> This is a T41 with a 1.4 GHz CPU. I'm running 2.4.26 from kernel.org,
> with cpufreq patches, module speedstep-centrino, and cpufreqd.
>=20
> I'm using APM. cpufreqd is configured to turn on full speed while on
> AC. After suspending-to-RAM a few times, cpufreqd does not change the
> CPU speed any more. I.e., I get the following behaviour:
>=20
>     pixel:infos $ cat /proc/sys/cpu/0/speed
>     600000
>     pixel:infos $ cat /proc/cpufreq=20
> 	      minimum CPU frequency  -  maximum CPU frequency  -  policy
>     CPU  0       924000 kHz ( 66 %)  -    1400000 kHz (100 %)  -  perform=
ance
<...>
> I also cannot change the CPU speed any more manually. Echoing 1400000
> to /proc/sys/cpu/0/speed has no effect.

You can only manually set the CPU speed when policy (as shown in
/proc/cpufreq) is "userspace".

Try

  echo 924000:1400000:userspace > /proc/cpufreq
  cat /proc/sys/cpu/0/speed-max > /proc/sys/cpu/0/speed

Marius Gedminas
--=20
There's an old story about the person who wished his computer were as easy =
to
use as his telephone. That wish has come true, since I no longer know how to
use my telephone.
	-- Bjarne Stroustrup

--9amGYk9869ThD9tj
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBChUhkVdEXeem148RAvSiAKCLYlHnypclT7ZcE0XSFb+7Pqp98wCfZjoG
czKfrENG120pU8uga4Y5/J8=
=qbOH
-----END PGP SIGNATURE-----

--9amGYk9869ThD9tj--