Jump to content

[W520] ACPIMonitor.kext and DSDT with OSX Lion


gothic860
 Share

3 posts in this topic

Recommended Posts

Hello everyone,

 

i get my ThinkPad W520 to work after a lot of hours and everything just works fine, but my CPU is getting a little bit too hot (98° when i play Games).

 

If you need help with your W520 check my post on thinkpad-forum.de: http://thinkpad-foru...f-ThinkPad-W520 (german, i know, but maybe google-translator is making a good job here?) I think my english is too bad to translate the whole guide into english :wallbash: .

 

Im no DSDT-expert, and i found some sites with the DSDT-edit for ACPI-Monitor on ThinkPads:

 

http://forum.thinkpads.com/viewtopic.php?f=32&t=91141 (for 10.6 SL i think)

http://www.projectos...192 (the 8-bit DSDT-edit for OSX Lion)

 

Maybe i made something wrong, or maybe its just impossible but i hope the real DSDT-experts here can help me. I just want to see the FAN-rpm and the ability to control them with Tools or with DSDT.

 

The other problem i have is that ACPIMonitor.kext isn't loading or i don't see it in kextstat:

 

Index Refs Address			Size	   Wired	  Name (Version) <Linked Against>
1   73 0xffffff81a18f5000 0x683c	 0x683c	 com.apple.kpi.bsd (11.2.0)
2	6 0xffffff802341cc00 0x3d0	  0x3d0	  com.apple.kpi.dsep (11.2.0)
3  109 0xffffff81a1911000 0x1b9d8	0x1b9d8	com.apple.kpi.iokit (11.2.0)
4  114 0xffffff81a192d000 0x9b54	 0x9b54	 com.apple.kpi.libkern (11.2.0)
5  101 0xffffff80231b7000 0x88c	  0x88c	  com.apple.kpi.mach (11.2.0)
6   32 0xffffff81a18fc000 0x4938	 0x4938	 com.apple.kpi.private (11.2.0)
7   64 0xffffff81a1937000 0x22a0	 0x22a0	 com.apple.kpi.unsupported (11.2.0)
8   18 0xffffff7f8072e000 0x7000	 0x7000	 com.apple.iokit.IOACPIFamily (1.4) <7 6 4 3>
9   31 0xffffff7f80735000 0x1e000	0x1e000	com.apple.iokit.IOPCIFamily (2.6.7) <7 6 5 4 3>
  10	2 0xffffff7f80753000 0x55000	0x55000	com.apple.driver.AppleACPIPlatform (1.3.5) <9 8 7 6 5 4 3>
  11	0 0xffffff7f807a8000 0x2000	 0x2000	 es.osx86.driver.EvOreboot (1.0.3) <4 3>
  12	0 0xffffff7f807ac000 0x2a000	0x2a000	com.apple.driver.AppleIntelCPUPowerManagement (167.0.0) <7 6 5 4 3 1>
  13	1 0xffffff7f807d7000 0xc000	 0xc000	 com.apple.driver.AppleKeyStore (28.18) <7 6 5 4 3 1>
  14	7 0xffffff7f807e3000 0x7000	 0x7000	 org.netkas.FakeSMC (3.1.0) <8 7 5 4 3>
  15	0 0xffffff7f807ea000 0x4000	 0x4000	 org.mozodojo.IntelCPUMonitor (1.0) <14 7 5 4 3>
  16	8 0xffffff7f807ef000 0x25000	0x25000	com.apple.iokit.IOStorageFamily (1.7) <7 6 5 4 3 1>
  17	0 0xffffff7f80814000 0x19000	0x19000	com.apple.driver.DiskImages (331) <16 7 6 5 4 3 1>
  18	0 0xffffff7f8082d000 0x13000	0x13000	org.usrsse2.NVClockX (1.0.1d1) <14 9 7 5 4 3>
  19	4 0xffffff7f80843000 0x4000	 0x4000	 org.mozodojo.SuperIOFamily (1.0.0d1) <14 7 5 4 3>
  20	0 0xffffff7f80847000 0x2000	 0x2000	 org.mozodojo.F718x (1) <19 14 7 5 4 3>
  21	0 0xffffff7f8084a000 0x3000	 0x3000	 org.mozodojo.IT87x (1.0.0d1) <19 14 7 5 4 3>
  22	0 0xffffff7f8084e000 0x2000	 0x2000	 org.slice.PC8739x (1) <19 14 7 5 4 3>
  23	0 0xffffff7f80851000 0x3000	 0x3000	 org.mozodojo.W836x (1.0.0d1) <19 14 7 5 4 3>
  24	0 0xffffff7f80855000 0x8000	 0x8000	 com.apple.nke.applicationfirewall (3.2.30) <7 6 5 4 3 1>
  25	2 0xffffff7f8085f000 0x4000	 0x4000	 com.apple.kext.AppleMatch (1.0.0d1) <4 1>
  26	1 0xffffff7f80863000 0x11000	0x11000	com.apple.security.sandbox (165.3) <25 7 6 5 4 3 2 1>
  27	0 0xffffff7f80874000 0x5000	 0x5000	 com.apple.security.quarantine (1) <26 25 7 6 5 4 2 1>
  28	0 0xffffff7f8087a000 0x3000	 0x3000	 com.apple.security.TMSafetyNet (7) <7 6 5 4 2 1>
  29	0 0xffffff7f8087d000 0x3000	 0x3000	 com.apple.driver.AppleIntelCPUPowerManagementClient (167.0.0) <7 6 5 4 3 1>
  30	0 0xffffff7f80881000 0x3000	 0x3000	 com.apple.driver.AppleAPIC (1.5) <4 3>
  31	1 0xffffff7f80885000 0x4000	 0x4000	 com.apple.iokit.IOSMBusFamily (1.1) <5 4 3>
  32	0 0xffffff7f80889000 0x6000	 0x6000	 com.apple.driver.AppleACPIEC (1.3.5) <31 10 8 5 4 3>
  33	0 0xffffff7f80891000 0x4000	 0x4000	 com.apple.driver.AppleSMBIOS (1.7) <7 4 3>
  34	6 0xffffff7f80896000 0x6b000	0x6b000	com.apple.iokit.IOHIDFamily (1.7.1) <13 7 6 5 4 3 2 1>
  35	0 0xffffff7f80901000 0x4000	 0x4000	 com.apple.driver.AppleACPIButtons (1.3.5) <34 10 8 7 6 5 4 3 1>
  36	0 0xffffff7f80907000 0x3000	 0x3000	 com.apple.driver.AppleHPET (1.6) <8 7 5 4 3>
  37	0 0xffffff7f8090b000 0x7000	 0x7000	 com.apple.driver.AppleRTC (1.4) <8 5 4 3 1>
  38	0 0xffffff7f80914000 0x3000	 0x3000	 com.yourcompany.driver.AppleACPIPS2Nub (1.0.0d1) <8 7 5 4 3 1>
  39	0 0xffffff7f80919000 0x5000	 0x5000	 com.apple.driver.AppleACPIBatteryManager (1) <8 5 4 3 1>
  40	1 0xffffff7f80923000 0x4000	 0x4000	 com.apple.driver.AppleEFIRuntime (1.5.0) <7 6 5 4 3>
  41	7 0xffffff7f80927000 0x29000	0x29000	com.apple.iokit.IONetworkingFamily (2.0) <7 6 5 4 3 1>
  42	0 0xffffff7f80950000 0x12000	0x12000	com.insanelymac.driver.AppleIntelE1000e (1.2.10) <41 9 5 4 3 1>
  43	1 0xffffff7f80970000 0x8000	 0x8000	 com.apple.driver.ApplePS2Controller (1.1.5) <7 5 4 3 1>
  44	2 0xffffff7f80978000 0xb000	 0xb000	 com.apple.iokit.IOAHCIFamily (2.0.6) <5 4 3 1>
  45	0 0xffffff7f80983000 0x18000	0x18000	com.apple.driver.AppleAHCIPort (2.2.0) <44 9 5 4 3 1>
  46	0 0xffffff7f809a2000 0x1b000	0x1b000	com.apple.driver.AppleIntel8254XEthernet (2.1.3b1) <41 9 5 4 3 1>
  47   11 0xffffff7f809c1000 0x4f000	0x4f000	com.apple.iokit.IOUSBFamily (4.5.3) <9 7 5 4 3 1>
  48	0 0xffffff7f80a10000 0x17000	0x17000	com.apple.driver.AppleUSBEHCI (4.5.0) <47 9 7 5 4 3 1>
  49	0 0xffffff7f80a30000 0x1e000	0x1e000	com.LaCie.driver.PXHCD (1.0.7) <47 9 7 5 4 3>
  50	0 0xffffff7f80a53000 0x37000	0x37000	com.jmicron.driver.JMB38X (1.5.0) <47 9 4 3>
  51	2 0xffffff7f80a8a000 0x75000	0x75000	com.apple.iokit.IOFireWireFamily (4.4.5) <5 4 3 1>
  52	0 0xffffff7f80aff000 0x28000	0x28000	com.apple.driver.AppleFWOHCI (4.8.9) <51 9 7 6 5 4 3 1>
  53	0 0xffffff7f80b38000 0x3000	 0x3000	 org.voodoo.driver.PS2Keyboard (1.1.0) <43 34 7 6 5 4 3 1>
  54	0 0xffffff7f80b3e000 0x4000	 0x4000	 cn.sh.fang.ThinkpadUltraNav (1.1.0) <34 7 6 5 4 3 1>
  55	0 0xffffff7f80b45000 0x7000	 0x7000	 com.apple.driver.AppleEFINVRAM (1.5.0) <40 7 5 4 3>
  56	0 0xffffff7f80b4e000 0x15000	0x15000	com.apple.iokit.IOAHCIBlockStorage (1.6.4) <44 16 5 4 3 1>
  57	0 0xffffff7f80b6c000 0x4000	 0x4000	 com.apple.driver.XsanFilter (403) <16 5 4 3 1>
  58	0 0xffffff7f80b70000 0x3000	 0x3000	 com.apple.iokit.IOUSBUserClient (4.5.3) <47 7 5 4 3 1>
  59	0 0xffffff7f80b73000 0x11000	0x11000	com.apple.driver.AppleUSBHub (4.5.0) <47 5 4 3 1>
  60	0 0xffffff7f80b88000 0x5000	 0x5000	 com.apple.AppleFSCompression.AppleFSCompressionTypeDataless (1.0.0d1) <7 6 4 3 2 1>
  61	0 0xffffff7f80b8f000 0x5000	 0x5000	 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib (1.0.0d1) <6 4 3 2 1>
  62	0 0xffffff7f80b96000 0x9000	 0x9000	 com.apple.BootCache (33) <7 6 5 4 3 1>
  63	0 0xffffff7f80ba0000 0x46000	0x46000	at.obdev.nke.LittleSnitch (2.4.4) <7 5 4 3 1>
  64	0 0xffffff7f80be9000 0x1d000	0x1d000	com.apple.driver.AppleRAID (4.0.6) <16 5 4 3>
  65	0 0xffffff7f80c11000 0x6000	 0x6000	 com.apple.driver.AppleUSBComposite (3.9.0) <47 4 3 1>
  66	3 0xffffff7f80c17000 0x2b000	0x2b000	com.apple.iokit.IOSCSIArchitectureModelFamily (3.0.1) <5 4 3 1>
  67	0 0xffffff7f80c42000 0x11000	0x11000	com.apple.iokit.IOUSBMassStorageClass (3.0.0) <66 47 16 5 4 3 1>
  68	0 0xffffff7f80c53000 0x3000	 0x3000	 com.apple.driver.AppleFileSystemDriver (13) <16 4 3>
  69	1 0xffffff7f80c56000 0x8000	 0x8000	 com.apple.iokit.IOUSBHIDDriver (4.4.5) <47 34 5 4 3 1>
  70	1 0xffffff7f80c5e000 0x75000	0x75000	com.apple.iokit.IOBluetoothFamily (4.0.1f4) <7 5 4 3 1>
  71	1 0xffffff7f80cd3000 0x12000	0x12000	com.apple.driver.IOBluetoothHIDDriver (4.0.1f4) <70 34 5 4 3>
  72	0 0xffffff7f80ce5000 0x9000	 0x9000	 jp.plentycom.driver.SteerMouse (4.1.3) <71 69 47 34 5 4 3>
  73	0 0xffffff7f80cf1000 0x15000	0x15000	com.apple.iokit.IOSCSIBlockCommandsDevice (3.0.1) <66 16 5 4 3 1>
  74	0 0xffffff7f80d06000 0x7000	 0x7000	 com.apple.iokit.SCSITaskUserClient (3.0.1) <66 16 5 4 3 1>
  75   14 0xffffff7f80d0f000 0x38000	0x38000	com.apple.iokit.IOGraphicsFamily (2.3.2) <9 7 5 4 3>
  76	8 0xffffff7f80d47000 0x12000	0x12000	com.apple.iokit.IONDRVSupport (2.3.2) <75 9 7 5 4 3>
  77	2 0xffffff7f80d59000 0x2da000   0x2da000   com.apple.NVDAResman (7.1.2) <76 75 9 5 4 3 1>
  78	0 0xffffff7f81033000 0x4d4000   0x4d4000   com.apple.nvidia.nvGF100hal (7.1.2) <77 4 3>
  80	2 0xffffff7f81510000 0x3000	 0x3000	 com.apple.driver.AppleBacklightExpert (1.0.3) <76 75 9 5 4 3>
  81	0 0xffffff7f81513000 0x5000	 0x5000	 com.apple.driver.AppleBacklight (170.1.9) <80 76 75 9 5 4 3>
  82	0 0xffffff7f81519000 0x3000	 0x3000	 com.apple.driver.AppleLPC (1.5.3) <9 5 4 3>
  83	0 0xffffff7f8151d000 0x3000	 0x3000	 com.apple.driver.AppleSMBusPCI (1.0.10d0) <9 5 4 3>
  84	1 0xffffff7f81520000 0x13000	0x13000	com.apple.driver.IOPlatformPluginFamily (4.7.5d4) <8 7 6 5 4 3>
  85	2 0xffffff7f81533000 0xc000	 0xc000	 com.apple.driver.AppleSMC (3.1.1d8) <8 7 5 4 3>
  86	0 0xffffff7f8153f000 0x11000	0x11000	com.apple.driver.ACPI_SMC_PlatformPlugin (4.7.5d4) <85 84 9 8 7 6 5 4 3>
  87	2 0xffffff7f81555000 0xe000	 0xe000	 com.apple.iokit.IOSerialFamily (10.0.5) <7 6 5 4 3 1>
  88	0 0xffffff7f81563000 0xd000	 0xd000	 com.apple.driver.Apple16X50Serial (3.0) <87 9 5 4 3>
  89	2 0xffffff7f81570000 0x3000	 0x3000	 com.apple.driver.AppleGraphicsControl (3.0.16) <76 75 9 8 7 5 4 3 1>
  90	0 0xffffff7f81573000 0xf000	 0xf000	 com.apple.driver.ApplePolicyControl (3.0.16) <89 76 75 9 8 7 5 4 3 1>
  91	1 0xffffff7f81582000 0xc000	 0xc000	 com.apple.iokit.IOHDAFamily (2.1.3f7) <5 4 3 1>
  92	0 0xffffff7f8158e000 0x1a000	0x1a000	com.apple.driver.AppleHDAController (2.1.3f7) <91 75 9 6 5 4 3 1>
  93	0 0xffffff7f815a8000 0x3a000	0x3a000	com.apple.driver.AppleIntelSNBGraphicsFB (7.1.2) <75 9 8 7 6 5 4 3 1>
  94	0 0xffffff7f815e2000 0xd000	 0xd000	 com.apple.iokit.IOFireWireIP (2.2.4) <51 41 5 4 3 1>
  95	0 0xffffff7f815ef000 0xc0000	0xc0000	com.apple.GeForce (7.1.2) <77 76 75 9 7 6 5 4 3 1>
  96	1 0xffffff7f816de000 0x6000	 0x6000	 com.apple.kext.OSvKernDSPLib (1.3) <5 4>
  97	4 0xffffff7f816e4000 0x2a000	0x2a000	com.apple.iokit.IOAudioFamily (1.8.3fc11) <96 5 4 3 1>
  98	0 0xffffff7f8170e000 0x40000	0x40000	com.apple.driver.AppleUSBAudio (2.8.2f5) <97 47 5 4 3>
  99	0 0xffffff7f8174e000 0x20000	0x20000	com.apple.driver.AppleMuxControl (3.0.16) <89 80 76 75 9 8 7 5 4 3 1>
 100	0 0xffffff7f81775000 0x4000	 0x4000	 com.apple.driver.AudioIPCDriver (1.2.1) <97 5 4 3 1>
 101	0 0xffffff7f8177b000 0x21000	0x21000	org.voodoo.driver.VoodooHDA (2.7.2) <97 9 7 5 4 3>
 102	0 0xffffff7f817a3000 0xa000	 0xa000	 com.apple.driver.AppleMCCSControl (1.0.26) <75 9 7 5 4 3 1>
 103	0 0xffffff7f817b2000 0xb000	 0xb000	 com.apple.driver.AGPM (100.12.42) <76 75 9 5 4 3>
 104	0 0xffffff7f817c1000 0x5000	 0x5000	 com.apple.Dont_Steal_Mac_OS_X (7.0.0) <85 7 4 3 1>
 105	0 0xffffff7f817c7000 0x5000	 0x5000	 com.apple.driver.AppleUpstreamUserClient (3.5.9) <75 9 8 7 5 4 3 1>
 106	0 0xffffff7f817ce000 0x5000	 0x5000	 com.apple.driver.AudioAUUC (1.59) <97 75 9 8 7 5 4 3 1>
 107	1 0xffffff7f817d5000 0x5000	 0x5000	 com.apple.iokit.IOEthernetAVBController (1.0.0d5) <41 5 4 3 1>
 108	0 0xffffff7f817da000 0x9000	 0x9000	 com.apple.iokit.IOAVBFamily (1.0.0d22) <107 41 5 4 3 1>
 109	0 0xffffff7f817e3000 0xe000	 0xe000	 com.apple.iokit.IOBluetoothSerialManager (4.0.1f4) <87 7 5 4 3 1>
 110	0 0xffffff7f817f1000 0x12000	0x12000	com.apple.iokit.IOSurface (80.0) <7 5 4 3 1>
 111	0 0xffffff7f81803000 0x6000	 0x6000	 com.apple.iokit.IOUserEthernet (1.0.0d1) <41 6 5 4 3 1>
 115	0 0xffffff7f8186d000 0x4000	 0x4000	 com.parallels.kext.prl_vnic (7.0 15052.710728) <41 5 4 3 1>
 116	0 0xffffff7f8187c000 0xa000	 0xa000	 com.apple.driver.AppleAVBAudio (1.0.0d11) <5 4 3 1>
 117	2 0xffffff7f81507000 0x5000	 0x5000	 com.apple.kext.triggers (1.0) <7 6 5 4 3 1>
 118	0 0xffffff7f81886000 0x9000	 0x9000	 com.apple.filesystems.autofs (3.0) <117 7 6 5 4 3 1>
 119	0 0xffffff7f81811000 0x7000	 0x7000	 com.parallels.kext.prl_usb_connect (7.0 15052.710728) <47 7 5 4 3 1>
 120	1 0xffffff7f81891000 0x5c000	0x5c000	com.parallels.kext.prl_hypervisor (7.0 15052.710728) <9 8 7 5 4 3 1>
 121	0 0xffffff7f8180c000 0x2000	 0x2000	 com.nvidia.CUDA (1.1.0) <4 1>
 122	0 0xffffff7f8181a000 0x5000	 0x5000	 com.apple.driver.AppleHWSensor (1.9.4d0) <5 4 3>
 123	0 0xffffff7f81821000 0x4000	 0x4000	 com.parallels.kext.prl_hid_hook (7.0 15052.710728) <7 5 4 3 1>
 124	0 0xffffff7f81826000 0xc000	 0xc000	 com.parallels.kext.prl_netbridge (7.0 15052.710728) <120 5 4 3 1>
 125	0 0xffffff7f818ed000 0x35000	0x35000	com.apple.filesystems.smbfs (1.7.0) <117 7 6 5 4 3 1>

 

Sorry for my (maybe) bad english.

dsdt1.aml.zip

Link to comment
Share on other sites

Ok i found the Problem for ACPIMonitor.kext

 

DSDT:

bildschirmfoto20111207um.png

 

and in ACPIMonitor.kext change "monitor" to "MONITOR" ("monitor" gives an error in DSDT)

 

bildschirmfoto20111207ur.png

 

Result:

bildschirmfoto20111207ud.png

 

the rpm are wrong and the fan speed control with DSDT isn't working correctly (maybe because of the two Sensors (CPU1, 2) with 100°) but I'm working on it and will update the post :).

Link to comment
Share on other sites

Ok, everything works fine with:

 

		    Device (SMCD)
		    {
			    Name (_HID, "MONITOR")
			    Method (FAN0, 0, NotSerialized)
			    {
				    Store (^^EC.HFN1, Local0)
				    Return (Local0)
			    }
			    Method (TCPU, 0, NotSerialized)
			    {
				    Store (^^EC.TMP0, Local0)
				    If (LGreaterEqual (Local0, 0x5A))
				    {
					    Store (0x40, ^^EC.HFSP)
				    }
				    Else
				    {
					    If (LGreaterEqual (Local0, 0x55))
					    {
						    Store (0x07, ^^EC.HFSP)
					    }
					    Else
					    {
						    If (LGreaterEqual (Local0, 0x50))
						    {
							    Store (0x04, ^^EC.HFSP)
						    }
						    Else
						    {
							    If (LGreaterEqual (Local0, 0x4B))
							    {
								    Store (0x02, ^^EC.HFSP)
							    }
							    Else
							    {
								    If (LGreaterEqual (Local0, 0x47))
								    {
									    Store (One, ^^EC.HFSP)
								    }
							    }
						    }
					    }
				    }
				    Return (Local0)
			    }
		    }
		    Device (EC)

 

and

 

				    VTAF,   1
			    }
			    Field (ECOR, ByteAcc, NoLock, Preserve)
			    {
						    Offset (0x84),
				    HFN1,   16
			    }
			    Method (_INI, 0, NotSerialized)

 

Result:

 

bildschirmfoto20111208u.png

 

The Fan-Speed-Modes can be configured with the link i posted above (thinkpadforum.com). I will also update my guide later today.

Link to comment
Share on other sites

 Share

×
×
  • Create New...