From owner-freebsd-current@FreeBSD.ORG Thu May 31 16:38:46 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CBA3516A46C; Thu, 31 May 2007 16:38:46 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id 5DBD813C44C; Thu, 31 May 2007 16:38:46 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id 8E572690A6F; Thu, 31 May 2007 17:36:56 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 4FA09690A91; Thu, 31 May 2007 17:36:56 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.7 Received: from epsilon.local.fnop.net (unknown [193.136.24.181]) by core.fnop.net (Postfix) with ESMTP id 81F72690A6F; Thu, 31 May 2007 17:36:55 +0100 (WEST) Date: Thu, 31 May 2007 17:38:35 +0100 Message-ID: <86fy5drlro.wl%rpaulo@fnop.net> From: Rui Paulo To: Joe Marcus Clarke In-Reply-To: <465EF64B.9000505@FreeBSD.org> References: <86k5vffjz8.wl%rpaulo@fnop.net> <86ejkx56y6.wl%rpaulo@fnop.net> <465EF64B.9000505@FreeBSD.org> User-Agent: Wanderlust/2.15.5 (Almost Unreal) Emacs/21.3 Mule/5.0 (SAKAKI) X-cite-me: rpaulo MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: ClamAV using ClamSMTP Cc: Rui Paulo , current@FreeBSD.org Subject: Re: MacBook patches X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 16:38:46 -0000 At Thu, 31 May 2007 12:22:35 -0400, Joe Marcus Clarke wrote: > FYI, after applying all of your patches just before this set on my > MacBook Pro Core Duo 2.0 GHz: > > hw.asmc.fan.0.speed: 1140 > hw.asmc.fan.0.safespeed: 1200 > hw.asmc.fan.0.minspeed: 1000 > hw.asmc.fan.0.maxspeed: 6000 > hw.asmc.fan.0.targetspeed: 1138 > hw.asmc.fan.1.speed: 1137 > hw.asmc.fan.1.safespeed: 1200 > hw.asmc.fan.1.minspeed: 1000 > hw.asmc.fan.1.maxspeed: 6000 > hw.asmc.fan.1.targetspeed: 1138 > hw.asmc.temp.enclosure: 62 > hw.asmc.temp.northbridge1: 66 > hw.asmc.temp.northbridge2: 54 > hw.asmc.temp.heatsink1: 38 > hw.asmc.temp.heatsink2: 111 > hw.asmc.temp.memory: 33 > hw.asmc.sms.x: -6 > hw.asmc.sms.y: 15 > hw.asmc.sms.z: 275 > > (Note: x, y, and z coordinates do change with movement.) The temperatures are wrong. The patch I just sent should fix it. I have a lame port of a GL application that shows your laptop in 3D. If you want to try it, fetch it here: http://fnop.net/~rpaulo/priv/hdaps-gl.c Compile with: gcc -o hdaps-gl -O2 -L/usr/local/lib -I/usr/local/include -lglut -lGL \ -lGLU -lm hdaps-gl.c If you are using Xorg 6.2 replace /usr/local with /usr/X11R6. > dev.cpu.0.freq: 1131 > dev.cpu.0.freq_levels: 3018/-1 2640/-1 2263/-1 1886/-1 1509/-1 1131/-1 > 754/-1 377/-1 > dev.acpi_throttle.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 > 5000/-1 3750/-1 2500/-1 1250/-1 Hmm. These values are wrong :( Do you have est loaded? What does "sysctl dev.est" output? > These frequencies were the same as before without the MacBook patch set. > > dev.cpu.0.temperature: 63 > dev.cpu.1.temperature: 63 These are high because frequency scalling is not working well. > So it looks like everything is working great so far (except backlight > which won't work on the Pro without ATI support). I can try to make this work for you if you are willing to test :-) -- Rui Paulo