![]() |
Snow Leopard CMOS reset fix
Snow leopard beta's have the nasty property that when you reboot it resets your cmos. You can fix this by editing your dsdt file.
Length should be changed to 0x02, its normally 0x04. Code:
Device (RTC) |
@candykane
Thank you for sharing that information. At least some activity here. :) |
candykane,
With Leopard 10.5.6, I have: Code:
Device (RTC) a. the change you suggest is harmless on Leopard b. whether the IRQNoFlags needs to be there or not in Leopard/Snow Leopard? Thanks. |
uman,
Absolutely harmless on either OS. That 8 needs to be changed to 2, but has no affect in Leo. The IRQNoFlags and following line {8} needs to be deleted, too. Were you experiencing KPs in SL? I don't know about Leo, but this is known for KPs in SL on ASUS boards. regards, MAJ |
Thanks, I'll make the change.
I'm still using Leo. |
pardon my ignorance but what are you guys using to view and edit your DSDTs.....?
|
[quote=infinitek;31544]pardon my ignorance but what are you guys using to view and edit your DSDTs.....?[/QUOTE
download this app http://www.applelife.ru/poleznye_kek...tml#entry93244 after you drag your dsdt.aml you will get a dsdt.dsl which you can edit. once your done just drag your dsdt.dsl back to the app and it will transform it back to dsdt.aml just like magic ^_^ |
Thanx...........
|
Thanks for this - it fixed that for me. Still have kernel panic and have yet to successfully load the OS though....
|
On Device (RTC) section I have the value 0x04 for alignment. I saw on the first post that candykane has 0x00 but on the following posts nobody comment anything about that. Do I have to set the alignment value to 0x00 or leave it with its current value?
thanks in advance! |
Where would that script go? Where in the DSDT.dsl end? Middle? This is where it gets confusing to me. Can you show a little script before it and after it to see where you fit it in? Is ther a good DSDT patcher that automatically places this script in the correct sections, places in the DSDT.dsl file?
I use DSDTSE and it has many hack but open in a separate editor window and I usually do nto knwo where to put that script in the main DSDT.dsl editor window? It looks liek I don't have RTC in my DSDT? Yet I don't see a problem with the CMOS? Maybe because of my motherboard? Asus Maximus Formula X38 chipset. |
Hi, here is my RTC section from my acer aspire one, I've got length = 0x08, do I need to change both length values?
Code:
Device (RTC) |
Code:
Device (RTC) |
Device (RTC)
{ Name (_HID, EisaId ("PNP0B00")) Name (ATT0, ResourceTemplate () { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x00, // Alignment 0x02, // Length <-- JUST EDIT THIS ONE ) }) Name (ATT1, ResourceTemplate () { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x00, // Alignment 0x04, // Length <-- LEAVE THIS ALONE ) |
thanks alot ;)
|
|
The Snow Leopard CMOS DSDT mod was used by Apple in the MacBook Air'.
The mod was not created, only discovered. |
According to BuildSmart (see: http://netkas.org/?p=114#comment-45114), if you have a length of 0x08 and alignment of 0x01, then your manufacturer's DSDT is following the ASL spec. So you shouldn't have to make a change.
Why is not making a change important? I've heard that if you change the length to 0x02, then 10.6, and 10.6.1 are fine WRT to sleep, but in 10.6.2, you'll introduce a sleep bug. I heard this on the Russian side of infinitemac. Can someone confirm? I'm moving to SL in the next week or so (also upgrading my lappie's CPU), so if no one confirms before then, I'll give it a try. Oh, and BTW, I find that looking at the DSDT for the closest Mac model to your hardware is really helpful... |
Quote:
kizwan |
Quote:
My laptop dies if I try hibernate too on 10.5.6. As to your question, the RTC fix is needed by some, but not all BIOSes for 10.6. Are you running SL? Did you have to put the RTC fix in your DSDT? The russian text "suggested" that with 10.6.2, that you can go back to 0x08. But it never answered that *if* you already had 0x08 as the length, whether you need to change to 0x02 in the first place. So that's what I was trying to find out. In any case, I intend to try and I will post here when I find out. |
Quote:
I will try 10.6.2 without RTC fix on my Acer Aspire 9420 when I get my laptop tonight. kizwan |
Thanks for trying the 10.6.2. I was hip deep in the ICH7 Datasheet and ACPI Programmers draft trying to verify if the shutdown/restart and sleep fixes for ICH9/10 will work. I'm hoping to install SL this week. But my Core 2 Duo CPU arrived, so I'm hoping to try that first with Leopard.
|
Quote:
After several test, reboot, lost my keyboard, kernel panic & etc with 10.6.2, I found out that I still need to change (RTC device) the length from 0x08 to 0x02. If not BIOS reset will occurred when restarting the computer after sleep (hibernatemode 3). Right now I faced a dead-end with my wireless card. It won't turn on after sleep. kizwan |
I'm sorry for the trouble! Thanks so much for testing this out. I guess BuildSmart was wrong!
I did upgrade my CPU, so now I can try out 64-bit SL. One thing that drives me crazy, though, is that the vanilla retail scene is changing so rapidly. Are you aware of a recent guide that steps through a retail SL installation? I'd like to use Chameleon RC4, and I *think* I want a hidden EFI partition. I have Leo installed currently, and I have a new hard drive for SL, and an external USB case. I think I need to restore the retail DVD to a dmg on my current drive. Then install to the new drive in the USB case. Then install various kexts, Chameleon, my DSDT for SL, and then try booting off the USB drive. If all works, then I swap the drives, and then migrate my data from the old drive. Does that sound about right? |
Quote:
Then upgrade your current boot loader to Chameleon 2 RC4. This is how you placed 10.6 kext files without overwriting 10.5 kext files:- Quote:
Finally, reboot, select "Mac OS X Install DVD" and install Snow Leo to new drive. For unknow reason, I can't use "boot" file from Chameleon RC4 package. It just stuck after selecting OSX partition. I just replaced the "boot" file from PC EFI 10.6 downloaded from netkas.org. kizwan |
Quote:
Quote:
Quote:
Quote:
BTW, thanks for all your help! Also, does your Acer have ICH7? I spent some time verifying some DSDT fixes in the ACPI Programmer's Guide and the ICH7 Datasheet. I will try them out when I get SL running, and then post in the DSDT sub-forum. |
Quote:
Quote:
I have external drive (80GB) which I use as installation media, where it have 3 partition; first partition is a FAT32 partition for data only, second partition is a Boot-132 partition (origin was Boot-132 USB) and third partition is where I restore retail DVD. Second partition is set to bootable. Boot-132 partition using Chameleon 2 RC2 & upgraded to Chameleon 2 RC4+PC EFI 10.6. This external drive can be consider as my "universal" installer where I can use it to install Leo or Snow Leo. Quote:
Quote:
I use Chameleon 2 RC2 installer to install chameleon to EFI partition & replaced "boot" file with "boot" file from RC4 package. Quote:
I also played with DSDT & made several changes:- - Remove USB2.0 entry to make it seen as external device. This to enable sleep. - Sleep when LID close. - Change NVCAP value for GeForce Go 7300 to enable dual-screen. - Change ConfigData for ALC883 to enable internal mic, hence enabling external mic. kizwan |
Argh. I'm so frustrated. I've failed to install SL using prasys's (http://prasys.co.cc/2009/08/installi...ard-for-osx86/) 1st 3 methods.
So right now I'm installing on a separate hard drive )which I will replace as my main one) from a MacBook Pro. After that presumably succeeds, do I just need to install Chameleon to the EFI partition, and then any kexts I need before first boot from it? I must say, retail SL installation is a PITA! |
Quote:
Which part did you have problem? Are you installing to MBR or GUID partition table? Quote:
By default SL will boot in 64bit mode and on some machines it can cause problem (even though the machines is 64bit capable). So I would suggest you to run it in 32bit mode. Just set the "Kernel Flags" with "arch=i386". kizwan |
Quote:
Quote:
I posted more details of what I was trying to do, and some questions outside of the DSDT subforum, since I've hijacked this thread and felt bad. Thanks for your help! |
Go 7300
Kizwan,
I see you've fixed your Go 7300 in the DSDT. Can you please tell me how, because I have a black screen after wake on my DVI monitor. Mon Asus F3JC sleep and wake well, but I have to turn it off because of this black screen. I have an EFI string in boot.plist to make it work. Thank you greatings |
Quote:
If it is system sleep, please look to my NVCAP in my DSDT (search for "7300"):- http://www.mediafire.com/?zmnbzhwq0mt or http://www.mediafire.com/?mozqymgktyn EDIT: What laptop do you have? Mine, Acer Aspire 9420, don't have DVI port. kizwan |