Date: Tue, 31 Jul 2007 16:55:14 +0200 From: Pietro Cerutti <gahr@gahr.ch> To: Hajimu UMEMOTO <ume@freebsd.org> Cc: freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org Subject: Re: [SOLVED] Re: [patch] enhance powerd(8) to handle max temperature Message-ID: <46AF4D52.4020500@gahr.ch> In-Reply-To: <ygek5sg63cx.wl%ume@mahoroba.org> References: <46AA0491.5000203@gahr.ch> <yge7iol6zb8.wl%ume@mahoroba.org> <46ADAF5B.6050602@gahr.ch> <20070730180355.GA7355@rot26.obsecurity.org> <46AE58B5.3080506@gahr.ch> <yge4pjl1i7f.wl%ume@mahoroba.org> <46AECE8C.8000500@gahr.ch> <yge3az513b0.wl%ume@mahoroba.org> <46AEDB0C.6070706@gahr.ch> <46AF1276.8070808@gahr.ch> <ygek5sg63cx.wl%ume@mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hajimu UMEMOTO wrote: > Hi, > >>>>>> On Tue, 31 Jul 2007 12:44:06 +0200 >>>>>> Pietro Cerutti <gahr@gahr.ch> said: > > gahr> Nevermind, I finally got my passive cooling working. > > Congratulation! Thanx ;-) > > gahr> I don't know if the values of _TC1, _TC2 and TSP are meaningful, but it > gahr> seems to work for me, having a _PSV value of 65C. > gahr> Any suggestions on those values are welcome. > > The cpufreq is controlled according to the following formula: > > P [%] = _TC1 * ( Tn - Tn-1 ) + _TC2 * ( Tn - _PSV ) > Pn = Pn-1 + HW[ - P ] where 0% <= Pn <= 100% Been there, done that ;-) I saw this formula on the ACPI specs, but I feel like I don't have the knowledge to tailor _TC1 and _TC2 to my > > And, this evaluation is examined every _TSP / 10 second. > I'm not sure which values are appropriate for your box, but my laptop > has the following values: > > Name (_TC1, Zero) > Name (_TC2, 0x0C) > Name (_TSP, 0x28) > > The values are same as you chose. ;-) I took the first two values I found in an ACPI asl on the net. > Please refer the following document for detail: > > http://www.acpi.info/DOWNLOADS/ACPIspec-2-0c.pdf Maybe during vacation :-) > > Sincerely, Thanks for your help! > > -- > Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan > ume@mahoroba.org ume@{,jp.}FreeBSD.org > http://www.imasy.org/~ume/ -- Pietro Cerutti PGP Public Key: http://gahr.ch/pgp [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGr01WwMJqmJVx944RCuJLAJ9l7Ne8jdc2HpeJVDC2sOk9GlAISwCgp2WF W59zWuVPomltDSfHcH7GvPU= =S5ca -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46AF4D52.4020500>
