Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2008 20:46:31 +0100
From:      Johannes Dieterich <dieterich.joh@googlemail.com>
To:        Hajimu UMEMOTO <ume@freebsd.org>, freebsd-acpi@freebsd.org
Subject:   Re: [RFC] Patch to enable temperature ceiling in powerd
Message-ID:  <47BC8397.4040207@gmail.com>
In-Reply-To: <ygeejb8bxvz.wl%ume@mahoroba.org>
References:  <20080208045605.15C874500E@ptavv.es.net>	<47ABF402.7030904@root.org>	<1202475519.7014.7.camel@RabbitsDen>	<yge1w7komar.wl%ume@mahoroba.org>	<1203126071.833.19.camel@RabbitsDen>	<47B6B913.9020505@gmail.com>	<ygemyq1jge2.wl%ume@mahoroba.org>	<47B6CC48.5070009@gmail.com>	<47B6CD54.3020806@gmail.com>	<ygeir0okikz.wl%ume@mahoroba.org>	<47B71194.8090804@gmail.com>	<ygefxvskfcp.wl%ume@mahoroba.org>	<47B71804.40002@gmail.com>	<ygeejbckdk4.wl%ume@mahoroba.org>	<47B8114D.1000707@gmail.com>	<ygemypzfrnq.wl%ume@mahoroba.org>	<47BA120A.1040005@gmail.com>	<47BA1288.2070802@gmail.com> <ygeejb8bxvz.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Hajimu UMEMOTO wrote:
> Hi,
> 
>>>>>> On Tue, 19 Feb 2008 00:19:36 +0100
>>>>>> Johannes Dieterich <dieterich.joh@googlemail.com> said:
> 
> dieterich.joh> # sysctl hw.acpi.thermal.tz1
> dieterich.joh> hw.acpi.thermal.tz1.temperature: 66.0C
> dieterich.joh> hw.acpi.thermal.tz1.active: -1
> dieterich.joh> hw.acpi.thermal.tz1.passive_cooling: 0
> dieterich.joh> hw.acpi.thermal.tz1.thermal_flags: 0
> dieterich.joh> hw.acpi.thermal.tz1._PSV: 92.5C
> dieterich.joh> hw.acpi.thermal.tz1._HOT: -1
> dieterich.joh> hw.acpi.thermal.tz1._CRT: 97.0C
> dieterich.joh> hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
> dieterich.joh> hw.acpi.thermal.tz1._TC1: 5
> dieterich.joh> hw.acpi.thermal.tz1._TC2: 4
> dieterich.joh> hw.acpi.thermal.tz1._TSP: 600
> 
> dieterich.joh> is the wanted output without Sunny's patch compiled in.
> 
> Thank you.  It seems good to me.  I've tried following setting on my
> laptop, and it's working well:
> 
> 	sysctl hw.acpi.verbose=1
> 	sysctl hw.acpi.thermal.user_override=1
> 	sysctl hw.acpi.thermal.tz0._TC1=5
> 	sysctl hw.acpi.thermal.tz0._TC2=4
> 	sysctl hw.acpi.thermal.tz0._TSP=600
> 
and now I start to wonder: that is what happens:

# sysctl hw.acpi.verbose=1
hw.acpi.verbose: 0 -> 1
# sysctl hw.acpi.thermal.user_override=1
hw.acpi.thermal.user_override: 0 -> 1
# sysctl hw.acpi.thermal.tz0._TC1=5
hw.acpi.thermal.tz0._TC1: -1 -> 5
# sysctl hw.acpi.thermal.tz0._TC2=4
hw.acpi.thermal.tz0._TC2: -1 -> 4
# sysctl hw.acpi.thermal.tz0._TSP=600
hw.acpi.thermal.tz0._TSP: -1 -> 600

Shouldn't that be somewhat different? And I didn't change anything in
between but rebooting the machine.

> The following was logged into /var/log/messages:
> 
> Feb 19 11:08:26 kasuga kernel: acpi_tz0: temperature 85.8C: decreasing clock speed from 1200 MHz to 1000 MHz
> Feb 19 11:09:26 kasuga kernel: acpi_tz0: temperature 82.8C: resuming previous clock speed (1200 MHz)
> Feb 19 11:10:26 kasuga kernel: acpi_tz0: temperature 86.8C: decreasing clock speed from 1200 MHz to 900 MHz
> Feb 19 11:11:26 kasuga kernel: acpi_tz0: temperature 79.8C: resuming previous clock speed (1200 MHz)
> 
still nothing. Completely nothing.

> So, I think the value of _TC1, _TC2 and _TSP is valid.
> 
> Still, I'm not sure why the above message is not logged on your
> laptop.  But, it would be worth to try increasing _TC2 and/or
> decreasing _TSP.
That might be my next test then. Just wanted to let you know about the
IMHO strange output above.

Regards,

Johannes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47BC8397.4040207>