Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 23:10:10 +0100
From:      Andreas Tobler <andreast-list@fgznet.ch>
To:        "thorsten.johannvorderbrueggen@t-online.de" <thorsten.johannvorderbrueggen@t-online.de>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: iBook Fan and keyboard
Message-ID:  <50C65DC2.3020300@fgznet.ch>
In-Reply-To: <20121207201257.ed7025b3a3d20e390234fe91@t-online.de>
References:  <50BFAB19.6030905@t-online.de> <20121205173659.6518fe65@narn.knownspace> <50C0375B.7020807@fgznet.ch> <20121206195948.a3415387104c3be334a0c8fe@t-online.de> <50C118B4.6010705@fgznet.ch> <20121207201257.ed7025b3a3d20e390234fe91@t-online.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Thorsten,

On 07.12.12 20:12, thorsten.johannvorderbrueggen@t-online.de wrote:
> On Thu, 06 Dec 2012 23:14:12 +0100
> Andreas Tobler <andreast-list@fgznet.ch> wrote:
> 
>> On 06.12.12 19:59, thorsten.johannvorderbrueggen@t-online.de wrote:
>>> On Thu, 06 Dec 2012 07:12:43 +0100
>>> Andreas Tobler <andreast-list@fgznet.ch> wrote:
>>>
>>>> On 05.12.12 23:36, Justin Hibbits wrote:
>>>>> On Wed, 05 Dec 2012 21:14:17 +0100
>>>>> tjohann <thorsten.johannvorderbrueggen@t-online.de> wrote:
>>>>>
>>>>>> Hi@all,
>>>>>>
>>>>>> i have an iBook G4 (late 2005) at home and installed FreeBSD 9.0
>>>>>> Release on it ... installation worked fine ... now iīm building some
>>>>>> packages via ports .. also all works fine :-) ... But it went quit
>>>>>> warm ... and i donīt hear the fan ... now i get a little bit
>>>>>> nervous ... for linux i know i have to load therm_adt746x ... is
>>>>>> there something similiar to freebsd? ...
>>>>>>
>>>>>> Thx for all comments and tips
>>>>>> Thorsten
>>>>>>
>>>>>
>>>>> There may not be a driver for this chip yet.  Can you attach the output
>>>>> of 'ofwdump -ap' and 'devinfo -rv' (they both provide similar info,
>>>>> but in different formats)? It shouldn't be too difficult to write a
>>>>> driver.
>>>>
>>>> The driver is missing ;)
>>>> I have something laying around for my alu book which most probably has
>>>> the same controller.
>>>>
>>>> I'll see if I can cook something over the next days.
>>>>
>>>> Andreas
>>>>
>>>>
>>>
>>> Hi Andreas,
>>>
>>> would be great ... thx .. i will go on to my mac mini ... should be enough fun for the weekend :-)
>>
>> But I'd need a guinea pig :), my adt is a 7460 while you have a 7467.
>> Once I have something running I'd appreciate if you could test it.
>>
>> Andreas
>>
> 
> Hi Andreas,
> 
> i have done some research during work :-) ... There'se a driver for NetBSD -> http://www.manualpages.de/NetBSD/NetBSD-5.1/man4/adt7467.4.html ... I've nerver done kernel development for FreeBSD .. but "how hart could it be?" ... So i will take a look on it ... 


I think this a future way to go. For now I have something simpler which
only addresses the adt7460 and the adt7467. And it is tailored for
Powerbook/iBook only.

> If you have something to test .. let me know :-) 

Hopefully soon :)

It'll look like this:

root@wolfram:/root # sysctl dev.adt746x.0.
dev.adt746x.0.%desc: Apple Thermostat Unit ADT746X
dev.adt746x.0.%driver: adt746x
dev.adt746x.0.%location: addr=0x15c
dev.adt746x.0.%pnpinfo: name=fan compat=adt7460
dev.adt746x.0.%parent: iicbus0
dev.adt746x.0.fans.rear_left_exhaust.pwm: 48
dev.adt746x.0.fans.rear_right_exhaust.pwm: 48
dev.adt746x.0.sensors.cpu/intrepid_bottomside.temp: 64.0C
dev.adt746x.0.sensors.cpu_bottomside.temp: 63.0C
dev.adt746x.0.sensors.pwr_supply_bottomside.temp: 57.0C
dev.adt746x.0.sensors.cpu_core.volt: 194
dev.adt746x.0.sensors.rear_left_exhaust.rpm: 2160
dev.adt746x.0.sensors.rear_right_exhaust.rpm: 2309

Unfortunately I have some stability issues. My PB freezes or switches
off under load. I need to debug a bit more. Might be my driver or the
Powerbook itself which has its age.

Andreas




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