From owner-freebsd-current@FreeBSD.ORG Thu May 31 19:01:01 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 5CDA016A41F; Thu, 31 May 2007 19:01:01 +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 E3F6E13C480; Thu, 31 May 2007 19:01:00 +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 A549E690A6F; Thu, 31 May 2007 19:59:10 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 71D8B690AA2; Thu, 31 May 2007 19:59:10 +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=-0.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,RCVD_IN_SORBS_DUL autolearn=no version=3.1.7 Received: from epsilon.local.fnop.net (87-196-53-125.net.novis.pt [87.196.53.125]) by core.fnop.net (Postfix) with ESMTP id C5463690A6F; Thu, 31 May 2007 19:59:09 +0100 (WEST) Date: Thu, 31 May 2007 20:00:58 +0100 Message-ID: <86k5uo3jit.wl%rpaulo@fnop.net> From: Rui Paulo To: Joe Marcus Clarke In-Reply-To: <465EFCDF.5010903@FreeBSD.org> References: <86k5vffjz8.wl%rpaulo@fnop.net> <86ejkx56y6.wl%rpaulo@fnop.net> <465EF64B.9000505@FreeBSD.org> <86fy5drlro.wl%rpaulo@fnop.net> <465EFCDF.5010903@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 19:01:01 -0000 At Thu, 31 May 2007 12:50:39 -0400, Joe Marcus Clarke wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Rui Paulo wrote: > > 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? > > No, I don't have it loaded (I thought it was now included in cpufreq). > These started being incorrect about six months ago. Prior to that they > topped out at 2 GHz like they should. Oops, sorry. Yes, est is included in cpufreq. Can you send your ACPI tables? `acpidump -dt` Regards. -- Rui Paulo