Manual fan control on iBook G4?

Nathan Whitehorn nwhitehorn at freebsd.org
Mon Jul 28 17:01:23 UTC 2014


On 07/28/14 09:16, Alexey Dokuchaev wrote:
> 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

To be very explicit on this last point, doing sysctl dev.cpu.0.freq=1066 
(or enabling powerd) will give you your full 1 GHz.
-Nathan


More information about the freebsd-ppc mailing list