Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2014 23:16:22 +0700
From:      Alexey Dokuchaev <danfe@nsu.ru>
To:        Justin Hibbits <chmeeedalf@gmail.com>
Cc:        powerpc@freebsd.org
Subject:   Re: Manual fan control on iBook G4?
Message-ID:  <20140728161622.GA51464@regency.nsu.ru>
In-Reply-To: <20140728090245.13062177@zhabar.att.net>
References:  <20140728153559.GA41604@regency.nsu.ru> <20140728090245.13062177@zhabar.att.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 28, 2014 at 09:02:45AM -0700, Justin Hibbits wrote:
> If you do 'ofwdump -ap', it'll list everything from Open Firmware,
> including the fan data (likely i2c-based, look for adm* or adt*).

Right, thanks for the hint!  Some interesting data:

1) It is indeed PowerBook6,5 model
2) Fan data (it was adt*):

  Node 0xff963c08: fan
    name:
      66 61 6e 00
      'fan'
    device_type:
      61 64 74 37 34 36 37 00
      'adt7467'
    compatible:
      61 64 74 37 34 36 37 00
      'adt7467'
  ...
    Node 0xff964910: fan1
      name:
        66 61 6e 31 00
        'fan1'
      reg:
        00 00 00 28
      sensor-id:
        00 00 00 20
      version:
        00 00 00 02
      ...

> It's possible the CPU is starting in the reduced clock speed, so you
> can check `dev.cpu' syctl to see what levels are supported.

Again, seems you're correct:

  dev.cpu.0.%desc: Open Firmware CPU
  dev.cpu.0.%driver: cpu
  dev.cpu.0.%pnpinfo: name=PowerPC,G4
  dev.cpu.0.%parent: cpulist0
  dev.cpu.0.freq: 533
  dev.cpu.0.freq_levels: 1066/-1 533/-1

./danfe



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