Re: MacBook patches

From: Rui Paulo <rpaulo_at_fnop.net>
Date: Thu, 31 May 2007 17:38:35 +0100
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
Received on Thu May 31 2007 - 14:38:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC