Jump to content

GA-Z68X-UD4-B3 & 10.7


organik
 Share

37 posts in this topic

Recommended Posts

So, I've got a GA-Z68X-UD4-B3 with i7 3.4, 10.7 Dev Prev 4. installed via usb chameleon method above. Auto-Generated DSDT with z68 generator. [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] networking and audio working, & usb 3.0. HD5770 fully working with Graphics Enabler. CMOS reset fixed with this: http://www.insanelymac.com/forum/index.php...992&st=220#

 

What doesn't work (and PLEASE let me know if you've got a fix):

 

- If I wake from sleep with Apple Aluminum Keyboard, it stops working and must be replugged...other USB keyboards work fine.

- Monitor needs extra mouse or keyboard action to finally wake up

- Firewire works until computer sleeps and wakes, then no longer works.

- USB drives violently ejected with sleep, ejected improperly warning on wake.

- Magic mouse won't wake computerfrom sleep, my adapter isn't supported apparently

- USB does not charge connected devices during sleep or when powered off...weird.

Link to comment
Share on other sites

So from your experience, everything is working with this board, if sleep is not used?

 

I've been trying to decide on a board for my next system that I'm planning to build with the launch of Lion. My EP-45-UD3r has been terrific from Leo until now so I was hoping for a similar z68 board from Gigabyte.

 

Either way it's certainly hard to get something fully working while it's in beta with new releases every couple weeks.

Link to comment
Share on other sites

So from your experience, everything is working with this board, if sleep is not used?

 

I've been trying to decide on a board for my next system that I'm planning to build with the launch of Lion. My EP-45-UD3r has been terrific from Leo until now so I was hoping for a similar z68 board from Gigabyte.

 

Either way it's certainly hard to get something fully working while it's in beta with new releases every couple weeks.

 

 

Yep, for the most part it's working great - and sleep does work, just with side effects, none of which are really show stoppers for me. I would love to get it all working great, but that's proving fairly difficult.

Link to comment
Share on other sites

Yep, for the most part it's working great - and sleep does work, just with side effects, none of which are really show stoppers for me. I would love to get it all working great, but that's proving fairly difficult.

 

So...I managed to get my bluetooth adapter recognized for "Allow bluetooth devices to wake this computer", but upon sleep, it just reboots...so that's still a no-go.

Link to comment
Share on other sites

add this to your USB devices in DSDT

Method (_DSM, 4, NotSerialized)
			{
				Store (Package ()
				   {
					"AAPL,current-available", 
					0x0834, 
					"AAPL,current-extra", 
					0x0A8C, 
					"AAPL,current-extra-in-sleep", 
					0x0A8C, 
					"AAPL,max-port-current-in-sleep", 
					0x0834, 
					"AAPL,device-internal", 
					0x02, 
					Buffer (0x01)
					{
						0x00
					}
					}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}

 

no need to replug keyboard.

Link to comment
Share on other sites

Dose this fix also work for u?

 

I think because of the close hardware to IMAC 12,2 it should not be a problem to get all working.

Here the Kernel log when sleeping. Im not shire if generally Lion doesn't show sty about sleep

This is what i get and sound assertions and AirPort stuff but thats not what we want to talk about here.

kernel[0]: Wake reason: ?
kernel[0]: 0		0 AppleUSBCDC: start - initDevice failed
kernel[0]: HID tickle 1514 ms

 

I use now the EHC1 stuff from DHP + the DSM Stuff from iMac SSDT:

USB_part.txt

When we com are the DSDT we get from Auto-Patcher or we see Tonymac we see they use patches that don't apply to our hardware. For Example:

- IRQ stuff

-RTC ( not Single ram + no need to patch RTC to get rid of cmos reset at wake)

- PWRB iMac us HID

-and the USB stuff

 

Here recourses:

 

Intel chipset document

 

IOREG, ACIP and other iMac12.2 Dumps

Link to comment
Share on other sites

...

 

IRQs

the ideal is always fix it

USB, VIDEO, AUDIO, ETC

solve problems of all kinds

 

RTC

You do not need this fix?

very strange

 

USB

Auto-Patcher use EHCI ownership (next update)

 

not based on the files of a Real Mac

many patches you can create looking at iMac files

others do not

Link to comment
Share on other sites

IRQs

For me the change made no noticeable difference.

For core duo motherboards the irq on HPET and no one at RTC is right when u compare to iMac9,1 DSDT. But i think they don't apply to newer boards like the Z68, P67 ...

And i think I'm not the only one: http://www.insanelymac.com/forum/index.php?showtopic=259066.

 

RTC

You do not need this fix?

very strange

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

Auto-Patcher use EHCI ownership (next update)

 

Just for Info LPCB and SMBUS are working native with Lion and I'm shire also with 10.6.8.

 

Is this Wake reason: ?USB related? Do you think adding a Device (SLPB) can solve this?

Link to comment
Share on other sites

For me the change made no noticeable difference.

For core duo motherboards the irq on HPET and no one at RTC is right when u compare to iMac9,1 DSDT. But i think they don't apply to newer boards like the Z68, P67 ...

And i think I'm not the only one: http://www.insanelymac.com/forum/index.php?showtopic=259066.

I noticed a difference

As with all mobos that use nativePM(lag in Video, USB, etc *even if it is minimal)

 

Is this Wake reason: ?USB related? Do you think adding a Device (SLPB) can solve this?

ownership or _DSM you posted

I use this in Notebooks

I'll test

thanks

 

MacBookPro8,x

Method (_DSM, 4, NotSerialized)
               {
                   Store (Package ()
                       {
                           "device-id", 
                           Buffer (0x04)
                           {
                               0x26, 0x1c, 0x00, 0x00
                           }, 
                           "built-in", 
                           Buffer (One)
                           {
                               0x00
                           }, 
                           "AAPL,clock-id", 
                           Buffer (One)
                           {
                               0x01
                           }, 
                           "device_type", 
                           Buffer (0x05)
                           {
                               "EHCI"
                           }, 
                           "AAPL,current-available", 
                           0x0834, 
                           "AAPL,current-extra", 
                           0x0898, 
                           "AAPL,current-extra-in-sleep", 
                           0x0640, 
                           "AAPL,device-internal",
                           0x02,
                           "AAPL,max-port-current-in-sleep",
                           0x834,  
                           Buffer (One)
                           {
                               0x00
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }

 

Just for Info LPCB and SMBUS are working native with Lion and I'm shire also with 10.6.8.

I added _DSM LPC remove in next update

in many cases dont work, Ids not compatible

 

SMBUS

74 0 0xc86000 0x2000 0x1000 com.apple.driver.AppleSMBusPCI (1.0.10d0)

100 1 0xc7a000 0x3000 0x2000 com.apple.iokit.IOSMBusFamily (1.1)

101 0 0xc7d000 0x9000 0x8000 com.apple.driver.AppleSMBusController (1.0.10d0)

work natively for you?

Link to comment
Share on other sites

SMBUS

74 0 0xc86000 0x2000 0x1000 com.apple.driver.AppleSMBusPCI (1.0.10d0) <14 5 4 3>

100 1 0xc7a000 0x3000 0x2000 com.apple.iokit.IOSMBusFamily (1.1) <5 4 3>

101 0 0xc7d000 0x9000 0x8000 com.apple.driver.AppleSMBusController (1.0.10d0) <100 14 13 5 4 3>

work natively for you?

Yes.

Are the id's hardcoded ? Because i find no id's in the info.plist of the 3 SMBus kext's unlike in the LPC next.

Link to comment
Share on other sites

  • 1 month later...
add this to your USB devices in DSDT
Method (_DSM, 4, NotSerialized)
			{
				Store (Package ()
				   {
					"AAPL,current-available", 
					0x0834, 
					"AAPL,current-extra", 
					0x0A8C, 
					"AAPL,current-extra-in-sleep", 
					0x0A8C, 
					"AAPL,max-port-current-in-sleep", 
					0x0834, 
					"AAPL,device-internal", 
					0x02, 
					Buffer (0x01)
					{
						0x00
					}
					}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}

 

no need to replug keyboard.

 

I already have this in my EHC1 and EHC2 sections (used DSDT Autopatcher) but I still have USB issues when waking up. I get the Device Removal warning and my apple USB keyboard and mouse don't' work unless i unplug and re-plug.

 

I've also tried tonymac's DSDT for my board (Z68X-UD4-B3 F7) and it has the same problem. This is the one issue that is preventing my rig from working 100%.

Link to comment
Share on other sites

I had used the EHCI fixes in the Gigabyte DSDT thread when i built my EP45-DS3R/Q6600 system and they worked great. I tried implementing those in my DSDT on my new Z68X-UD4-B3/i7 but they didn't work. The USB system still get's powered down during sleep which causes the device removal errors and problems waking the system from usb keyboard.

 

I'm stuck at this point. i see people on this forum and over at tonymacx86 that all have the same problem. Until this gets resolved i can't use Sleep at all (which sucks since it worked perfectly on my old rig).

Link to comment
Share on other sites

I looked at the parts in the Intel documents and they don't changed. But i'm no expert in this. But maybe the INI method is the problem.

 

I changed both the EHCI and _INI sections and didn't make a difference. This is what i added to my DSDT (but didn't work)

 

Method (^_INI, 0, NotSerialized)
			{
				Store (One, ^^PCI0.EHC1.WRTA)
				Store (0x19, ^^PCI0.EHC1.PMES)
				Store (Zero, ^^PCI0.EHC1.WRTA)
				Store (One, ^^PCI0.EHC2.WRTA)
				Store (0x19, ^^PCI0.EHC2.PMES)
				Store (Zero, ^^PCI0.EHC2.WRTA)
				//All the original stuff below....

Device (EHC1)
		{
			Name (_ADR, 0x001D0000)
			Device (RHUB)
			{
				Name (_ADR, Zero)
				//omitted rest for brevity

			}
			Method (_S3D, 0, NotSerialized)
			{
				If (LEqual (OSFL, 0x02))
				{
					Return (0x02)
				}
				Return (0x03)
			}
			Name (_PRW, Package (0x02)
			{
				0x0D, 
				0x03
			})
			Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x0B)
					{
						"AAPL,current-available", 
						0x0834, 
						"AAPL,current-extra", 
						0x0A8C, 
						"AAPL,current-extra-in-sleep", 
						0x0A8C, 
						"AAPL,max-port-current-in-sleep", 
						0x0834, 
						"AAPL,device-internal", 
						0x02, 
						Buffer (One)
						{
							0x00
						}
					}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}
			OperationRegion (PWRC, PCI_Config, 0x52, 0x2F)
			Field (PWRC, ByteAcc, NoLock, Preserve)
			{
					,   11, 
				PMES,   5, 
						Offset (0x2E), 
				WRTA,   1
			}
		}

Link to comment
Share on other sites

I have the same board updated to F8 Bios and re-ran Auto Patcher. I saw some differences in the Vanilla DSDT between F7 and F8 Bios. I used DiffMerge to compare the original (vanilla) DSDTs.

 

Not much difference but see below for the changes:

 

F7 Bios DSDT:

 

            If (LEqual (OSFL, 0x00))
           {
               Store (0x58, Local0)
               If (LEqual (OSFX, 0x03))
               {
                   Store (0x59, Local0)
               }

               If (LEqual (OSFX, 0x05))
               {
                   Store (0x5B, Local0)
               }

               Store (Local0, SMIP)
           }
       }

 

 

F8 Bios DSDT

 

            If (LEqual (OSFL, 0x00))
           {
               Store (0x58, Local0)
               If (LEqual (OSFX, 0x03))
               {
                   Store (0x59, Local0)
               }

               If (LEqual (OSFX, 0x05))
               {
                   Store (0x5B, Local0)
               }

               If (LEqual (OSFX, 0x07))
               {
                   Store (0x5D, Local0)
               }

               Store (Local0, SMIP)
           }
       }

 

 

F7 Bios DSDT

 

                                If (\_OSI ("Windows 2009")) {}
                               If (LNotEqual (Local2, 0x00))

 

 

F8 Bios DSDT

 

                               If (\_OSI ("Windows 2009"))
                               {
                                   Store (0x00, OSFL)
                                   Store (0x5D, Local1)
                                   Store (0x07, OSFX)
                                   Store (0x01, Local2)
                               }

                               If (LNotEqual (Local2, 0x00))

 

 

F7 Bios DSDT

 

 

                Scope (\)
               {
                   Method (OSTP, 0, NotSerialized)
                   {
                       If (LEqual (OSFL, 0x01))
                       {
                           Store (0x56, SMIP)
                       }

                       If (LEqual (OSFL, 0x02))
                       {
                           Store (0x57, SMIP)
                       }

                       If (LEqual (OSFL, 0x00))
                       {
                           Store (0x58, Local1)
                           If (LGreaterEqual (OSFX, 0x03))
                           {
                               Store (0x59, Local1)
                               If (LEqual (OSFX, 0x05))
                               {
                                   Store (0x5B, Local1)
                               }
                           }

                           Store (Local1, SMIP)
                       }
                   }
               }

 

 

F8 Bios DSDT

 

                Scope (\)
               {
                   Method (OSTP, 0, NotSerialized)
                   {
                       If (LEqual (OSFL, 0x01))
                       {
                           Store (0x56, SMIP)
                       }

                       If (LEqual (OSFL, 0x02))
                       {
                           Store (0x57, SMIP)
                       }

                       If (LEqual (OSFL, 0x00))
                       {
                           Store (0x58, Local1)
                           If (LGreaterEqual (OSFX, 0x03))
                           {
                               Store (0x59, Local1)
                               If (LEqual (OSFX, 0x05))
                               {
                                   Store (0x5B, Local1)
                               }

                               If (LEqual (OSFX, 0x07))
                               {
                                   Store (0x5D, Local1)
                               }
                           }

                           Store (Local1, SMIP)
                       }
                   }
               }

 

 

F7 Bios DSDT

 

 

                    Method (TSDD, 0, NotSerialized)
                   {
                       Name (TMPC, 0x00)
                       Multiply (CTMP, 0x0A, Local0)
                       Add (Local0, 0x0AAC, Local0)
                       Store (Local0, Index (TMPV, 0x02))
                       Return (TMPV)
                   }

                   Method (VSDD, 0, NotSerialized)
                   {
                       Name (VLTC, 0x00)
                       Multiply (VCC1, VCCS, Local0)
                       Add (Local0, VCCB, Local0)
                       Divide (Local0, 0x64, Local0, Index (VLTV, 0x02))
                       Multiply (VDDI, VDDS, Local0)
                       Add (Local0, VDDB, Local0)
                       Divide (Local0, 0x64, Local0, Index (VLTV, 0x06))
                       Multiply (V15C, V15S, Local0)
                       Add (Local0, V15B, Local0)
                       Divide (Local0, 0x64, Local0, Index (VLTV, 0x0A))
                       Multiply (VSAC, VSAS, Local0)
                       Add (Local0, VSAB, Local0)
                       Divide (Local0, 0x64, Local0, Index (VLTV, 0x0E))
                       Return (VLTV)
                   }

                   Method (FSDD, 0, NotSerialized)
                   {
                       Name (RPMC, 0x00)
                       Return (RPMV)
                   }

                   Method (SDSP, 0, NotSerialized)
                   {
                       Return (0x0A)
                   }
               }
           }

 

 

F8 Bios DSDT

 

 

                    Method (TSDD, 0, NotSerialized)
                   {
                       Name (TMPC, 0x00)
                       Return (TMPV)
                   }

                   Method (VSDD, 0, NotSerialized)
                   {
                       Name (VLTC, 0x00)
                       Return (VLTV)
                   }

                   Method (FSDD, 0, NotSerialized)
                   {
                       Name (RPMC, 0x00)
                       Return (RPMV)
                   }

                   Method (SDSP, 0, NotSerialized)
                   {
                       Return (0x0A)
                   }
               }
           }

 

 

Anyhow F8 Bios did not resolve the reseting of the CMOS from sleep/wake but take note from what was referenced either here or in another thread on Wake/Sleep CMOS reset and AppleRTC.kext patching. See first code box, 58 and 59.

 

I am using the AMD Radeon Gigabyte GV-R687OC-1GD

 

Strange that GeekBench Crashes with this card but with the Nvidia 9800 GTX it does not crash, however cinebench works fine with the AMD graphics card.

 

I have to remove Graphics Enabler script in OCBP because after chameleon boots and just before the Desktop Login I get a black Screen. FrameBuffer issue I am assuming?

 

The card works fine without ATi Config (Duckweed) Any other purpose for ATi Config? Using this setting, GeekBench still crashes.

 

 

 

EDITED:

 

 

Got off the phone with Corsair. This looks like to be an issue with the Intel Z68 chipset and power spec version 2.01/2.1/2.2/2.3. Not sure exactly what they were talking about but some Intel Boards had to re-work the reference design for the power spec, add circuitry etc to the board to fix the issue.

 

Now I wonder if this could also be the issue with our boards? You know how Gigabyte is they will never admit to such an issue.

 

I have a Corsair TX 750 Power supply that is Power spec v 2.01 but forward compatible to 2.2. The Corsair TX 750 V2 is 2.1 power spec but forward compatible to 2.3. If our board requires 2.3 then I suppose I have to get another power supply but to confound the problem v2.3 spec is where the issue is noted and some intel boards needed the reference design re-work. One of the issues noted had to do with Hold times and communication between the power supply and board. This is not been an officially announced report but if you google search you will get some answers. You know how things go when it comes to official recalls!!

 

When My board sleeps then wakes it does not sound like it should in my other rigs. Its unusually sounding like for example the fans speed up then slow down then some clicking then sleep. Wake is the same deal just does not sound normal.

 

I have to do some more tests before jumping the gun and calling Gigabyte to see if they had to re-reference any of their boards which they will never submit to or if my board would qualify for a RMA based solely on this problem.

 

 

 

EDITED AGAIN:

 

After all said I decided to install Windows 7 Ultimate 64 bit and no issues with Sleep/Wake/Hibernate nor CMOS resets.

 

No problems in Linux Fedora v15.

 

So it back to an issue in Lion.

 

I tried the AppleRTC.kext patch and it did not work for me but then again I am unsure if AppleRTC.kext changed in 10.7.1?

Link to comment
Share on other sites

 Share

×
×
  • Create New...