On 9/16/06, Mick <[EMAIL PROTECTED]> wrote:
Hi All,

Every time the fan on my laptop starts I get this in the log:

ACPI event unhandled: thermal_zone TZ1 00000081 00000000

The fan works fine with respect to automatically switching on at two different
speeds when the CPU gets hot/hotter and switching down/off when the CPU cools
down enough.

How is the thermal_zone message explained - why is it there?

Thermal zone events are caused when one of the temperature monitors in
the system notices that its temp has crossed some threshold.  In your
case, the reaction to this event is to turn on (or speed up) a fan,
but you also get notified of this through the acpi event reporting
mechanism in acpid.

So this is exactly the same problem/solution as your power button
issue.  In /etc/acpi/default.sh, you have an etry:

    *)      log_unhandled $* ;;

This causes anything that is not "button" or "ac_adapter" to log an
event unhandled message.  So here again, add a case _above_ this for
what you want to happen when thermal_zone events occur.  In this case,
maybe just:

     thermal_zone)
         ;; # don't care..fan seems to work

Of course, you could get fancy.  Looks like the first argument might
be the temperature at which the event occurs, so you could for example
compare that to some value (>100?) and do something like go ahead and
log the event as overtemp.  You could even do an automatic shutdown if
it gets too hot.  But that probably isn't necessary, as thermal
throttling should kick in before any damage can occur to the CPU.

-Richard
--
gentoo-user@gentoo.org mailing list

Reply via email to