Jump to content

DSDT fixes for Gigabyte boards


iSoprano
 Share

1,908 posts in this topic

Recommended Posts

Weird though,

My "fatter" version works fine with Quicktime-rock solid

The "slim" version causes stuttering in Quicktime, for me anyway.

 

Anyone using a dsdt with mm67's patches and slimmed dsdt care to try a video file using quicktime to see if stuttering is an issue for them?

 

I'd be interested to know if this is possibly a widespread issue or just my machine.

.....

 

Keeza have you tried the 10.6.2 SleepEnabler.kext with the iTunes lag fix (with AppleUpstreamUserClientDisabler inside)?

 

I'm using the mm67's DSDT version 6 from the first page of this thread... my motherboard is an EX38-DS4. I didn't test the HD Video without the iTunes lag fix but needed it for a jumping cursor problem. It fixed it. I remember stuttering video in 10.5.6+ we added AppleUpstreamUserClientDisabler for the fix. Might work... worth a shot!

 

 

....... I do use a WD Black which I installed in my imac and its the best drive I've had. Whisper quiet.

 

For Snow Leopard I just installed a WB Black 750GB and you are correct - it's dang quiet! Glad I passed on the Seagates.

Link to comment
Share on other sites

Keeza have you tried the 10.6.2 SleepEnabler.kext with the iTunes lag fix (with AppleUpstreamUserClientDisabler inside)?

 

I'm using the mm67's DSDT version 6 from the first page of this thread... my motherboard is an EX38-DS4. I didn't test the HD Video without the iTunes lag fix but needed it for a jumping cursor problem. It fixed it. I remember stuttering video in 10.5.6+ we added AppleUpstreamUserClientDisabler for the fix. Might work... worth a shot!

Ok, I think I got it sorted now, initial tests seem to be fine.

 

What I did was I used mm67's and kdawg's dsdt and compared it to mine as well as comparing to my original dump.

 

I noticed some very small variations between the three and I reinstated some of my values from my original linux dump. Seems quite stable now and all fixes work. (except lost ethernet since a recent re-install)

 

BlackOSX:

I seem to recall a thread you started regarding ethernet fixes, do you have a link handy? I've looked (not very hard I must admit) it would be appreciated if you could post it.

 

 

BTW my current kexts are:

Evoreboot

fakesmc

LegacyHDA

Blockstorageinjector

PlatformUUid

 

Like to reduce this further if I can

Keeza_current.zip

Link to comment
Share on other sites

BTW my current kexts are:

Evoreboot

fakesmc

LegacyHDA

Blockstorageinjector

PlatformUUid

 

Like to reduce this further if I can

 

hey keeza - you can remove the 2 kext evoreboot and platformuuid by using the patched RC4 w/ restart fix (duvel) or modded made by blackosx (rekursor). Cparm also made a PC EFI w/ restart fix if that's what you prefer.

Link to comment
Share on other sites

did a LOT more cutting down on mine, used kdawg's for comparing, now have 8kb AML... but:

 

1) i cannot get USBEHCI to be shown as built-in unless I have the AAPL-clock-id, my EHCI devices were exactly the same as kdawgs and mm67's, and I have the fixes for the usb power management (mm67's), no go until i added AAPL,clock-id.

 

2) graphics: i've been using efi-injection until now, probably doesn't matter but system profiler shows

Bus: PCIe

Slot: PCI Slot 11

 

where's it pulling that 11 from?

 

3) tested HD 1080p video on Quicktime, no lag/stuttering here.

--

 

using: fakesmc.kext, legacyhda.kext only

dsdt attached

dsdt.dsl.zip

Link to comment
Share on other sites

did a LOT more cutting down on mine, used kdawg's for comparing, now have 8kb AML... but:

 

1) i cannot get USBEHCI to be shown as built-in unless I have the AAPL-clock-id, my EHCI devices were exactly the same as kdawgs and mm67's, and I have the fixes for the usb power management (mm67's), no go until i added AAPL,clock-id.

 

2) graphics: i've been using efi-injection until now, probably doesn't matter but system profiler shows

Bus: PCIe

Slot: PCI Slot 11

 

where's it pulling that 11 from?

 

3) tested HD 1080p video on Quicktime, no lag/stuttering here.

--

 

using: fakesmc.kext, legacyhda.kext only

dsdt attached

 

Did you try to remove these completely ?

                Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x04)
                       {
                           "device-id", 
                           Buffer (0x04)
                           {
                               0x3C, 0x3A, 0x00, 0x00
                           }, 

                           "AAPL,clock-id", 
                           Buffer (One)
                           {
                               0x02
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }

 

That device-id injection makes no sense. You already have an ICH10 board, but you inject it with ICH10 device-id. Try removing those DSM methods.

Link to comment
Share on other sites

Yeah I've tried it with no _DSM methods at all, and just did it again to be 100% sure, the USB High-Speed Bus shows up as an "Expansion Slot", weird huh?

 

Ok, I took an other look at your dsdt and now I saw your problem. You have setup method INI like this:

        Method (^_INI, 0, NotSerialized)
       {
           Store (One, \_SB.PCI0.EHC1.WRTA)
           Store (0xC9C2, \_SB.PCI0.EHC1.PMES)
           Store (Zero, \_SB.PCI0.EHC1.WRTA)
           Store (One, \_SB.PCI0.EHC2.WRTA)
           Store (0xC9C2, \_SB.PCI0.EHC2.PMES)
           Store (Zero, \_SB.PCI0.EHC2.WRTA)
       }

 

when it should be like this:

        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)
       }

Link to comment
Share on other sites

did a LOT more cutting down on mine, used kdawg's for comparing, now have 8kb AML... but:

 

1) i cannot get USBEHCI to be shown as built-in unless I have the AAPL-clock-id, my EHCI devices were exactly the same as kdawgs and mm67's, and I have the fixes for the usb power management (mm67's), no go until i added AAPL,clock-id.

 

2) graphics: i've been using efi-injection until now, probably doesn't matter but system profiler shows

Bus: PCIe

Slot: PCI Slot 11

 

where's it pulling that 11 from?

 

3) tested HD 1080p video on Quicktime, no lag/stuttering here.

--

 

using: fakesmc.kext, legacyhda.kext only

dsdt attached

And you don't need this.

				Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x04)
					{
						"device-id", 
						Buffer (0x04)
						{
							0x3A, 0x3A, 0x00, 0x00
						}, 

						"AAPL,clock-id", 
						Buffer (One)
						{
							0x01
						}
					}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}

 

What revision is your MOBO v1.6? You have some slight differences between your DSDT and mine. Does your rig happen to auto-sleep?

 

As for the PCI slot question this is it Name (_SUN, 0x0B). It's completely cosmetic. You can take it out if you like of put in your own number.

				Device (GFX1) // <-- GeForce 8800GT
			{
				Name (_ADR, Zero)
				[b][color="#FF0000"]Name (_SUN, 0x0B)[/color][/b]
				Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x18)
						{
							"@0,compatible" ,Buffer (0x0B){"NVDA,NVMac"}, 
							"@0,device_type",Buffer (0x08){"display"}, 
							"@0,name"	   ,Buffer (0x0F){"NVDA,Display-A"}, 
							"@1,compatible" ,Buffer (0x0B){"NVDA,NVMac"}, 
							"@1,device_type",Buffer (0x08){"display"}, 
							"@1,name"	   ,Buffer (0x0F){"NVDA,Display-B"}, 
							"NVCAP"		 ,Buffer (0x18){0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00}, 
							"NVPM"		  ,Buffer (0x18){0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, 
							"VRAM,totalsize",Buffer (0x04){0x00, 0x00, 0x00, 0x30}, 
							"device_type"   ,Buffer (0x0D){"NVDA,GeForce"},
							"model"		 ,Buffer (0x17){"nVidia GeForce 8800 GTX"}, 
							"rom-revision"  ,Buffer (0x06){"nVidia GeForce 8800 GTX OpenGL Engine"}
						}, Local0)
					DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)
				}
			}

Why do these dam codeboxes f%$#%$ up the layout so badly!!!!

 

Oh, and BTW MERRY CHRISTMAS EVERYONE!!

Link to comment
Share on other sites

Yup, got the USB to show built-in by changing the _INI method, thanks mm67

 

Yeah my board is a 1.6

 

I tried to change the Name (_SUN, 0x0B) to Name (_SUN, 0x01) and now it just shows "PCI" as both slot and bus.

 

I don't think I have auto-sleep working, I tried not too long ago, and the DVD-drive would make some noises when the system would hit the timer, it's a Phillips.

Link to comment
Share on other sites

I don't think I have auto-sleep working, I tried not too long ago, and the DVD-drive would make some noises when the system would hit the timer, it's a Phillips.

I have the same problem with a lot of DVD Writers.. No one found a solution. BTW, you can disable "Put the hard disk to sleep" in System Preferences -> Energy Saver.

Link to comment
Share on other sites

Yup, got the USB to show built-in by changing the _INI method, thanks mm67

 

Yeah my board is a 1.6

 

I tried to change the Name (_SUN, 0x0B) to Name (_SUN, 0x01) and now it just shows "PCI" as both slot and bus.

 

I don't think I have auto-sleep working, I tried not too long ago, and the DVD-drive would make some noises when the system would hit the timer, it's a Phillips.

I'm trying to figure out why you have this

                Method (_PRT, 0, NotSerialized)
               {
                   Return (Package (0x10)
                   {
                       Package (0x04){0xFFFF,Zero,Zero,0x14}, 
                       Package (0x04){0xFFFF,One,Zero,0x13}, 
                       Package (0x04){0xFFFF,0x02,Zero,0x12},
                       Package (0x04){0xFFFF,0x03,Zero,0x10},
                       Package (0x04){0x1FFFF,Zero,Zero,0x13},
                       Package (0x04){0x1FFFF,One,Zero,0x12},
                       Package (0x04){0x1FFFF,0x02,Zero,0x10},
                       Package (0x04){0x1FFFF,0x03,Zero,0x14},
                       Package (0x04){0x2FFFF,Zero,Zero,0x12},
                       Package (0x04){0x2FFFF,One,Zero,0x10},
                       Package (0x04){0x2FFFF,0x02,Zero,0x14},
                       Package (0x04){0x2FFFF,0x03,Zero,0x13},
                       Package (0x04){0x7FFFF,Zero,Zero,0x17},
                       Package (0x04){0x7FFFF,One,Zero,0x17},
                       Package (0x04){0x7FFFF,0x02,Zero,0x17},
                       Package (0x04){0x7FFFF,0x03,Zero,0x17}
                   })
               }

…and I have this:

                Method (_PRT, 0, NotSerialized)
               {
                   Return (Package (0x0C)
                   {
                       Package (0x04){0xFFFF,Zero,Zero,0x14}, 
                       Package (0x04){0xFFFF,One,Zero,0x13}, 
                       Package (0x04){0xFFFF,0x02,Zero,0x12}, 
                       Package (0x04){0xFFFF,0x03,Zero,0x10}, 
                       Package (0x04){0x0001FFFF,Zero,Zero,0x13}, 
                       Package (0x04){0x0001FFFF,One,Zero,0x12}, 
                       Package (0x04){0x0001FFFF,0x02,Zero,0x10}, 
                       Package (0x04){0x0001FFFF,0x03,Zero,0x14}, 
                       Package (0x04){0x0007FFFF,Zero,Zero,0x17}, 
                       Package (0x04){0x0007FFFF,One,Zero,0x17}, 
                       Package (0x04){0x0007FFFF,0x02,Zero,0x17}, 
                       Package (0x04){0x0007FFFF,0x03,Zero,0x17}
                   })
               }

I double checked my original Linux dump and it doesn't match yours. What firmware did you use when you extracted it FB or FD?

 

As for the DVD drive just unplug it and see if it auto-sleeps.

 

I have the same problem with a lot of DVD Writers.. No one found a solution. BTW, you can disable "Put the hard disk to sleep" in System Preferences -> Energy Saver.
I bought a pair of Sony Optiarcs to fix the problem back in 10.5.
Link to comment
Share on other sites

I'm trying to figure out why you have this

 

I double checked my original Linux dump and it doesn't match yours. What firmware did you use when you extracted it FB or FD?

 

As for the DVD drive just unplug it and see if it auto-sleeps.

 

That seems to be from my board ;) Maybe a bit too much copy/pasting from a different board's dsdt.

Link to comment
Share on other sites

That seems to be from my board :) Maybe a bit too much copy/pasting from a different board's dsdt.
@xjasx

Then xjasx I suggest use mine or go back and double check everything.

 

 

I had the same problem with Sony Optiarcs (auto sleep problem).

Drive noise on LG and ASUS. :wacko:

So you're saying the Sony's were preventing auto-sleep for you?
Link to comment
Share on other sites

I'm trying to figure out why you have this

                Method (_PRT, 0, NotSerialized)
               {
                   Return (Package (0x10)
                   {
                       Package (0x04){0xFFFF,Zero,Zero,0x14}, 
                       Package (0x04){0xFFFF,One,Zero,0x13}, 
                       Package (0x04){0xFFFF,0x02,Zero,0x12},
                       Package (0x04){0xFFFF,0x03,Zero,0x10},
                       Package (0x04){0x1FFFF,Zero,Zero,0x13},
                       Package (0x04){0x1FFFF,One,Zero,0x12},
                       Package (0x04){0x1FFFF,0x02,Zero,0x10},
                       Package (0x04){0x1FFFF,0x03,Zero,0x14},
                       Package (0x04){0x2FFFF,Zero,Zero,0x12},
                       Package (0x04){0x2FFFF,One,Zero,0x10},
                       Package (0x04){0x2FFFF,0x02,Zero,0x14},
                       Package (0x04){0x2FFFF,0x03,Zero,0x13},
                       Package (0x04){0x7FFFF,Zero,Zero,0x17},
                       Package (0x04){0x7FFFF,One,Zero,0x17},
                       Package (0x04){0x7FFFF,0x02,Zero,0x17},
                       Package (0x04){0x7FFFF,0x03,Zero,0x17}
                   })
               }

…and I have this:

                Method (_PRT, 0, NotSerialized)
               {
                   Return (Package (0x0C)
                   {
                       Package (0x04){0xFFFF,Zero,Zero,0x14}, 
                       Package (0x04){0xFFFF,One,Zero,0x13}, 
                       Package (0x04){0xFFFF,0x02,Zero,0x12}, 
                       Package (0x04){0xFFFF,0x03,Zero,0x10}, 
                       Package (0x04){0x0001FFFF,Zero,Zero,0x13}, 
                       Package (0x04){0x0001FFFF,One,Zero,0x12}, 
                       Package (0x04){0x0001FFFF,0x02,Zero,0x10}, 
                       Package (0x04){0x0001FFFF,0x03,Zero,0x14}, 
                       Package (0x04){0x0007FFFF,Zero,Zero,0x17}, 
                       Package (0x04){0x0007FFFF,One,Zero,0x17}, 
                       Package (0x04){0x0007FFFF,0x02,Zero,0x17}, 
                       Package (0x04){0x0007FFFF,0x03,Zero,0x17}
                   })
               }

 

Kdawg,

 

I have the 1.6 board and just checked this in the past week with FD bios. My code matches yours. No auto-sleep.

Link to comment
Share on other sites

Merry Christmas Everyone!

 

I'm using the #6 DSDT file from the beginining of this thread. I've been reading where it's suggest to remove AAPL,clock-id from the DSDT:

"AAPL,clock-id", 
Buffer (One)
{
     0x01
}

 

When I do this both built-in Ethernet connections show as an Ethernet card in both the PCI Cards and Ethernet section of the System Profiler. Reads: Ethernet Controller PCI Slot-2 and Slot-3.

 

Or do I need to get rid of this part also?

Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x04)
                       {
                           "device-id", 
                           Buffer (0x04)
                           {
                               0x3A, 0x29, 0x00, 0x00
                           }, 

My motherboard that has ICH9R. Is the above fix only for ICH10?

 

Thanks!

 

I'm just sitting down for my Christmas dinner... ready to eat a ton of turkey and pumpkin pie! Wish me luck!

Link to comment
Share on other sites

Merry Christmas Everyone!

 

I'm using the #6 DSDT file from the beginining of this thread. I've been reading where it's suggest to remove AAPL,clock-id from the DSDT:

"AAPL,clock-id", 
Buffer (One)
{
     0x01
}

 

When I do this both built-in Ethernet connections show as an Ethernet card in both the PCI Cards and Ethernet section of the System Profiler. Reads: Ethernet Controller PCI Slot-2 and Slot-3.

 

Or do I need to get rid of this part also?

Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x04)
                       {
                           "device-id", 
                           Buffer (0x04)
                           {
                               0x3A, 0x29, 0x00, 0x00
                           }, 

My motherboard that has ICH9R. Is the above fix only for ICH10?

 

Thanks!

 

I'm just sitting down for my Christmas dinner... ready to eat a ton of turkey and pumpkin pie! Wish me luck!

 

Check post #827 of this thread for working ICH9 example

Link to comment
Share on other sites

Fixed the _PRT method, thanks for pointing it out =)

 

Only thing left bugging me is the cosmetic fixes for the GPU, I also now have my Ethernets showing under PCI Slots, but I noticed I can use any slot number, as low as 0x02, if I put 0x01 or even One, it just shows up as "PCI"

Link to comment
Share on other sites

Check post #827 of this thread for working ICH9 example

Thanks mm67 for pointing to kdawgs' file. I found the SATA data in the DSDT file but when I used that in my working DSDT file (#6 iSoprano's) SATA displays as Intel ICH10. With my working DSDT file SATA displays as Intel ESB2 AHCI.

 

Here's the SATA data from my working DSDT file:

Device (SATA)
           {
               Name (_ADR, 0x001F0002)
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x02)
                       {
                           "device-id", 
                           Buffer (0x04)
                           {
                               0x81, 0x26, 0x00, 0x00
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }

 

SATA data from kdawgs' DSDT for a GA-EP35-DS4 ICH9R Chipset

Device (SATA) //<--Renamed from IDE1 (removed IDE2)
           {
               Name (_ADR, 0x001F0002)
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x02)
                       {
                           "device-id", Buffer (0x04){0x22, 0x3A, 0x00, 0x00},
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }

 

I deleted the below in a number of combinations with/without "AAPL,clock-id" but no luck... still had SATA display as Intel ICH10 Not sure I'm doing the right thing.

 

 Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x04)
                       {
                           "device-id", 
                           Buffer (0x04)
                           {
                               0x3C, 0x29, 0x00, 0x00
                           }, 

                           "AAPL,clock-id", 
                           Buffer (One)
                           {
                               0x02
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }

 

Anyway Ethernet still shows as PCI cards with my working DSDT that's based on ( iSoprano's #6 ) so now I'm thinking it was always there and I didn't notice it.

 

Thanks!

Link to comment
Share on other sites

After some work I have wake from sleep working with my Apple Aluminum Keyboard (Wired). I still do not have wake from my bluetooth Mighty Mouse (usb bluetooth adapter). Does anyone have wake from sleep working with a bluetooth mouse?

 

Regards,

SMF

Link to comment
Share on other sites

After some work I have wake from sleep working with my Apple Aluminum Keyboard (Wired). I still do not have wake from my bluetooth Mighty Mouse (usb bluetooth adapter). Does anyone have wake from sleep working with a bluetooth mouse?

 

Regards,

SMF

What bluetooth adapter do you have? Are you able to select the "Allow Bluetooth devices to wake computer" option?
Link to comment
Share on other sites

 Share

×
×
  • Create New...