From owner-freebsd-ppc@FreeBSD.ORG Tue Dec 11 16:38:23 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96F7FFBD for ; Tue, 11 Dec 2012 16:38:23 +0000 (UTC) (envelope-from thorsten.johannvorderbrueggen@t-online.de) Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by mx1.freebsd.org (Postfix) with ESMTP id 192E38FC12 for ; Tue, 11 Dec 2012 16:38:22 +0000 (UTC) Received: from fwd15.aul.t-online.de (fwd15.aul.t-online.de ) by mailout03.t-online.de with smtp id 1TiSqV-0001N3-O2; Tue, 11 Dec 2012 17:38:15 +0100 Received: from bartman.my.domain (Gc672ZZZYhNVePPC1v5URTg4JUhBvlE6eji69MRorw+DDm7U7c5jieXjeF2tnNAwSR@[80.139.226.187]) by fwd15.t-online.de with esmtp id 1TiSqF-0xzPWK0; Tue, 11 Dec 2012 17:37:59 +0100 Date: Tue, 11 Dec 2012 17:38:01 +0100 From: "thorsten.johannvorderbrueggen@t-online.de" To: freebsd-ppc@freebsd.org Subject: Re: iBook Fan and keyboard Message-Id: <20121211173801.919253047691f39132dd666e@t-online.de> In-Reply-To: <50C65DC2.3020300@fgznet.ch> 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> <50C65DC2.3020300@fgznet.ch> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.10; x86_64-slackware-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-ID: Gc672ZZZYhNVePPC1v5URTg4JUhBvlE6eji69MRorw+DDm7U7c5jieXjeF2tnNAwSR X-TOI-MSGID: 8cef3e8a-38be-4526-a6a2-8699919a89f4 Cc: f X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2012 16:38:23 -0000 On Mon, 10 Dec 2012 23:10:10 +0100 Andreas Tobler wrote: > Hi Thorsten, >=20 > On 07.12.12 20:12, thorsten.johannvorderbrueggen@t-online.de wrote: > > On Thu, 06 Dec 2012 23:14:12 +0100 > > Andreas Tobler wrote: > >=20 > >> On 06.12.12 19:59, thorsten.johannvorderbrueggen@t-online.de wrote: > >>> On Thu, 06 Dec 2012 07:12:43 +0100 > >>> Andreas Tobler wrote: > >>> > >>>> On 05.12.12 23:36, Justin Hibbits wrote: > >>>>> On Wed, 05 Dec 2012 21:14:17 +0100 > >>>>> tjohann 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=B4m building = some > >>>>>> packages via ports .. also all works fine :-) ... But it went quit > >>>>>> warm ... and i don=B4t 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 ou= tput > >>>>> 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 h= as > >>>> 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 e= nough 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 > >> > >=20 > > Hi Andreas, > >=20 > > i have done some research during work :-) ... There'se a driver for Net= BSD -> 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 b= e?" ... So i will take a look on it ...=20 >=20 >=20 > 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. >=20 > > If you have something to test .. let me know :-)=20 >=20 > Hopefully soon :) >=20 > It'll look like this: >=20 > 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=3D0x15c > dev.adt746x.0.%pnpinfo: name=3Dfan compat=3Dadt7460 > 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 >=20 > 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. >=20 > Andreas >=20 Hi Andreas, if you want, i can test ... at the moment it's not in productive use :-)=20 Cheers Thorsten --=20 thorsten.johannvorderbrueggen@t-online.de