InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Asus K50IN (http://infinitemac.com/showthread.php?t=4409)

flip360 07-08-2011 02:27 PM

Quote:

Originally Posted by ronovar (Post 54458)
Hello, i im searching for solution how to make Restart/ShutDown enabled, my notebook have MCP79 chipset and i have set MacBookPro5,1 model and other data to match my hardware configuration.

I Have successfully pathed DSDT folowing pathes:

HPET, RTC, TIMR, CPU & LPCB (for speedstepping), and VGA.

When i dont have VGA injection Shutdown works, but when i inject via DSDT shutdown and restart is broken.

My Sleep is working Out Of Box, no need patching.

Could some one see my DSDT and tell me where i need to put DSDT Shutdown/Restart fix?

I See that i must insert in _PTS method

If (LEqual (Arg0, 0x05)) // If ShutDown S5 State is called

but i need code.

SpeedSteep is working on my P8400 Intel Core 2 Duo, nVidia Geforce GT 120M, 1GB, Sleep is working but Restart/Shutdown is NOT.

Please help.

P.S. In my E/E folder i have only FakeSMC, AppleACPIPS2Nub.kext and ApplePS2Controller.kext to make it more Vanilla.

http://www.mediafire.com/?84q5252459kfzxt

Try and use Chameleon`s Graphic Enabler without the DSDT patch for VGA.

binhpv 07-08-2011 02:54 PM

Quote:

Originally Posted by flip360 (Post 54459)
hi Guys,

We have Lion working on our beloved vanilla notebooks :)

All you need to do is generate a working dsdt or use the one u already have (dunno if you can use mine cause of hw differences).

Download LionGM and use the USB installer from this link: http://www.insanelymac.com/forum/ind...owtopic=259068

After installing Lion, put AppleHDA and AppleACPIPlatform from 10.6.x in S/L/E, use the old kexts from 10.6.x in E/E, reboot and you should have a fully working OS X Lion system :)

Note: It should "work" on most K50 notebooks, if not we will try and fix things along :)
Sofar everything is working OK except iGlasses :P

Cheers

Hi flip360, I wonder if there is anyway to install Lion without Leopard preinstalled on my notebook? And, in case I reinstall Windows 7, will it still boot to Lion or Windows will damage the Chameleon boot loader? Thanks!

flip360 07-08-2011 06:29 PM

if you make the USB Installer on another Mac then yes but i am afraid that OSX is a must. As for Win7 if you re-install it you just have to re-enable the OSX partition to boot Chameleon from. ;)

ronovar 07-08-2011 06:44 PM

Thank you for your response.

I have remove DSDT injection of nvidia Graphics and put in com.apple.boot.plist -GraphicsEnabler=Yes, Graphics is working, but Restart and SHutdown does not work.

Where i should i search for problem? Do i need to download MCP79 chipset datasheet and search for PWRM on which address is, and call _PTS?

I compared values in my ioregistry from graphicsenabler and my dsdt patch in dsdt and is the same.

Could some know what is NVPM in dsdt injection? Does it mean NVidia Power Managment?? If so that is maybe reason why when i press shutdown it power of lcd, cpu, but fans on vga is working and does not shutown. Maybe nvidia power managment needs values to know when shutdown is called.

flip360 07-08-2011 11:56 PM

Quote:

Originally Posted by ronovar (Post 54463)
Thank you for your response.

I have remove DSDT injection of nvidia Graphics and put in com.apple.boot.plist -GraphicsEnabler=Yes, Graphics is working, but Restart and SHutdown does not work.

Where i should i search for problem? Do i need to download MCP79 chipset datasheet and search for PWRM on which address is, and call _PTS?

I compared values in my ioregistry from graphicsenabler and my dsdt patch in dsdt and is the same.

Could some know what is NVPM in dsdt injection? Does it mean NVidia Power Managment?? If so that is maybe reason why when i press shutdown it power of lcd, cpu, but fans on vga is working and does not shutown. Maybe nvidia power managment needs values to know when shutdown is called.

when i close the lid the notebook goes to sleep, but no shutdown here either, restart works fine. if you find out what its causing this it would be valuable info to all ;)

ronovar 07-09-2011 06:49 AM

DSDT Shutdown fix
 
I have found function call in DSDT that works OOB and shutdown works before injection.But when graphics is injected via DSDT it gets ignored.Need help for DSDT experts...here is function call that shutdowns and Sleep and is working before graphics injection:


Method (_PTS, 1, NotSerialized) // Put To Sleep function
{
Store (Arg0, DBG8) // Get value form DBG8 o variable Arg0 which is 8
PTS (Arg0) // Call another function PTS with parameter Arg0 -- this is function that calls shutdown function that wee need to fix!!!
Store (Zero, Index (WAKP, Zero))
Store (Zero, Index (WAKP, One))
If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02))) // Sleep function that works!!!
{
Sleep (0x0BB8)
}

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

Function that is called here is PTS here is it:

Method (PTS, 1, NotSerialized) // Shutdown function
{
If (Arg0)
{
If (LEqual (Arg0, 0x03))
{
\_SB.PCI0.IXVE.IGPU.DGOF ()
}

\_SB.PCI0.NPTS (Arg0)
\_SB.PCI0.LPCB.SPTS (Arg0)
OEMS (Arg0)
}
}

So i have testing and when i remove:

\_SB.PCI0.NPTS (Arg0)
\_SB.PCI0.LPCB.SPTS (Arg0)
OEMS (Arg0)

Shutdown does NOT work, but when i put this code back then Shutdown works:)

My problem is here when i inject graphics trought dsdt this code gets ignored.

I remember that in all forums people says that we need to put to _PTS function call to shutdown which is:

If (LEqual (Arg0, 0x05))
{
}

So i have put:
If (LEqual (Arg0, 0x05))
{
PTS (Arg0) // Call the function what does shutdown but no go:(
}


If some one has idea how to corretly call function it will be great to all K50 and K70 hackintoshes:)

flip360 07-09-2011 11:12 AM

So you are saying that Shutdown works with Chameleon`s Graphic Enabler, without the VGA patch in DSDT? Maybe the PTS calls something else?

ronovar 07-09-2011 01:24 PM

DSDT SHutdown
 
No, i im saying that Shutdown works if you dont use GraphicsEnabler, DSDT VGA injection, or VGA kext injextion.

I would tell that when we use Graphics injection (DSDT, kext or GraphicsEnabler) we kill Shutdown that calls PTS(Arg0) So we need fix. I have traying modify calls in PTS today but without result.

I could not find any kext that works to fix my shutdown/restart problem, do you have one? If you have please give me a link to download and study what calls i need to put in dsdt patch.

Or if you know any DSDT expert to ask(like BugHalter or what is the name of man that fix our sound alc662 problem on apple.ru)

Thanks.

flip360 07-09-2011 06:10 PM

i tried OpenHaltRestart and EvoReboot but no success, only reboot no shutdown. I will try and post to the russian forums and ask there for a fix. I think something changed in Lion`s power management because the same setup worked in 10.5 and 10.6. Maybe the newer versions of Chameleon has to do with it?

Cheers

ronovar 07-09-2011 06:33 PM

I im using AsereBootloader end when booting i see that in booter has ReestartFix implement....

All the fixes for gigabyte boards and asus (desktop full atx) are on forums via DSDT patch, but that very important is that this board is using INTEL chipset, we on our laptops have NVIDIA MCP79 chipset, and i see when SBRG (South BRidGe) is called who Shutdown computer is that intel chipset has different address for SBRG.

Our frends in applelife.ru can solve this problem, i know that russian guys are experts for this dsdt patching...so please post this problem in their forum and poste here results.

Thanks..

Could you upload original AppleHDA.kext from 10.6.8..i updated successfully, but have wrong pathing binary and now i dont have original AppleHDA.kext.I will countinue pachiing audio dsdt when you uploaded kext and waiting for shutdown/restart fix form our guys - applelife.ru..:)