From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 28 15:51:29 2014 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE3A315E for ; Mon, 28 Jul 2014 15:51:29 +0000 (UTC) Received: from mail-oa0-x230.google.com (mail-oa0-x230.google.com [IPv6:2607:f8b0:4003:c02::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98F772B21 for ; Mon, 28 Jul 2014 15:51:29 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id m1so8807783oag.7 for ; Mon, 28 Jul 2014 08:51:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fD+cDegeTCgjDq64IOb8vtaCbOWbPjiJBKTStJtexFo=; b=CgfE9yVdnHATiJ+bObS0XwjBJbFTQRizRp0TZogiGRkx6S1CiDf69ubeqDqP8op5wH cSySIeJvwtJKwbNJuVe9JQ0TY510RZiePJPaBppUveDHFRDebFGngsvWopjCkgke9UX0 kA+BtUdtfxm+aeZtkEx2Zo/HRQcza9bBQLhgqlABmtf/ly7yY0ogkqDxfkoUEL2HhGJ4 6O2AMkVRM6l8XIim5Efdshvv/YQCgivDd1OxiDm55/MUtLyWXZjAeRc34fIFVtkjFGFJ OmnwMpXg/KMLh9km2nZKDlsFvMIf13EJMUgyeXwkTev+gUU4IF0RXpf/amLnai4vSxqS RKtA== MIME-Version: 1.0 X-Received: by 10.182.113.199 with SMTP id ja7mr37439925obb.74.1406562688605; Mon, 28 Jul 2014 08:51:28 -0700 (PDT) Received: by 10.76.126.210 with HTTP; Mon, 28 Jul 2014 08:51:28 -0700 (PDT) In-Reply-To: <20140728153559.GA41604@regency.nsu.ru> References: <20140728153559.GA41604@regency.nsu.ru> Date: Mon, 28 Jul 2014 11:51:28 -0400 Message-ID: Subject: Re: Manual fan control on iBook G4? From: Britt Dodd To: Alexey Dokuchaev Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: powerpc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2014 15:51:29 -0000 On Linux, there's a module called pmu_battery that you have to load in order to get things working like the battery life (and percentage), fan control, etc. I presume that it would be similar in BSD. On Mon, Jul 28, 2014 at 11:35 AM, Alexey Dokuchaev wrote: > Hi there, > > I've digged out that old pity iBook G4 of mine (should be something like > PowerBook6,5 I guess) that had been hanging under Tiger within few minutes > after boot and installed FreeBSD on it. Surprisingly, it works fine under > it. :) > > I'm suspecting either a faulty harddrive, or non-working fan. So far no > matter what heavy port I build, fan does not kick it. Does FreeBSD support > fan control on this baby? How can I manually engage it to see if it works? > (I've tested that power line has +5V, but don't know how can I PWM control > it from command line. Is it PWM, in fact? -- just guessing since there are > four wires coming into it.) > > Another weird thing: CPU frequency per dmesg(8) is strangely low: > > $ grep cpu0 /var/run/dmesg.boot > cpu0: Motorola PowerPC 7447A revision 1.1, 535.22 MHz > cpu0: Features 9c000000 > > while per various websites, 7447A CPU on it should clock at at least 1GHz. > > Any clues? How can I read Mac model from NVRAM (akin to what Mac OS X > provides via `hw.model' sysctl, or something like that)? Thanks. > > ./danfe > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" >