Jump to content

RTC Maintenance - wake/sleep every 2 hours


ovof
 Share

10 posts in this topic

Recommended Posts

Hi all, i've got SL on 2 mobos : GAP35DS3R and GA945GCMS2L

 

10.6.1 & 10.6.2

 

everything is working, including sleep/wake.

 

 

But i've got an annoying issue : every 2 hours, the computer wakes for several seconds, then sleep.

 

When i look in console :

 

RTC maintenance wake, then sleep

 

I don't have any alarm in energy prefpane.

 

I don't have any alarm in BIOS

 

i cleared the bios settings

 

I still have this issue on the 2 mobos.

 

Help me plz !! I didn't find any thread for this.

 

Thanks ;)

Link to comment
Share on other sites

Here's the log:

 

13/11/09 06:02:13 kernel RTC: maintenance alarm 2009/11/13 05:02:12, sleep 2009/11/13 03:02:14

13/11/09 08:02:33 kernel Wake reason = RTC

13/11/09 08:02:33 kernel RTC: maintenance alarm 2009/11/13 07:02:32, sleep 2009/11/13 05:02:34

13/11/09 10:02:53 kernel Wake reason = RTC

13/11/09 10:02:53 kernel RTC: maintenance alarm 2009/11/13 09:02:52, sleep 2009/11/13 07:02:54

13/11/09 12:03:14 kernel Wake reason = RTC

13/11/09 12:03:14 kernel RTC: maintenance alarm 2009/11/13 11:03:13, sleep 2009/11/13 09:03:14

13/11/09 14:03:34 kernel Wake reason = RTC

13/11/09 14:03:34 kernel RTC: maintenance alarm 2009/11/13 13:03:33, sleep 2009/11/13 11:03:35

13/11/09 16:03:55 kernel Wake reason = RTC

13/11/09 16:03:55 kernel RTC: maintenance alarm 2009/11/13 15:03:54, sleep 2009/11/13 13:03:56

13/11/09 18:04:15 kernel Wake reason = RTC

13/11/09 18:04:15 kernel RTC: maintenance alarm 2009/11/13 17:04:14, sleep 2009/11/13 15:04:16

13/11/09 20:04:35 kernel Wake reason = RTC

13/11/09 20:04:35 kernel RTC: maintenance alarm 2009/11/13 19:04:34, sleep 2009/11/13 17:04:36

14/11/09 02:21:02 kernel Wake reason = RTC

14/11/09 02:21:02 kernel RTC: maintenance alarm 2009/11/14 01:21:01, sleep 2009/11/13 23:21:04

14/11/09 04:21:19 kernel Wake reason = RTC

14/11/09 04:21:19 kernel RTC: maintenance alarm 2009/11/14 03:21:18, sleep 2009/11/14 01:21:23

14/11/09 06:21:39 kernel Wake reason = RTC

14/11/09 06:21:39 kernel RTC: maintenance alarm 2009/11/14 05:21:38, sleep 2009/11/14 03:21:40

14/11/09 08:21:59 kernel Wake reason = RTC

14/11/09 08:21:59 kernel RTC: maintenance alarm 2009/11/14 07:21:58, sleep 2009/11/14 05:22:00

14/11/09 10:22:20 kernel Wake reason = RTC

14/11/09 10:22:20 kernel RTC: maintenance alarm 2009/11/14 09:22:19, sleep 2009/11/14 07:22:21

14/11/09 12:22:40 kernel Wake reason = RTC

 

 

and here's the DSDT

 

(maybe rtc bug inside...)

 

here's my original bios RTC :

 

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

 

her's my fixed RTC

 

			  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 (LGreaterEqual (OSFX, 0x03))
					{
						If (HPTF)
						{
							Return (ATT1)
						}
						Else
						{
							Return (ATT0)
						}
					}
					Else
					{
						Return (ATT0)
					}
				}
			}

 

IRQ has been removed

length was set from 0x04 to 0x02 to fix CMOS reset

 

it must be somewhere here which corrupt the bios, and set an alarm

Link to comment
Share on other sites

I compared with my dsdt the only difference is the one I've underlined, hope this helps

 

Name (ATT1, ResourceTemplate ()

{

IO (Decode16,

0x0070, // Range Minimum

0x0070, // Range Maximum

0x00, // Alignment

0x02, // Length >> change to 0x04

)

Link to comment
Share on other sites

I compared with my dsdt the only difference is the one I've underlined, hope this helps

 

Name (ATT1, ResourceTemplate ()

{

IO (Decode16,

0x0070, // Range Minimum

0x0070, // Range Maximum

0x00, // Alignment

0x02, // Length >> change to 0x04

)

thx for the answer. I need 0x02 otherwise ive got cmos reset :(

 

I can't find the pb, but is strange, it seems im only one with this issue ???

Link to comment
Share on other sites

thx for the answer. I need 0x02 otherwise ive got cmos reset :)

 

I can't find the pb, but is strange, it seems im only one with this issue ???

 

the 02 for the cmos reset bug is the code above

 

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

0x04, // Length

)

})

Method (_CRS, 0, NotSerialized)

{

If (LGreaterEqual (OSFX, 0x03))

{

If (HPTF)

{

Return (ATT1)

}

Else

{

Return (ATT0)

}

}

Else

{

Return (ATT0)

}

}

}

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Just to clarify, I also have that issue on real mac pro. It seems to be a feature:

 

http://support.apple.com/kb/HT3774

 

quote:

 

Only a Mac running Mac OS X v10.6 can Wake on Demand. New Macs ship with Wake on Demand enabled by default, but for some earlier Macs this option must be enabled using the steps below. Macs that have Wake on Demand enabled will occasionally wake for a brief time, without lighting the screen, in order to maintain registrations with the Bonjour Sleep Proxy. On some Macs, sounds from the optical drive, hard drive, or fans may be heard during these brief maintenance wakes.

 

regards

Link to comment
Share on other sites

 Share

×
×
  • Create New...