public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ACPI event - thermal_zone TZ1
Date: Sun, 17 Sep 2006 09:32:19 +0100	[thread overview]
Message-ID: <200609170932.33053.michaelkintzios@gmail.com> (raw)
In-Reply-To: <7573e9640609161056l6f6b229clfbea9e92ad2e225a@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 943 bytes --]

On Saturday 16 September 2006 18:56, Richard Fish wrote:

> 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.

Thanks Richard!  What is the syntax for e.g. comparing TZ1, and TZ2 and 
generating a log entry (other than ACPI event unhandled:... )
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2006-09-17  8:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-16 10:36 [gentoo-user] ACPI event - thermal_zone TZ1 Mick
2006-09-16 17:56 ` Richard Fish
2006-09-17  8:32   ` Mick [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200609170932.33053.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox