Jump to content
stellarola

**Definitive CMOS Reset fix**

61 posts in this topic

Recommended Posts

So looks like RTC needs to be edited again to fix this damn CMOS reset bug for AWARD bios based boards in Snow Leopard...

 

Here's the entry that needs to replace RTC or RTC0 in your DSDT...

 

Enjoy!

 

 

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

 

 

I think the important part is that the Length ends with 0x02.

 

-Stell

Share this post


Link to post
Share on other sites
Advertisement
So looks like RTC needs to be edited again to fix this damn CMOS reset bug for AWARD bios based boards in Snow Leopard...

-Stell

 

Confirmed working on Abit IP35 Pro.

CMOS reset not happening anymore.

 

Good Job, Stellarola.

Share this post


Link to post
Share on other sites

Good Job!

stellarola,

 

So looks like RTC needs to be edited again to fix this damn CMOS reset bug for AWARD bios based boards in Snow Leopard...

 

Here's the entry that needs to replace RTC or RTC0 in your DSDT...

 

Enjoy!

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

I think the important part is that the Length ends with 0x02.

 

-Stell

Share this post


Link to post
Share on other sites

I was doing some edits with my own board, MSI P45 Platinum which by default doesn't have the CMOS reset bug. I decided to add some RTC entires to my DSDT from a MacPro1,1. The result was CMOS RESET! So I was a bit curious how the entires could effect AWARD bios boards and similar. I took a look at the DSDTs of an ABIT and a Gigabyte and they both had similar RTC entires to each other and these boards suffered from the CMOS reset. I decided to inject my working RTC from my board's DSDT and wham, it worked. To be honest though, I think all that needs to be changed is the Length. Anyone is welcome to try this, but the above code works for sure.

 

 

-Stell

Share this post


Link to post
Share on other sites
Confirmed working on Abit IP35 Pro.

CMOS reset not happening anymore.

 

Hi biciliono,

Would you upload your DSDT.aml file? I have exactly same motherboard as yours and I do not know how to edit my DSDT.aml file (generated by DSDT Patcher GUI)

 

<<<<solved>>>> editted my DSDT.aml with iasl.app :unsure:

 

Thanks Stell.

Share this post


Link to post
Share on other sites
I was doing some edits with my own board, MSI P45 Platinum which by default doesn't have the CMOS reset bug. I decided to add some RTC entires to my DSDT from a MacPro1,1. The result was CMOS RESET! So I was a bit curious how the entires could effect AWARD bios boards and similar. I took a look at the DSDTs of an ABIT and a Gigabyte and they both had similar RTC entires to each other and these boards suffered from the CMOS reset. I decided to inject my working RTC from my board's DSDT and wham, it worked. To be honest though, I think all that needs to be changed is the Length. Anyone is welcome to try this, but the above code works for sure.

-Stell

 

Forgive me asking this noobie question: how do you edit these lines?

Share this post


Link to post
Share on other sites

Nice :P that was fast, since last morning...

You're right, Stell.. it's the "lenght" that matters. I've been playing a bit with values from Mac's dsdt's and they don't work.. sticking with "0x02"! So, this is my rtc device:

                Device (RTC)
               {
                   Name (_HID, EisaId ("PNP0B00"))
                   Name (ATT0, ResourceTemplate ()
                   {
                       IO (Decode16,
                           0x0070,             // Range Minimum
                           0x0070,             // Range Maximum
                           0x00,               // Alignment
                           0x02,               // Length
                           )
                   })
                   Name (ATT1, ResourceTemplate ()
                   {
                       IO (Decode16,
                           0x0070,             // Range Minimum
                           0x0070,             // Range Maximum
                           0x00,               // Alignment
                           0x02,               // Length
                           )
                   })
                   Method (_CRS, 0, NotSerialized)
                   {
                       If (LEqual (OSFX, 0x03))
                       {
                           If (HPTF)
                           {
                               Return (ATT1)
                           }
                           Else
                           {
                               Return (ATT0)
                           }
                       }
                       Else
                       {
                           Return (ATT0)
                       }
                   }
               }

... only edited 0x04 to 0x02. The fix for the "panic" is present too (IRQNoFlags removed).

To add some info, the real culprit for the cmos reset is the new AppleRCT.kext 1.3 used in Snow Leopard. Using the same kext from Leo also solves the issue but, prevents the use of x64 bit mode. So, this is quite nice...

Thannnnks Stell :D

 

p.s.: Also like to thank Rama (on irc), who first pointed last morning the AppleRTC.kext solution.

 

p.s.s.: mobo= Asus, bios= Phoenix Award

Share this post


Link to post
Share on other sites

I'm using Leopard with PC EFI v10 and I always get the CMOS resetting. (BIOS beep + CPUID/PatchID message in BIOS).

I have disabler set to disable AICPM and EFI kexts. I tried this DSDT fix and it still doesn't work.

 

I've always had this problem since I first installed Leopard (10.5.4 if I remember correctly). Does the constant resetting harm the BIOS in any way? Anyone knows a fix for this?

Share this post


Link to post
Share on other sites
I'm using Leopard with PC EFI v10 and I always get the CMOS resetting. (BIOS beep + CPUID/PatchID message in BIOS).

I have disabler set to disable AICPM and EFI kexts. I tried this DSDT fix and it still doesn't work.

 

I've always had this problem since I first installed Leopard (10.5.4 if I remember correctly). Does the constant resetting harm the BIOS in any way? Anyone knows a fix for this?

 

Doc, your's is the first case i heard of cmos reset out of Snow Leopard. If it's just a reset to defaults, i don't think it will harm anything. I had the same concern and i was told not to worry.

If i run into any relevant info, i'll remember you :)

By the way.. did you try Snow? In case you don't know, there's already a kernel for us, just no running 64 bit "anything".. i mean, not even apps. The kernel is missing x86_64 arch and more important, it doesn't have (yet) the patch Voodoo has so the Pentium D can be recognized as 64 bit capable.. but, even so, it's totally worth running the white kitty!

Snow just rocks :D

 

-------------------------------

 

STLVNUB.. don't bother, mate. I already tryed it ;)

Share this post


Link to post
Share on other sites
STLVNUB.. don't bother, mate. I already tryed it ;)

 

Yeah still does same thing, worth a try though.

Also the Alignment is different on Mac, didn't try that, may make a difference, but doubt it.

Share this post


Link to post
Share on other sites
To make things even stranger, on a mac, the length for RTC is actually 8, may try that value and see what happens.

On my Laptop, I have it as 8 and I don't have this CMOS Reset Thing.

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

Share this post


Link to post
Share on other sites
Yeah still does same thing, worth a try though.

Also the Alignment is different on Mac, didn't try that, may make a difference, but doubt it.

 

Also tryed the alignment...

 

On my Laptop, I have it as 8 and I don't have this CMOS Reset Thing.

 

On Snow Leopard? ... your sig...

Share this post


Link to post
Share on other sites
Also tryed the alignment...

 

 

 

On Snow Leopard? ... your sig...

This is a Snow Leopard related Topic, so yes, with Snow Leopard. Whats wrong with my sig?

Share this post


Link to post
Share on other sites

Don't get excited.. just asking.. your sig says 10.5.7. (EDIT: said)

This is mainly a Award bios problem.. if you have another bios, that's why you don't have the reset.

Or you just don't have it because you laptop is similar to a Mac.. who knows ;) lucky you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×