InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #761  
Old 07-10-2011, 03:15 PM
flip360 flip360 is offline
 
Join Date: Jan 2008
Location: Macedonia
Posts: 299
here you go buddy AppleHDA: http://www.sendspace.com/file/frbhgs

as for the shutdown fix, i posted in the russian forums and i await for reply, maybe will try Andys and cparm bootloader and see if that fixes stuff,

Cheers

MSI P5Q / C2D E8400 @ 3.0 Ghz / 8GB DDR2 800Mhz / PCIe ECS 9600GT 1Gb / ALC1200 / Windows 7 / OS X 10.8
ASUS K50IN (SX004L) / C2D T6400 @ 2.0 Ghz / 4GB DDR2 800Mhz / nVidia G102M 512Mb / 15.6" HD/LED / ALC662 / Dell 1490 802.11g / Windows 7 / OS X 10.8
Reply With Quote
  #762  
Old 07-10-2011, 07:35 PM
ronovar ronovar is offline
Puma
 
Join Date: Nov 2009
Posts: 26
Quote:
Originally Posted by flip360 View Post
here you go buddy AppleHDA: http://www.sendspace.com/file/frbhgs

as for the shutdown fix, i posted in the russian forums and i await for reply, maybe will try Andys and cparm bootloader and see if that fixes stuff,

Cheers
Thank you....Could you please post link to the russian forums so that i can read what they say about shutdown fix?
Reply With Quote
  #763  
Old 07-10-2011, 09:17 PM
ronovar ronovar is offline
Puma
 
Join Date: Nov 2009
Posts: 26
Shutdown is working via DSDT

Hey guys...i ime very happy....i have found solution how to fix shutdown in dsdt...

You just need to add this code into _PTS

If (LEqual (Arg0, 0x05))
{
Store (One, \_SB.PCI0.LPCB.S5CT)
}
Else
{
// Your existing CODE from original _PTS
}

//************

Function that we need is magiccly Store (One, \_SB.PCI0.LPCB.S5CT) This S5CT is response for Shutdown!!!

Here is complete code for asus notebook

open DSDT
search for _PTS


Method (_PTS, 1, NotSerialized)
{
If (LEqual (Arg0, 0x05))
{
Store (One, \_SB.PCI0.LPCB.S5CT)
}
Else
{
Store (Arg0, DBG8)
PTS (Arg0)
Store (Zero, Index (WAKP, Zero))
Store (Zero, Index (WAKP, One))
If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02)))
{
Sleep (0x0BB8)
}

Store (ASSB, WSSB)
Store (AOTB, WOTB)
Store (AAXB, WAXB)
Store (Arg0, ASSB)
Store (OSFL (), AOTB)
Store (OSYS (), OSTP)
Store (Zero, AAXB)
}
}


And Shutdown is workig, sleep is working...now i need to check restart if working...

Guys Asus K50 and K70IO is vanilla, it has very close DSDT fixes like gigabye...put my modification into your DSDT and post your results,you will have shutdown working without any kext.
Reply With Quote
  #764  
Old 07-10-2011, 11:11 PM
flip360 flip360 is offline
 
Join Date: Jan 2008
Location: Macedonia
Posts: 299
wonderfull news and congrats on your fix could you post your modified DSDT so we can update the front page?

Cheers

MSI P5Q / C2D E8400 @ 3.0 Ghz / 8GB DDR2 800Mhz / PCIe ECS 9600GT 1Gb / ALC1200 / Windows 7 / OS X 10.8
ASUS K50IN (SX004L) / C2D T6400 @ 2.0 Ghz / 4GB DDR2 800Mhz / nVidia G102M 512Mb / 15.6" HD/LED / ALC662 / Dell 1490 802.11g / Windows 7 / OS X 10.8

Last edited by flip360; 07-10-2011 at 11:50 PM.
Reply With Quote
  #765  
Old 07-11-2011, 08:25 AM
ronovar ronovar is offline
Puma
 
Join Date: Nov 2009
Posts: 26
Quote:
Originally Posted by flip360 View Post
wonderfull news and congrats on your fix could you post your modified DSDT so we can update the front page?

Cheers
Yes, no problem. Here is link to download my DSDT that has shutdown fix (just search for _PTS and copy to your _PTS into DSDT.

This dsdt is from my K70IO and is same as K50 but its better to copy only fix.

By me is currently working sleep and shutdown, restart is not working...so i need to fix only PTS method where it says If (LEqual (Arg0, 0x03)) that means when Restart is pressed on Apple menu go to execute code.

You have say that by you Restart is working, could you please upload your DSDT on which restart is working to investigate code and copy to my DSDT.

This shutdown modification in DSDT will shutdown very fast, and will not kill any of features on Mac OS X.Now is shutdown vanilla...)) Yupiii

http://www.mediafire.com/?4zuki8sm4r5tv9h
Reply With Quote
  #766  
Old 07-11-2011, 11:28 AM
flip360 flip360 is offline
 
Join Date: Jan 2008
Location: Macedonia
Posts: 299
Hi ronovar,

here is my DSDT: http://www.mediafire.com/?minsslmjzcg66r2

i tried adding your fix to my dsdt, it compiles fine no errors, but shutdown still doesnt work.

also in the beginning of the DSTD yours has:

External (\_SB_.PCI0.HBDP)

and mine has:

External (\_SB_.PCI0.LPCB.S5CT) which is responsible for shutdown as you said.

I am using Chameleons Graphic Enabler.
also here is something interesting: http://www.insanelymac.com/forum/ind...owtopic=152566
at the end of the thread there is an archive to download with ioregs and smbios dumps from real mac`s and there are one of MacBookPro5,3 and one of MacBookPro5,1 as we use it, maybe there is some fix we can load in our DSDT`s.

Cheers

MSI P5Q / C2D E8400 @ 3.0 Ghz / 8GB DDR2 800Mhz / PCIe ECS 9600GT 1Gb / ALC1200 / Windows 7 / OS X 10.8
ASUS K50IN (SX004L) / C2D T6400 @ 2.0 Ghz / 4GB DDR2 800Mhz / nVidia G102M 512Mb / 15.6" HD/LED / ALC662 / Dell 1490 802.11g / Windows 7 / OS X 10.8

Last edited by flip360; 07-11-2011 at 11:53 AM.
Reply With Quote
  #767  
Old 07-11-2011, 12:13 PM
ronovar ronovar is offline
Puma
 
Join Date: Nov 2009
Posts: 26
Quote:
Originally Posted by flip360 View Post
Hi ronovar,

here is my DSDT: http://www.mediafire.com/?minsslmjzcg66r2

i tried adding your fix to my dsdt, it compiles fine no errors, but shutdown still doesnt work.

also in the beginning of the DSTD yours has:

External (\_SB_.PCI0.HBDP)

and mine has:

External (\_SB_.PCI0.LPCB.S5CT) which is responsible for shutdown as you said.

I am using Chameleons Graphic Enabler.
also here is something interesting: http://www.insanelymac.com/forum/ind...owtopic=152566
at the end of the thread there is an archive to download with ioregs and smbios dumps from real mac`s and there are one of MacBookPro5,3 and one of MacBookPro5,1 as we use it, maybe there is some fix we can load in our DSDT`s.

Cheers
I found where you have mismised code, try this and your shutdown will work

First i downloaded your DSDT and you have correctly applied the code to the _PTS except one thing, you dont have in your DSDT Device(LPCB) so code in _PTS does dont know where S5CT is located....

Solution is to find Device(SBRG) and rename it to Device(LPCB), and shutdown will work...trust me.

And dont to forget to repleace all references SBRG to LPCB, if you will not you will get a lots of errors when compiling...

If you could not make modification, please write here and i will modify it as descipted above.

I found that your reset code into dsdt is quite different, and can you tell me are you using some kext or not when your restart is working?

And dont forget to remove all kext for shutdown, restart and sleep (like sleepenablerm evorebot, etc).
Reply With Quote
  #768  
Old 07-11-2011, 12:45 PM
flip360 flip360 is offline
 
Join Date: Jan 2008
Location: Macedonia
Posts: 299
I will try to modify my dsdt as you suggested, and for restart i am using EVOReboot or OpenHaltRestart, without it it doesnt want to restart...hmmmz. No sleepenabler or such. Can you try to merge the two somehow or take the best of both worlds?

Cheers

MSI P5Q / C2D E8400 @ 3.0 Ghz / 8GB DDR2 800Mhz / PCIe ECS 9600GT 1Gb / ALC1200 / Windows 7 / OS X 10.8
ASUS K50IN (SX004L) / C2D T6400 @ 2.0 Ghz / 4GB DDR2 800Mhz / nVidia G102M 512Mb / 15.6" HD/LED / ALC662 / Dell 1490 802.11g / Windows 7 / OS X 10.8
Reply With Quote
  #769  
Old 07-11-2011, 01:02 PM
ronovar ronovar is offline
Puma
 
Join Date: Nov 2009
Posts: 26
Quote:
Originally Posted by flip360 View Post
I will try to modify my dsdt as you suggested, and for restart i am using EVOReboot or OpenHaltRestart, without it it doesnt want to restart...hmmmz. No sleepenabler or such. Can you try to merge the two somehow or take the best of both worlds?

Cheers
Thank you for your response, please try dsdt shutdown fix and post if it work for you

I im now reasearching alots of dsdt (Gigabyte, Asus, Asrock) and i im studdying DSDT what function i need to call to reboot, for now i see that it has sense that PSS method what is dumped from linux to have speedstepping working is needed to put in S3 state which is called Restart.

Can you post link to russian forum? I have google chrome installed and now i can translate russian language to english..

I have just placed Evoreboot.kext and reboot is working...now i will try to study that kext and make patch to DSDT.

Last edited by ronovar; 07-11-2011 at 01:20 PM.
Reply With Quote
  #770  
Old 07-11-2011, 01:23 PM
flip360 flip360 is offline
 
Join Date: Jan 2008
Location: Macedonia
Posts: 299
I tried the fix but still doesnt work for me.
here is the link for the russian forum: http://www.applelife.ru/topic/21601-asus-k50in/
Hope we find a solution, thanks for your effort buddy

Cheers



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.


MSI P5Q / C2D E8400 @ 3.0 Ghz / 8GB DDR2 800Mhz / PCIe ECS 9600GT 1Gb / ALC1200 / Windows 7 / OS X 10.8
ASUS K50IN (SX004L) / C2D T6400 @ 2.0 Ghz / 4GB DDR2 800Mhz / nVidia G102M 512Mb / 15.6" HD/LED / ALC662 / Dell 1490 802.11g / Windows 7 / OS X 10.8
Reply With Quote
Reply