InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Snow Leopard CMOS reset fix (http://infinitemac.com/showthread.php?t=3478)

osxfr33k 09-22-2009 02:34 AM

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.

MikeHunt79 09-23-2009 02:37 PM

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)
                {
                    Name (_HID, EisaId ("PNP0B00"))
                    Name (BUF0, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,            // Range Minimum
                            0x0070,            // Range Maximum
                            0x01,              // Alignment
                            0x08,              // Length
                            )
                    })
                    Name (BUF1, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,            // Range Minimum
                            0x0070,            // Range Maximum
                            0x01,              // Alignment
                            0x08,              // Length
                            )
                  })
                    Method (_CRS, 0, Serialized)
                    {
                        If (LEqual (HPTS, One))
                        {
                            Return (BUF0)
                        }
                        Else
                        {
                            Return (BUF1)
                        }
                    }
                }


ariyako 11-20-2009 03:43 PM

Code:

Device (RTC)
                {
                    Name (_HID, EisaId ("PNP0B00"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,            // Range Minimum
                            0x0070,            // Range Maximum
                            0x01,              // Alignment
                            0x02,              // Length
                            )
                        IO (Decode16,
                            0x0074,            // Range Minimum
                            0x0074,            // Range Maximum
                            0x01,              // Alignment
                            0x04,              // Length
                            )
                    })
                }

Should i modify 0x04 into 0x02 too? ;)

Ianxxx 11-28-2009 12:36 AM

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
)

ariyako 11-28-2009 05:41 PM

thanks alot ;)

spalek83 12-06-2009 01:49 PM

CMOS reset fix (via kext)

http://www.kexts.com/view/151-cmos_r...a_kext%29.html

SaCleoCheater 01-29-2010 11:49 PM

The Snow Leopard CMOS DSDT mod was used by Apple in the MacBook Air'.

The mod was not created, only discovered.

uman 02-26-2010 06:23 PM

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...

kizwan 02-26-2010 08:49 PM

Quote:

Originally Posted by uman (Post 45578)
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.
.......................

My acer aspire 9420 only experiencing bios reset when trying to hibernate. I have not tried 10.6.2 but did you mean my laptop will behave normally (no bios reset) with 10.6.2 without "CMOS reset fix"? FYI, aspire 9420 dsdt follow ASL spec.

kizwan

uman 02-27-2010 01:37 AM

Quote:

Originally Posted by kizwan (Post 45591)
My acer aspire 9420 only experiencing bios reset when trying to hibernate. I have not tried 10.6.2 but did you mean my laptop will behave normally (no bios reset) with 10.6.2 without "CMOS reset fix"? FYI, aspire 9420 dsdt follow ASL spec.

kizwan

Hi kizwan--

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.