iBook Fan and keyboard

Andreas Tobler andreast-list at fgznet.ch
Mon Dec 10 22:10:21 UTC 2012


Hi Thorsten,

On 07.12.12 20:12, thorsten.johannvorderbrueggen at t-online.de wrote:
> On Thu, 06 Dec 2012 23:14:12 +0100
> Andreas Tobler <andreast-list at fgznet.ch> wrote:
> 
>> On 06.12.12 19:59, thorsten.johannvorderbrueggen at t-online.de wrote:
>>> On Thu, 06 Dec 2012 07:12:43 +0100
>>> Andreas Tobler <andreast-list at fgznet.ch> wrote:
>>>
>>>> On 05.12.12 23:36, Justin Hibbits wrote:
>>>>> On Wed, 05 Dec 2012 21:14:17 +0100
>>>>> tjohann <thorsten.johannvorderbrueggen at t-online.de> wrote:
>>>>>
>>>>>> Hi at 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 at 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



More information about the freebsd-ppc mailing list