Re: kapmidled and AMD K6-2

From: Dave Jones (
Date: Sat Oct 13 2001 - 14:53:19 EST

On Fri, 12 Oct 2001, Pavel Machek wrote:

> If I don't want to build powertweak, are you willing to hack something up
> for me? ;-). [My k6-2 is too hot to slow down CPU fan. I tried throttling
> it using ACPI, but no success. I want to cool it down so that fan slows
> and machine becomes quiet.]

Certainly :-) is a quick and dirty hack.

You'll need the msr driver loaded, and the /dev node there.
I've not tested this code as my K6-2 box is currently in bits, but
it should be ok. Bits 2 & 3 in 0xc0000080 do the magic, so theres not
much that could be wrong.. If all else fails, double check the spec.

Let me know if this does anything for you at all
(regarding both temperature, and performance)

Oh, and for everyone else, as the comment in the source says,
don't run this on anything that isn't a K6-2 / K6-3.
I was too lazy to add cpuid checking to this. Maybe I'll do that



| Dave Jones.
| SuSE Labs

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:51 EST