Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2012 00:29:15 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-questions@freebsd.org, Chris Whitehouse <cwhiteh@onetel.com>
Subject:   Re: ACPI temprature settings [WAS: Re: laptop very hot and noisy]
Message-ID:  <20120509231835.W94518@sola.nimnet.asn.au>
In-Reply-To: <20120509115639.BED74106577B@hub.freebsd.org>
References:  <20120509115639.BED74106577B@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1025041368-1336573080=:94518
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1
Content-Transfer-Encoding: 8BIT
Content-ID: <20120510001818.C94518@sola.nimnet.asn.au>

In freebsd-questions Digest, Vol 414, Issue 3, Message: 2
On Tue, 8 May 2012 15:06:04 +0100 Anton Shterenlikht <mexas@bristol.ac.uk> wrote:
 > On Tue, May 01, 2012 at 07:59:58PM +0100, Chris Whitehouse wrote:
 > > On 01/05/2012 13:41, Anton Shterenlikht wrote:
 > > >So I might need to pull the laptop apart..
 > > >I'm just not sure I could put it back
 > > >together...
 > > >
 > > >Thanks anyway
 > > 
 > > service manual (c02834030.pdf):
 > > http://h20000.www2.hp.com/bizsupport/TechSupport/CoreRedirect.jsp?redirectReason=DocIndexPDF&prodSeriesId=3368539&targetPage=http%3A%2F%2Fbizsupport1.austin.hp.com%2Fbc%2Fdocs%2Fsupport%2FSupportManual%2Fc02834030%2Fc02834030.pdf
 > > 
 > > short url:
 > > http://bit.ly/Ivgs5C
 > > 
 > > HP are pretty good about service manuals.
 > 
 > yes, this is partly why I bought an HP laptop.
 > I had previous experience with other HP/Compaq/Digital
 > hardware and manuals - they are generally very good.
 > 
 > Anyway, this was easier than I expected.
 > I removed a lot of dust from the fan
 > and the heat sink gills. I also replaced
 > the "thermal material".
 > 
 > I rebuilt gcc47 and saw the highest temperature of 75.
 > This is on the southern side, so not too bad. The
 > noise reduced too.

Happiness is a warm CPU .. so much easier the next time it needs doing.

 > Now, I'd just like to understand better the
 > meaning of these console messages:
 > 
 > May  8 15:00:08 mech-aslap239 kernel: acpi_tz0: _AC3: temperature 64.0 >= setpoint 40.0
 > May  8 15:00:08 mech-aslap239 kernel: acpi_tz0: _AC2: temperature 64.0 >= setpoint 50.0
 > May  8 15:00:18 mech-aslap239 kernel: acpi_tz0: _AC3: temperature 64.0 >= setpoint 40.0
 > May  8 15:00:18 mech-aslap239 kernel: acpi_tz0: _AC2: temperature 64.0 >= setpoint 50.0
 > May  8 15:00:28 mech-aslap239 kernel: acpi_tz0: _AC3: temperature 64.0 >= setpoint 40.0
 > May  8 15:00:28 mech-aslap239 kernel: acpi_tz0: _AC2: temperature 64.0 >= setpoint 50.0
 > May  8 15:00:38 mech-aslap239 kernel: acpi_tz0: _AC3: temperature 64.0 >= setpoint 40.0
 > May  8 15:00:38 mech-aslap239 kernel: acpi_tz0: _AC2: temperature 64.0 >= setpoint 50.0
 > May  8 15:00:48 mech-aslap239 kernel: acpi_tz0: _AC3: temperature 65.0 >= setpoint 40.0
 > May  8 15:00:48 mech-aslap239 kernel: acpi_tz0: _AC2: temperature 65.0 >= setpoint 50.0
 > 
 > Where are setpoints defined?
 > What's acpi_tz?
 > What are AC1, AC2, AC3?
 > Which kernel tunables are involved in the
 > switching from one fan speed to another
 > (assuming AC1, AC2, AC3 are related to fan
 > speed in some way)?

To add to What Chris said, perhaps more directly see acpi_thermal(4)

Please show us `sysctl hw.acpi`?  Particularly `sysctl hw.acpi.thermal` 
shows your machine's thermal zone(s) settings.  These messages are re 
your zone tz1, which sure looks like an active mode multi-setpoint fan.

This logging does appear strange; it suggests that the temperature is 
always reading as 64 or 65C - which sounds reasonable given it peaks at 
75C - but since that's greater than either of the 40C and 50C setpoints, 
I don't see why it should (appear to) change between _AC2 and _AC3 every 
10 seconds, most likely the value of hw.acpi.thermal.polling_rate

Do you hear a fan changing speed at that frequency?  Does that echo what
hw.acpi.thermal.tz0.temperature reports from time to time?

Do you have any extra ACPI debugging enabled?  Or did you last boot with 
verbose messages?  If so, maybe it's just reporting fan change activity?

Unless someone here has an explanation, I suspect this would be of 
interest on the freebsd-acpi@ list, where core acpi folks hang out.

 > I had a quick look at ⌡aacpi(4),
 > but none of the above are mentioned.

Searching acpi(4) for thermal|THERMAL gets you there, but yes, you first 
needed to know that 'tz' means 'thermal zone'.  ACPI be deep and wide ..

cheers, Ian
--0-1025041368-1336573080=:94518--



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