Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ACPI event - thermal_zone TZ1
Date: Sun, 17 Sep 2006 08:34:34
Message-Id: 200609170932.33053.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] ACPI event - thermal_zone TZ1 by Richard Fish
1 On Saturday 16 September 2006 18:56, Richard Fish wrote:
2
3 > So this is exactly the same problem/solution as your power button
4 > issue. In /etc/acpi/default.sh, you have an etry:
5 >
6 > *) log_unhandled $* ;;
7 >
8 > This causes anything that is not "button" or "ac_adapter" to log an
9 > event unhandled message. So here again, add a case _above_ this for
10 > what you want to happen when thermal_zone events occur. In this case,
11 > maybe just:
12 >
13 > thermal_zone)
14 > ;; # don't care..fan seems to work
15 >
16 > Of course, you could get fancy. Looks like the first argument might
17 > be the temperature at which the event occurs, so you could for example
18 > compare that to some value (>100?) and do something like go ahead and
19 > log the event as overtemp.
20
21 Thanks Richard! What is the syntax for e.g. comparing TZ1, and TZ2 and
22 generating a log entry (other than ACPI event unhandled:... )
23 --
24 Regards,
25 Mick