From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 28 15:35:06 2014 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3AEAA40 for ; Mon, 28 Jul 2014 15:35:06 +0000 (UTC) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9F02930 for ; Mon, 28 Jul 2014 15:35:05 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.72) (envelope-from ) id 1XBmws-0005x0-Kk for powerpc@freebsd.org; Mon, 28 Jul 2014 22:34:56 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id s6SFa57P045279 for ; Mon, 28 Jul 2014 22:36:15 +0700 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id s6SFa00Y045274 for powerpc@freebsd.org; Mon, 28 Jul 2014 22:36:00 +0700 (NOVT) (envelope-from danfe) Date: Mon, 28 Jul 2014 22:35:59 +0700 From: Alexey Dokuchaev To: powerpc@freebsd.org Subject: Manual fan control on iBook G4? Message-ID: <20140728153559.GA41604@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Lua-Profiles: 64534 [Jul 28 2014] X-KLMS-AntiSpam-Version: 5.5.3 X-KLMS-AntiSpam-Envelope-From: danfe@regency.nsu.ru X-KLMS-AntiSpam-Rate: 0 X-KLMS-AntiSpam-Status: not_detected X-KLMS-AntiSpam-Method: none X-KLMS-AntiSpam-Moebius-Timestamps: 3038460, 3038498, 0 X-KLMS-AntiSpam-Interceptor-Info: scan successful X-KLMS-AntiPhishing: Clean, 2014/07/28 13:31:38 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.705, not scanned, license restriction 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:35:06 -0000 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