From owner-freebsd-current@FreeBSD.ORG Thu May 31 16:50:04 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 187EB16A421 for ; Thu, 31 May 2007 16:50:04 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id BE5E013C455 for ; Thu, 31 May 2007 16:50:03 +0000 (UTC) (envelope-from marcus@FreeBSD.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost [127.0.0.1]) by av-tac-rtp.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id l4VGo3321111; Thu, 31 May 2007 12:50:03 -0400 (EDT) Received: from [64.102.193.121] (dhcp-64-102-193-121.cisco.com [64.102.193.121]) by rooster.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id l4VGnwq19224; Thu, 31 May 2007 12:50:02 -0400 (EDT) Message-ID: <465EFCDF.5010903@FreeBSD.org> Date: Thu, 31 May 2007 12:50:39 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Rui Paulo References: <86k5vffjz8.wl%rpaulo@fnop.net> <86ejkx56y6.wl%rpaulo@fnop.net> <465EF64B.9000505@FreeBSD.org> <86fy5drlro.wl%rpaulo@fnop.net> In-Reply-To: <86fy5drlro.wl%rpaulo@fnop.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: 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:50:04 -0000 -----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. > >> 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 :-) Sure. Joe - -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGXvzfb2iPiv4Uz4cRAktxAJ967DcX/li/r20rUhZZYmNElMRZFgCfa0Q8 ZIGQ+j65cQOYwOC2p2zGNC0= =MHoK -----END PGP SIGNATURE-----