Bug#273041: gnome-cpufreq-applet: fails to notice CPU speed change
Carlos Garcia Campos
Carlos Garcia Campos <carlosgc@gnome.org>,
273041@bugs.debian.org, 273041@bugs.debian.org
Fri, 01 Oct 2004 13:43:12 +0200
--=-CqozK+RksPDBd5jrLwyZ
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
El mar, 28-09-2004 a las 00:44 +0300, Marius Gedminas escribi=C3=B3:
> On Mon, Sep 27, 2004 at 02:13:24PM +0200, Carlos Garcia Campos wrote:
> > > There is another way of detecting the CPU speed:
> > >=20
> > > $ cat /proc/sys/cpu/0/speed
> > > 665000
> >=20
> > Could you give me the content of all the files in /proc/sys/cpu/0/
> > please?
>=20
> Sure:
>=20
> $ cd /proc/sys/cpu/0
> $ ls
> speed speed-max speed-min
> $ cat speed-max
> 864500
> $ cat speed-min
> 665000
> $ cat speed
> 665000
>=20
> cpufreq adds a documentation file that says the preferred interface is sy=
sfs,
> and /proc/sys/cpu interfaces are deprecated, but AFAIU they're the only o=
nes
> actually supported on 2.4 kernels. Excerpt from the "old" documentation =
file
> (/usr/src/linux/Documentation/cpufreq-old):
>=20
> 2. User Interface
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> CPUFreq uses a "sysctl" interface which is located in
> /proc/sys/cpu/0/ on UP (uniprocessor) kernels, or
> /proc/sys/cpu/any/ on SMP (symmetric multiprocessoring) ke=
rnels.
>=20
>=20
> In this directory, you will find three files of importance for
> CPUFreq: speed-max, speed-min, and speed:
>=20
> speed shows the current CPU frequency in kHz,
> speed-min the minimal supported CPU frequency, and
> speed-max the maximal supported CPU frequency.
>=20
> Please note that you might have to specify these limits as a boot
> parameter depending on the architecture (see above).
>=20
>=20
> To change the CPU frequency, "echo" the desired CPU frequency (in kHz)
> to speed. For example, to set the CPU speed to the lowest/highest
> allowed frequency do:
>=20
> root@notebook:# cat /proc/sys/cpu/0/speed-min > /proc/sys/cpu/0/speed
> root@notebook:# cat /proc/sys/cpu/0/speed-max > /proc/sys/cpu/0/speed
Ok, it's now fixed in CVS, I'm going to do a release in the next days.
Thank you :-))
>=20
> HTH,
> Marius Gedminas
Greetings,=20
--=20
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D
Carlos Garcia Campos a.k.a. KaL
elkalmail@yahoo.es
carlosgc@gnome.org
http://carlosgc.linups.org
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D=
=20
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0x523E6462
--=-CqozK+RksPDBd5jrLwyZ
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
digitalmente
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBBXULQjxBOalI+ZGIRAg/6AJ985iwE8ZE/Pb8yyx0MFAM+uJsCsgCfdI8n
vLGd457AGd36/EVB4B9wqxA=
=ckcX
-----END PGP SIGNATURE-----
--=-CqozK+RksPDBd5jrLwyZ--