Jump to content

Mac OS X Lion (Developer Preview) Released


harrydeo
 Share

1,521 posts in this topic

Recommended Posts

(Sleep: PC restarts instead of wake up)

 

 

 

Thank you very much, MaLDoN. I've tried your fixes, but in _PTS I've had to cut the line that says

Store (Zero, SLPE)

because SLPE doesn't exist in my DSDT. Removing this line, iasl compiles without errors and sleep works (at least from the button in the apple menu or in the restart/shutdown dialog), no more restarts and Lion wakes up from mouse or power button.

 

Thanks again.

 

BTW, is there any easy way to add SLPE as an OperationRegion or into another side?

 

This method worked for me, but it still resets the CMOS. Here is my DSDT.dsl

dsdt.dsl.zip

Link to comment
Share on other sites

Hello Sachaaaz,

have you tried deleting the cache as I wrote? Are you using ATI_init.kext from April 2011? Do you have a second graphics card installed? Does it hang on: "PCI config begin" or can you login, because you mentioned bad resolution....

 

How and what id did you add?

Is it?

0x108110de&0xffc0ffff

Link to comment
Share on other sites

BTW, is there any easy way to add SLPE as an OperationRegion or into another side?

 

"DSDT Auto-Patcher" apply all necessary fixs

Leopard, Snow or Lion

fun.gif

 

reset cmos after sleep is a problem :D

 

[color="#FF0000"][b]into device name_adr 0x001F0000 insert
begin
OperationRegion (LPC0, PCI_Config, 0xA4, 0x02)\n
               Field (LPC0, ByteAcc, NoLock, Preserve)\n
               {\n
                   AG3E,   1\n
               }
end;[/b][/color]
into method label DTGP remove_entry;
into definitionblock code_regex . insert
begin
Method (DTGP, 5, NotSerialized)\n
{\n
   If (LEqual (Arg0, Buffer (0x10)\n
           {\n
               /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, \n
               /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B\n
           }))\n
   {\n
       If (LEqual (Arg1, One))\n
       {\n
           If (LEqual (Arg2, Zero))\n
           {\n
               Store (Buffer (One)\n
                   {\n
                       0x03\n
                   }, Arg4)\n
               Return (One)\n
           }\n
           If (LEqual (Arg2, One))\n
           {\n
               Return (One)\n
           }\n
       }\n
   }\n
   Store (Buffer (One)\n
       {\n
           0x00\n
       }, Arg4)\n
   Return (Zero)\n
}
end;
into method label _DSM parent_adr 0x001D0007 remove_entry;
into device name_adr 0x001D0007 insert
begin
Method (_DSM, 4, NotSerialized)\n
               {\n
                   Store (Package (0x08)\n
                       {\n
                           "AAPL,current-available", \n
                           0x05DC, \n
                           "AAPL,current-extra", \n
                           0x044C, \n
                           "AAPL,current-in-sleep", \n
                           0x09C4, \n
                           "device-id", \n
                           Buffer (0x04)\n
                           {\n
                               0x3A, 0x3A, 0x00, 0x00\n
                           }\n
                       }, Local0)\n
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                   Return (Local0)\n
               }
end;
into method label _DSM parent_adr 0x001A0007 remove_entry;
into device name_adr 0x001A0007 insert
begin
Method (_DSM, 4, NotSerialized)\n
               {\n
                   Store (Package (0x08)\n
                       {\n
                           "AAPL,current-available", \n
                           0x05DC, \n
                           "AAPL,current-extra", \n
                           0x044C, \n
                           "AAPL,current-in-sleep", \n
                           0x09C4, \n
                           "device-id", \n
                           Buffer (0x04)\n
                           {\n
                               0x3A, 0x3A, 0x00, 0x00\n
                           }\n
                       }, Local0)\n
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                   Return (Local0)\n
               }
end;
into device label PWRB code_regex (Name\s\()_HID(\,\sEisaId\s\(\"PNP0C0C\"\)\)) replace_matched begin %1_CID%2 end;
into method label _STA parent_hid PNP0103 remove_entry;
into device name_hid PNP0103 insert
begin
Method (_STA, 0, NotSerialized)\n
{\n
   Return (0x0F)\n
}
end;
into method label _CRS parent_hid PNP0103 remove_entry;
into device name_hid PNP0103 insert
begin
Method (_CRS, 0, NotSerialized)\n
{\n
   Return (ATT3)\n
}
end;
into_all all code_regex Or\s\(0x03,\sPARM\) replaceall_matched
begin
Or (PARM, 0x03, PARM)
end;
into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0103 code_regex_not IRQNoFlags code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\)\n\s+\{((?:.|\n)*)\}\) replace_matched
begin
Name (%1, ResourceTemplate ()\n
                   {\n
                       IRQNoFlags ()\n
                           {0}\n
                       IRQNoFlags ()\n
                           {8}\n
%2
})
end;
into method label _DSM parent_adr 0x001D0000 remove_entry;
into device name_adr 0x001D0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x34, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001D0001 remove_entry;
into device name_adr 0x001D0001 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x34, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001D0002 remove_entry;
into device name_adr 0x001D0002 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x34, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001A0000 remove_entry;
into device name_adr 0x001A0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x34, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001A0001 remove_entry;
into device name_adr 0x001A0001 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x34, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001A0002 remove_entry;
into device name_adr 0x001A0002 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x34, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001D0003 remove_entry;
into device name_adr 0x001D0003 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x34, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001F0000 remove_entry;
into device name_adr 0x001F0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x18, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into device label SPKR remove_entry;
into device label FDC remove_entry;
into device label FDC0 remove_entry;
into device label LPT1 remove_entry;
into device label LPTE remove_entry;
into device label ECP1 remove_entry;
into device label \_SB.PCI0.PEX4.JMB0 remove_entry;
into device label \_SB.PCI0.PEX4.JMB1 remove_entry;
into device label PEX1.JMB0 remove_entry;
into device label PEX1.JMB1 remove_entry;
into device label MEM remove_entry;
into device label ^^RMEM remove_entry;
into device label FWH set_label begin FWHD end;
into device label PIC set_label begin IPIC end;
into device label DMA1 set_label begin DMAC end;
into device label TMR set_label begin TIMR end;
into device label RTC0 set_label begin RTC end;
into device label COPR set_label begin MATH end;
into device label OMSC set_label begin LDRC end;
into device label IDE1 set_label begin SATA end;
into device label CHN0 set_label begin PRT0 end;
into device label CHN1 set_label begin PRT1 end;
into device label USB0 set_label begin UHC1 end;
into device label USB1 set_label begin UHC2 end;
into device label USB2 set_label begin UHC3 end;
into device label USB3 set_label begin UHC4 end;
into device label USB4 set_label begin UHC5 end;
into device label USB5 set_label begin UHC6 end;
into device label USB6 set_label begin UHC7 end;
into device label USBE set_label begin EHC1 end;
into device label USE2 set_label begin EHC2 end;
into device label PRIM set_label begin PRT0 end;
into device label SECD set_label begin PRT1 end;
into_all all code_regex TMR replaceall_matched begin TIMR end;
into_all all code_regex RTC0 replaceall_matched begin RTC end;
into_all all code_regex COPR replaceall_matched begin MATH end;
into_all all code_regex OMSC replaceall_matched begin LDRC end;
into_all all code_regex CHN0 replaceall_matched begin PRT0 end;
into_all all code_regex CHN1 replaceall_matched begin PRT1 end;
into_all all code_regex USB0 replaceall_matched begin UHC1 end;
into_all all code_regex USB1 replaceall_matched begin UHC2 end;
into_all all code_regex USB2 replaceall_matched begin UHC3 end;
into_all all code_regex USB3 replaceall_matched begin UHC4 end;
into_all all code_regex USB4 replaceall_matched begin UHC5 end;
into_all all code_regex USB5 replaceall_matched begin UHC6 end;
into_all all code_regex USB6 replaceall_matched begin UHC7 end;
into_all all code_regex USBE replaceall_matched begin EHC1 end;
into_all all code_regex USE2 replaceall_matched begin EHC2 end;
into device name_adr 0x001E0000 set_label
begin
PCIB
end;
into_all all code_regex HUB0 replaceall_matched
begin
PCIB
end;
into device name_hid PNP0B00 code_regex (IO\s\((?:\s*[^,]+,\s*(?:\/\/\s.*)?\s*\n)+\s*)(\dx\d+)(,\s*(?:\/\/\s.*)?\s*\n\s*\)) replace_matched begin %10x02%3 end;
into device name_adr 0x001F0003 parent_label PCI0 remove_entry;
into device label PCI0 insert
begin
Device (SBUS)\n
{\n
   Name (_ADR, 0x001F0003)\n
   Device (BUS0)\n
   {\n
       Name (_CID, "smbus")\n
       Name (_ADR, Zero)\n
       Device (DVL0)\n
       {\n
           Name (_ADR, 0x57)\n
           Name (_CID, "diagsvault")\n
       }\n
   }\n
   Method (_DSM, 4, NotSerialized)\n
   {\n
       Store (Package (0x02)\n
           {\n
               "device-id", \n
               Buffer (0x04)\n
               {\n
                   0x30, 0x3A, 0x00, 0x00\n
               }\n
           }, Local0)\n
       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
       Return (Local0)\n
   }\n
}
end;
into method label _WAK code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\}\s*\n?\s*\) remove_matched;
into method label _WAK insert
begin
Return (Package (0x02)\n
{\n
   Zero, \n
   Zero\n
})
end;
into method label \_WAK code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\}\s*\n?\s*\) remove_matched;
into method label \_WAK insert
begin
Return (Package (0x02)\n
{\n
   Zero, \n
   Zero\n
})
end;
into scope label _SB insert
begin
Device (MCEH)\n
       {\n
           Name (_HID, EisaId ("APP0006"))\n
           Name (_GPE, 0x17)\n
           Name (_STA, 0x0B)\n
       }
end;
into scope label \_SB insert
begin
Device (MCEH)\n
       {\n
           Name (_HID, EisaId ("APP0006"))\n
           Name (_GPE, 0x17)\n
           Name (_STA, 0x0B)\n
       }
end;
[color="#FF0000"][b]into method label _PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched
begin
%1
           Store (One, \\_SB.PCI0.PX40.AG3E)\n
           Store (Zero, SLPE)\n
           Sleep (0x10)\n
%2\n
Else\n
{\n
   Store (Zero, \\_SB.PCI0.PX40.AG3E)\n
}
end;
into method label \_PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched
begin
%1
           Store (One, \\_SB.PCI0.PX40.AG3E)\n
           Store (Zero, SLPE)\n
           Sleep (0x10)\n
%2\n
Else\n
{\n
   Store (Zero, \\_SB.PCI0.PX40.AG3E)\n
}
end;
into definitionblock code_regex . code_regex_not OperationRegion\s*\(PMRS insert
begin
OperationRegion (PMRS, SystemIO, 0x0430, One)\n
Field (PMRS, ByteAcc, NoLock, Preserve)\n
{\n
       ,   4, \n
   SLPE,   1\n
}
end;[/b][/color]
into device name_adr 0x001B0000 set_label
begin
HDEF
end;
into_all all code_regex AZAL replaceall_matched
begin
HDEF
end

Link to comment
Share on other sites

This method worked for me, but it still resets the CMOS.

 

r0ck3r4ever: yes, it's the same for me, the changes suggested by MaLDoN fix sleep but reset CMOS only after sleep. Thanks everyway, MaLDoN, it's time to work a bit more in it. And thanks for the help about DSDTPatcher, I've added SLPE into my DSDT.

Link to comment
Share on other sites

Already posted in Chameleon 752 thread, but noone cares:

 

I can´t install Lion anymore. NO version of XPC or [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] will start from NO USB stick (tried 7 different), new Chameleon starts install, but i always get stuck randomly at different points of the install with the following BSOD:

 

post-65306-1304283360_thumb.jpg

 

Anyone have an idea what could cause that??? With 1 version of XPC i was able to install, but i don´t remember which version it was, and can´t find the files any more :/

 

System in sig and FakeSMC 3.1 ...

 

 

Cheers

 

Goron

 

I had experienced some seemingly random system stalls during the initial Lion installation, but I had finally succeeded by removing all of the USB devices that were attached during installation except the actual installation USB drive. If that doesn't work, do check the installation log in /var/log. Also, if you're installing Lion DP2, you may need to modify the OSInstall.mpkg in the System/Installation/Packages directory of your Lion installation per:

 

http://www.insanelymac.com/forum/index.php...0&p=1667940

 

Here is the direct download link to a patched OSInstall.mpkg: OSInstall.mpkg.zip

 

I hope this helps someone in this blindingly tedious quest. Either way, good luck and good night!

Link to comment
Share on other sites

Hello Sachaaaz,

have you tried deleting the cache as I wrote? Are you using ATI_init.kext from February 2011? Do you have a second graphics card installed? Does it hang on: "PCI config begin" or can you login, because you mentioned bad resolution....

 

How and what id did you add?

Is it?

0x108110de&0xffc0ffff

 

Hi,

 

I'm using ATY_INIT.kext from february but I don't have deleting the cache! I don't have a second GC... I can log in.

And it's the right id in my plist.

 

I try deleting cache and I give you more information!

 

Thank you!

 

Sachaaaz

Link to comment
Share on other sites

I had experienced some seemingly random system stalls during the initial Lion installation, but I had finally succeeded by removing all of the USB devices that were attached during installation except the actual installation USB drive. If that doesn't work, do check the installation log in /var/log. Also, if you're installing Lion DP2, you may need to modify the OSInstall.mpkg in the System/Installation/Packages directory of your Lion installation per:

 

http://www.insanelymac.com/forum/index.php...0&p=1667940

 

Here is the direct download link to a patched OSInstall.mpkg: OSInstall.mpkg.zip

 

I hope this helps someone in this blindingly tedious quest. Either way, good luck and good night!

 

 

Hmmm, sounds suspicious, but who knows ^^, will try that ...

 

Still only have DP1, last thing i saw SU, that there was an update available, but i cant remember which one, or how big it was. I still hope to be able, to update to newer versions without getting the full dmg´s again.

 

 

EDIT: VERY strange!!! Plugged in Android phone (only for charging purpose) caused the panics during installation :/

 

Sorrowly DP1 can´t be updated, so whioch build is actual and can be updated through SU? Or do i have to reload FULL dmg everytime???

 

/EDIT

 

 

Goron

Link to comment
Share on other sites

Hmmm, sounds suspicious, but who knows ^^, will try that ...

 

Still only have DP1, last thing i saw SU, that there was an update available, but i cant remember which one, or how big it was. I still hope to be able, to update to newer versions without getting the full dmg´s again.

 

 

EDIT: VERY strange!!! Plugged in Android phone (only for charging purpose) caused the panics during installation :/

 

Sorrowly DP1 can´t be updated, so whioch build is actual and can be updated through SU? Or do i have to reload FULL dmg everytime???

 

/EDIT

DP1 can be updated through the App Store only if you are a registered developer. That tiny update you see in SU is software to help them make that happen. If you aren't a registered developer, DP2 has to be installed manually just like DP1. And, as advised, you probably will require a modified OSInstall.mpkg because it checks to see whether you have supported hardware. Once you get DP2 installed manually, THEN you can update through SU, at least if/until Apple changes that.

Link to comment
Share on other sites

Hi,

 

I'm using ATY_INIT.kext from february but I don't have deleting the cache! I don't have a second GC... I can log in.

And it's the right id in my plist.

 

I try deleting cache and I give you more information!

 

Thank you!

 

Sachaaaz

 

Sorry, my fault. I meant ATY_INIT.kex from April 19th.

 

With the latest Lion update OpenGL stopped working on my machine with GTX 570. Benchmarks and 3D apps don't work. QE/CI seems to work, I see those water ripples when starting widgets in Dashboard.

Maybe somebody could confirm this?

Link to comment
Share on other sites

Sorry, my fault. I meant ATY_INIT.kex from April 19th.

 

With the latest Lion update OpenGL stopped working on my machine with GTX 570. Benchmarks and 3D apps don't work. QE/CI seems to work, I see those water ripples when starting widgets in Dashboard.

Maybe somebody could confirm this?

 

But do you have the native resolution ?

 

I have just 1024x800... :rolleyes:

 

Can you send me your aty_init.kext please ? Thanks !

Link to comment
Share on other sites

sachaaaz, here it is:

 

Yes, I have native resolution. Without proper OpenGL support it's not much of use for me though. Back to Snow Leopard for me.

 

Thanks for the kext !

 

Snow leopard = No GTX-570...

 

So :

 

I modifiy the NVDAGF100.kext ad ID : 1081 : OK

Use ATY_init.kext : OK

 

Do I need to modifiy the com.apple.boot.plist ?

 

 

And I just have a last question : When I go in About this mac > PCI Card I have this message : This computer do not contain any PCI Card... (Sorry for my bad translation from french...) This message is normal ?

 

Thanks !

Link to comment
Share on other sites

You are welcome mate. :D

 

Add to your com.apple.boot.plist the following:

 

       <key>Kernel Flags</key>
   <string>arch=x86_64</string>
   <key>VBIOS</key>
   <string>Yes</string>
   <key>VideoROM</key>
   <string>Yes</string>

 

About this PCI Card thing....

I can't check it on Lion at the moment, but it is saying the same here on 10.6.

Guess it's normal if you don't have PCI cards such as audio card or else installed.

Link to comment
Share on other sites

You are welcome mate. :D

 

Add to your com.apple.boot.plist the following:

 

       <key>Kernel Flags</key>
   <string>arch=x86_64</string>
   <key>VBIOS</key>
   <string>Yes</string>
   <key>VideoROM</key>
   <string>Yes</string>

 

About this PCI Card thing....

I can't check it on Lion at the moment, but it is saying the same here on 10.6.

Guess it's normal if you don't have PCI cards such as audio card or else installed.

 

Thank you very much man !

 

Do you delete the Geforce.kext ?

 

 

 

PS : Doesn't work...

 

 

 

 

 

 

I neeeeeeeeed a ATI 5770 ! :wacko:

Link to comment
Share on other sites

Thank you very much man !

 

Do you delete the Geforce.kext ?

 

 

Yes, but only on Snow Leopard. In BIOS I also make sure my 2nd card ist initialized at first which is a fully working ATI 5770. Otherwise I would get a kernel panic during boot.

 

When booting Lion I make sure the 1st card will be initialized first which is my GTX 570. All this works also without the ATI card, but as I said before no OpenGL support is a show stopper for me and means back to SL.

Link to comment
Share on other sites

Hi guys!

 

I'm trying to install Lion on my P5Q deluxe from USB bootable with Chameleno RC5 Rev755 v7 but the installation stops here:

 

29eobuq.jpg

 

I can't understand what is the problem! Help me please!

Link to comment
Share on other sites

Hi guys!

 

I'm trying to install Lion on my P5Q deluxe from USB bootable with Chameleno RC5 Rev755 v7 but the installation stops here:

 

29eobuq.jpg

 

I can't understand what is the problem! Help me please!

 

most probably fakesmc

Link to comment
Share on other sites

 Share

×
×
  • Create New...