ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

2 Pages V  < 1 2  
Start a new topic Add Reply
> Acpithermal, Development ACPI driver for thermal zones
azerq
post Oct 31 2011, 11:00 PM
Post #21
Hi ThirdSmile & Hi all !

Thanks for your efforts about ACPIThermal in Lion !
I'm under Lion 10.7.2 and ACPIThermal doesn't cool correctly my Laptop Asus x71Vn like in Snow Leopard.

Also, my SSDT tables don't contain the TZ entry (I mean under the name TZ).
So I need your advice on how to adapt your method to my Laptop.

Here is my ioreg dump when your driver is loaded and when it's not loaded.

Here is also my DSDT and my five SSDT tables (for you information : they are put in the Extra folder and managed by Chameleon through the option DropSSDT = yes).

Great thanks in advance for any Help and/or suggestion !
Wonderfull Topic and Forum !!

Loyd

This post has been edited by azerq: Mar 4 2012, 09:06 PM
ThirdSmile
post Nov 3 2011, 07:14 PM
Post #22
ThermalZone in your DSDT is THRM, but there are no active cooling methods.

Check active cooling on snow without ACPIThermal - I guess it will work, because there are no active cooling methods in ThermalZones on your notebook.
About the reason why I will not work on lion - I think problem is in 16 I/O in EmbeddedController, for example:
TAH0 and TAH1 seams to be fan speeds... So constructions like "Store (TAH0, Local0)" will not work in lion - you need to replace TAH0 by two 8 bit fields (for ex.: ta01 & ta02) and "Store (TAH0, Local0)" by "Store (TA02, Local0) ShiftLeft (Local0, 0x08, Local0) Or (Local0, TA01, Local0)"

QUOTE (azerq @ Nov 1 2011, 12:00 AM) *
Hi ThirdSmile & Hi all !

Thanks for your efforts about ACPIThermal in Lion !
I'm under Lion 10.7.2 and ACPIThermal doesn't cool correctly my Laptop Asus x71Vn like in Snow Leopard.

Also, my SSDT tables don't contain the TZ entry (I mean under the name TZ).
So I need your advice on how to adapt your method to my Laptop.

Here is my ioreg dump when your driver is loaded and when it's not loaded.
[attachment=3867:Loyd.ior...aded.txt.zip]
[attachment=3868:Loyd.ior...Kext.txt.zip]
Here is also my DSDT and my five SSDT tables (for you information : they are put in the Extra folder and managed by Chameleon through the option DropSSDT = yes).
[attachment=3869:Loyd_DSDT_SSDTs.zip]

Great thanks in advance for any Help and/or suggestion !
Wonderfull Topic and Forum !!

Loyd


This post has been edited by ThirdSmile: Nov 3 2011, 10:11 PM
MacBook Pro 8,2 (MD318)
10.6.7 P5LD2 VM DH, Pentium 4 631, 3Gb RAM, Intel GMA 950, ALC882
10.6.8 & 10.7.1 hp 6720s (T7250 & GMAX3100 device id 2a12)
verleihnix
post Nov 6 2011, 12:50 PM
Post #23
QUOTE (ThirdSmile @ Oct 29 2011, 07:27 PM) *
I think the reason of panic is in incorrect return from ACPI, but i did not know where it is ...


Hi ThirdSmile,

I've got rid of kp's loading your kext. (edited dependencies- thanks to juanerson)
Here is a new DSDT with bat working and your tz inserts as well as ioreg with acpithermal.kext loaded.
Fan doesn't work. Found this in console:
com.apple.kextd: Kext id com.apple.driver.AppleACPIThermal not found; removing personalities from kernel.

Attached File  nc6510b.zip ( 412.56K ) Number of downloads: 7


This post has been edited by verleihnix: Nov 6 2011, 01:42 PM
ThirdSmile
post Nov 6 2011, 11:32 PM
Post #24
QUOTE (verleihnix @ Nov 6 2011, 01:50 PM) *
Hi ThirdSmile,

I've got rid of kp's loading your kext. (edited dependencies- thanks to juanerson)
Here is a new DSDT with bat working and your tz inserts as well as ioreg with acpithermal.kext loaded.
Fan doesn't work. Found this in console:
com.apple.kextd: Kext id com.apple.driver.AppleACPIThermal not found; removing personalities from kernel.

Attached File  nc6510b.zip ( 412.56K ) Number of downloads: 7

Dependencies in driver are correct(and incorrect dependencies can not be reason of KP - it is just requirements to load).
Also - see this
MacBook Pro 8,2 (MD318)
10.6.7 P5LD2 VM DH, Pentium 4 631, 3Gb RAM, Intel GMA 950, ALC882
10.6.8 & 10.7.1 hp 6720s (T7250 & GMAX3100 device id 2a12)
verleihnix
post Nov 7 2011, 08:19 PM
Post #25
QUOTE (ThirdSmile @ Nov 7 2011, 12:32 AM) *
Dependencies in driver are correct(and incorrect dependencies can not be reason of KP - it is just requirements to load).
Also - see this


ok, switched over to insanelymac.com
azerq
post Nov 8 2011, 11:54 PM
Post #26
Hi ThirdSmile,

Thanks for your replay and suggestions !
QUOTE (ThirdSmile @ Nov 3 2011, 08:14 PM) *
ThermalZone in your DSDT is THRM, but there are no active cooling methods.

I wonder if there is some fixes or hacks to add in DSDT to have active cooling methods ? here is my original DSDT (extracted under Linux and not modified).

QUOTE (ThirdSmile @ Nov 3 2011, 08:14 PM) *
Check active cooling on snow without ACPIThermal - I guess it will work, because there are no active cooling methods in ThermalZones on your notebook.

Ok ! Under SnowLeopard I'm not using DSDT at all ! just chameleon and some kext and I installed Acpithermal using kextutily and it's cool correctly my Laptop. Thanks to take a look at my SnowLeopard Extra file.

QUOTE (ThirdSmile @ Nov 3 2011, 08:14 PM) *
About the reason why I will not work on lion - I think problem is in 16 I/O in EmbeddedController, for example:
TAH0 and TAH1 seams to be fan speeds... So constructions like "Store (TAH0, Local0)" will not work in lion - you need to replace TAH0 by two 8 bit fields (for ex.: ta01 & ta02) and "Store (TAH0, Local0)" by "Store (TA02, Local0) ShiftLeft (Local0, 0x08, Local0) Or (Local0, TA01, Local0)"

I didn't get your answer correctly ! Do you mean, it will never work on Lion ? or I've to do the replacements you kindly suggested ? If this is the case, can you please post a snippet of code as example with the DSDT changes you suggest?

Great thanks in advance for you efforts !

Loyd

This post has been edited by azerq: Mar 4 2012, 09:07 PM
ThirdSmile
post Nov 10 2011, 02:26 PM
Post #27
QUOTE (azerq @ Nov 9 2011, 12:54 AM) *
Ok ! Under SnowLeopard I'm not using DSDT at all ! just chameleon and some kext and I installed Acpithermal using kextutily and it's cool correctly my Laptop. Thanks to take a look at my SnowLeopard Extra file.
[attachment=3881:Extra_Loyd.zip]


Post your ioreg(you can save it in IORegistryExplorer) from Snow Leopard when cooling is working.

QUOTE (azerq @ Nov 9 2011, 12:54 AM) *
I didn't get your answer correctly ! Do you mean, it will never work on Lion ? or I've to do the replacements you kindly suggested ? If this is the case, can you please post a snippet of code as example with the DSDT changes you suggest?


No, I mean, that: in order to get it work on lion you must replace all 16bit i/o operations in Embedded Controller by 8bit equivalent(example for TAH0 & TAH1 : Attached File  dsdt_patch_example.zip ( 68.14K ) Number of downloads: 20
).

This is because 16bit i/o operations in Embedded Controller, for unknown reason, do not work on Lion.

It seams that only TAH0 and TAH1 is related to cooling control - so, try may be it is working now... Also in your embedded controller is fields like Bxxx - if you replace them in same way, probably you will get working battery meter(with ACPIBattery driver)

Good luck.

This post has been edited by ThirdSmile: Nov 10 2011, 06:28 PM
MacBook Pro 8,2 (MD318)
10.6.7 P5LD2 VM DH, Pentium 4 631, 3Gb RAM, Intel GMA 950, ALC882
10.6.8 & 10.7.1 hp 6720s (T7250 & GMAX3100 device id 2a12)
azerq
post Nov 12 2011, 09:11 PM
Post #28
Hi ThirdSmile
Thanks again for your suggestions !

QUOTE (ThirdSmile @ Nov 10 2011, 03:26 PM) *
Post your ioreg(you can save it in IORegistryExplorer) from Snow Leopard when cooling is working.

Here is my ioreg under SnowLeopard as you suggest.

For your information, On SnowLeoprad, I use ACPIThermal along with AppleACPIEC in S/L/E and it cools correctly my Laptop.

QUOTE (ThirdSmile @ Nov 10 2011, 03:26 PM) *
No, I mean, that: in order to get it work on lion you must replace all 16bit i/o operations in Embedded Controller by 8bit equivalent(example for TAH0 & TAH1 : Attached File  dsdt_patch_example.zip ( 68.14K ) Number of downloads: 20
).

Ok ! I understand now ! thanks.
QUOTE (ThirdSmile @ Nov 10 2011, 03:26 PM) *
It seams that only TAH0 and TAH1 is related to cooling control - so, try may be it is working now..

I searched for others entries in my DSDT that can contain terms like TAH0 or TAH1 but what you find are the only ones. So, I've used directly the DSDT you kindly patched.
Unfortunately it makes no effects, Fans still very noisy and the °T also is still hot
Please find also my ioreg on Lion with ACPIThermal installed in S/L/E and images of temperature on Lion

QUOTE (ThirdSmile @ Nov 10 2011, 03:26 PM) *
Also in your embedded controller is fields like Bxxx - if you replace them in same way, probably you will get working battery meter(with ACPIBattery driver)

Right now Battery indicator works using Voodoobattery. I don't now if it's worth doing it through DSDT ?

Great thanks, in advance, for your efforts and help !

Loyd

This post has been edited by azerq: Mar 4 2012, 09:08 PM
ThirdSmile
post Nov 13 2011, 01:14 AM
Post #29
QUOTE (azerq @ Nov 12 2011, 10:11 PM) *
Here is my ioreg under SnowLeopard as you suggest.
[attachment=3886:ioreg_Loyd_SnowLeo.zip]
For your information, On SnowLeoprad, I use ACPIThermal along with AppleACPIEC in S/L/E and it cools correctly my Laptop.

ACPIThermal did not loaded - so I think you did not need it at all.

QUOTE (azerq @ Nov 12 2011, 10:11 PM) *
Unfortunately it makes no effects, Fans still very noisy and the °T also is still hot
Please find also my ioreg on Lion with ACPIThermal installed in S/L/E and images of temperature on Lion

Noisy fan on hot temperature - it is normal. Maybe something loads your cpu?

QUOTE (azerq @ Nov 12 2011, 10:11 PM) *
Right now Battery indicator works using Voodoobattery. I don't now if it's worth doing it through DSDT ?


If something works good - do not touch it wink.gif

MacBook Pro 8,2 (MD318)
10.6.7 P5LD2 VM DH, Pentium 4 631, 3Gb RAM, Intel GMA 950, ALC882
10.6.8 & 10.7.1 hp 6720s (T7250 & GMAX3100 device id 2a12)
azerq
post Nov 14 2011, 09:07 AM
Post #30
Thanks again for your fast answer !

QUOTE (ThirdSmile @ Nov 13 2011, 02:14 AM) *
ACPIThermal did not loaded - so I think you did not need it at all.

Ok ! At least I learned that I will not be able to solve the problem of heating using your kext ;-)
QUOTE (ThirdSmile @ Nov 13 2011, 02:14 AM) *
Noisy fan on hot temperature - it is normal. Maybe something loads your cpu?

Do you have an idea about how can I check this point ?
I'm thinking also about using the method described in this topic for reducing fan speed : http://www.projectosx.com/forum/index.php?...=1593&st=80
From your experience, do you think that it could be adapted for my DSDT and Laptop configuration ?
QUOTE (ThirdSmile @ Nov 13 2011, 02:14 AM) *
If something works good - do not touch it wink.gif

Yes definitely agree !

Great thanks for your help,
Loyd





2 Pages V  < 1 2
Add Reply Start a new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: