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 :-)
http://www.codemonkey.org.uk/cruft/ewbe.c 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
later..
regards,
Dave.
-- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:51 EST