[ltp] Re: partial success w/ radeon-patch on T41

Michele Lamarca linux-thinkpad@linux-thinkpad.org
Sat, 5 Feb 2005 13:41:21 +0100


------=_Part_855_18587699.1107607281531
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Sat, 05 Feb 2005 10:11:17 +0100, Bob Alexander <bob@ngi.it> wrote:
> Now that I have swithced to KDE I cannot find a substitute for the
> "applet" I had in gnome showing the CPU frequency.

Bob,
you may try this perl hack, which shows a little window with frequency
and cstate.
Dowload from <http://article.gmane.org/gmane.linux.acpi.devel/11644>.

I've made a little patch (attached) to see also fan speed (using
ibm-acpi with experimental=1) and battery power drain.

Ciao,
Michele

------=_Part_855_18587699.1107607281531
Content-Type: application/octet-stream; name="cpustat-patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="cpustat-patch"

LS0tIGNwdXN0YXQucGwJMjAwNS0wMi0wNSAxMzoxOTozNS4wMDAwMDAwMDAgKzAxMDAKKysrIDEx
NjQ0LTAwMS5iaW4ucGwJMjAwNS0wMi0wNSAxMzozODowNC4wMDAwMDAwMDAgKzAxMDAKQEAgLTks
NiArOSwxMCBAQAogIwogIyBDb3B5cmlnaHQgMjAwNSBKb2hhbiBWcm9tYW5zLCBTcXVpcnJlbCBD
b25zdWx0YW5jeS4KICMKKyMgQWRkZWQgc29tZSBtb3JlIGluZm9zIGFib3V0IGZhbiBzcGVlZCAo
dXNpbmcgaWJtLWFjcGkgMC4xMCwgd2l0aAorIyBleHBlcmltZW50YWw9MSkgYW5kIGJhdHRlcnkg
ZHJhaW4uCisjIENvcHlyaWdodCAyMDA1IE1pY2hlbGUgTGFtYXJjYSA8bGFtbWljQGdtYWlsLmNv
bT4KKyMKICMgVGhpcyBwcm9ncmFtIGlzIGZyZWUgc29mdHdhcmU7IHlvdSBjYW4gcmVkaXN0cmli
dXRlIGl0IGFuZC9vciBtb2RpZnkKICMgaXQgdW5kZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlU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