linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Colin Leroy" <colin@colino.net>
To: <linuxppc-dev@lists.linuxppc.org>
Subject: Re: temp.c and cputable.c issues
Date: Thu, 15 Jan 2004 10:38:13 +0100	[thread overview]
Message-ID: <12d801c3db4b$4b7ab930$3cc8a8c0@ANOSP> (raw)


> i've an ibook G4/12". it's branded as PowerMac6,3. It should be
> the lastest model available from apple.
>
> > You may have an external chipset used to check temperatures and
control
> > the fan.
>
> sure. there's an external chipset for temperature and fan control.
> Under Macos X, i've set and get values from it several times...but
> what about linux ?


Well, under 2.6 kernel, you can use the therm_adt7467 module
(CONFIG_THERM_IBOOKG4 configuration option, under Drivers/Macintosh).
It'll create some entries in /sys:
/sys/devices/temperatures/cpu_temperature
/sys/devices/temperatures/gpu_temperature
/sys/devices/temperatures/fan_speed
These display the informations you want.

/sys/devices/temperatures/cpu_limit
/sys/devices/temperatures/gpu_limit
These display the maximum temperatures before fan starts.

--
Colin
Ne disez pas disez, mais disez dites

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2004-01-15  9:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-15  9:38 Colin Leroy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-01-14 19:39 temp.c and cputable.c issues valvoline
2004-01-14 22:10 ` Tom Rini
2004-01-14 20:11   ` valvoline
2004-01-14 22:38     ` Tom Rini
2004-01-15  8:19     ` Colin Leroy
2004-01-15  7:03       ` valvoline
2004-01-15  7:16       ` valvoline
2004-01-15  9:32         ` Colin Leroy
2004-01-16  7:02           ` valvoline
2004-01-16 10:21             ` Colin Leroy
2004-01-16 11:10               ` Geert Uytterhoeven
2004-01-16 11:26                 ` Colin Leroy
2004-01-15  7:20       ` valvoline

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='12d801c3db4b$4b7ab930$3cc8a8c0@ANOSP' \
    --to=colin@colino.net \
    --cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).