InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 10-23-2009, 02:22 PM
CEOS CEOS is offline
Cheetah
 
Join Date: Oct 2009
Posts: 11
unable to fix USB ports in DSDT

plz help !

i´m unable to fix the USB ports to work as integrated.
(always get a device removal warning at wakeup from sleep)

i try every fix i could find, without sucess.
in most cases i get the error
Code:
/Users/David/Desktop/dsdt.dsl  4640:                             DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4063 -                               Object does not exist ^  (DTGP)
i have a bit of c++/c# knolege, but i dont know what i´m doing wrong.

this is the usb part of the DSDT:
Code:
            Device (USB0)
            {
                Name (_ADR, 0x001D0000)
                Method (_S3D, 0, NotSerialized)
                {
                    If (LEqual (OSFL, 0x02))
                    {
                        Return (0x02)
                    }

                    Return (0x03)
                }

                Name (_PRW, Package (0x02)
                {
                    0x03, 
                    0x03
                })
            }

            Device (USB1)
            {
                Name (_ADR, 0x001D0001)
                Method (_S3D, 0, NotSerialized)
                {
                    If (LEqual (OSFL, 0x02))
                    {
                        Return (0x02)
                    }

                    Return (0x03)
                }

                Name (_PRW, Package (0x02)
                {
                    0x04, 
                    0x03
                })
            }

            Device (USB2)
            {
                Name (_ADR, 0x001D0002)
                Method (_S3D, 0, NotSerialized)
                {
                    If (LEqual (OSFL, 0x02))
                    {
                        Return (0x02)
                    }

                    Return (0x03)
                }

                Name (_PRW, Package (0x02)
                {
                    0x0C, 
                    0x03
                })
            }

            Device (USB3)
            {
                Name (_ADR, 0x001A0000)
                Method (_S3D, 0, NotSerialized)
                {
                    If (LEqual (OSFL, 0x02))
                    {
                        Return (0x02)
                    }

                    Return (0x03)
                }

                Name (_PRW, Package (0x02)
                {
                    0x0E, 
                    0x03
                })
            }

            Device (USB4)
            {
                Name (_ADR, 0x001A0001)
                Method (_S3D, 0, NotSerialized)
                {
                    If (LEqual (OSFL, 0x02))
                    {
                        Return (0x02)
                    }

                    Return (0x03)
                }

                Name (_PRW, Package (0x02)
                {
                    0x05, 
                    0x03
                })
            }

            Device (USB5)
            {
                Name (_ADR, 0x001A0002)
                Method (_S3D, 0, NotSerialized)
                {
                    If (LEqual (OSFL, 0x02))
                    {
                        Return (0x02)
                    }

                    Return (0x03)
                }

                Name (_PRW, Package (0x02)
                {
                    0x20, 
                    0x03
                })
            }

            Device (USBE)
            {
                Name (_ADR, 0x001D0007)
                Method (_S3D, 0, NotSerialized)
                {
                    If (LEqual (OSFL, 0x02))
                    {
                        Return (0x02)
                    }

                    Return (0x03)
                }

                Name (_PRW, Package (0x02)
                {
                    0x0D, 
                    0x03
                })
            }

            Device (USE2)
            {
                Name (_ADR, 0x001A0007)
                Method (_S3D, 0, NotSerialized)
                {
                    If (LEqual (OSFL, 0x02))
                    {
                        Return (0x02)
                    }

                    Return (0x03)
                }

                Name (_PRW, Package (0x02)
                {
                    0x0D, 
                    0x03
                })
            }
i attached the dsdt i try to patch and the ioreg dump
please help a DSDT noob
Attached Files
File Type: zip Archiv.zip (107.0 KB, 8 views)
Reply With Quote
  #2  
Old 10-23-2009, 03:49 PM
thorazine74 thorazine74 is offline
 
Join Date: May 2009
Location: Spain
Posts: 411
I think you forgot to add the DTGP method to your code.

AsRock P45TS | C2D E8200 | GeForce 8600GTS
Mac OS X Snow Leopard 10.6.1 + Windows 7 Ultimate 6.1.7600 + Fedora 11
Reply With Quote
  #3  
Old 10-23-2009, 03:54 PM
CEOS CEOS is offline
Cheetah
 
Join Date: Oct 2009
Posts: 11
how can i do this ?

my system:
Intel Q6600
PNY 8800gts 512 (g92)
Gigabyte Ga EP45-DS3R (BIOS rev. F11e)
4gb DDR2 ram
snow leopard
XP Pro
Reply With Quote
  #4  
Old 10-23-2009, 03:59 PM
sk1nhd33t sk1nhd33t is offline
Jaguar
 
Join Date: Jul 2009
Location: Manila, Philippines
Posts: 77
read more here, start on post #43 by ApexDE

in most cases i get the error
Code:
/Users/David/Desktop/dsdt.dsl  4640:                             DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4063 -                               Object does not exist ^  (DTGP)
not an expert in dsdt and i could be wrong but i believe you need method DTGP on your dsdt to compile properly, try downloading DSDT-Se, the fix is there under dsdt hacks.

case: G4 QuicksilverSnow 10.6.2● Gigabyte G31M-ES2L rev1 F10 Bios ● Intel Core 2 Quad Q9400 ● XFX 9600GT Extreme Ed ● 4GB TeamElite Xtreeme 1066Mhz ● PCI 3port Firewire 400 ● PCI Linksys WMP300N v1 ● Apple Magic Mouse ● Apple Aluminum Keyboard ● 23inch Apple HD Cinema Display ● uMacbook Pro 2.4 ● MacMini 1.8 HT ● White 24 iMac 2.16 ●
Reply With Quote
  #5  
Old 10-23-2009, 07:49 PM
CEOS CEOS is offline
Cheetah
 
Join Date: Oct 2009
Posts: 11
thank you, get it working !



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.


my system:
Intel Q6600
PNY 8800gts 512 (g92)
Gigabyte Ga EP45-DS3R (BIOS rev. F11e)
4gb DDR2 ram
snow leopard
XP Pro
Reply With Quote
Reply