InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   UHCI/EHCI Built in with dsdt fix (http://infinitemac.com/showthread.php?t=3849)

wwbsox 08-31-2009 12:29 AM

UHCI/EHCI Built in with dsdt fix
 
2 Attachment(s)
First the issues, than the fixes.

My usb1 (UHCI) and usb2 (EHCI) ports were showing up in system profiler as "expansion slots". This was causing 2 main problems for me. First, I had to use the power button to wake the computer from sleep. Second, if I had a usb drive plugged in when the computer went to sleep, I would get a "device removal error" when the computer woke from sleep.

I combined two different dsdt fixes I found. One fixed UHCI but not EHCI, the other did just the opposite.

I combined the dsdt fix for UHCI found here: http://www.insanelymac.com/forum/ind...c=168014&st=20

and the EHCI fix found here:
http://www.insanelymac.com/forum/ind...&#entry1240686

Now I can wake the computer from sleep by clicking my USB mouse and I dont have to eject USB drives before putting the computer to sleep. I also do not get the "controller will be unloaded across sleep" error when booting in verbose mode.

This works great on ep-35-ds3p, but should work for most ich9 and ich10 gigabyte boards, since device id's were changed to match ich10.

Also, pay attention to the usb device with address 0x001D0003, for me it was US31, dont edit this device.

omargoa 08-31-2009 01:32 AM

your links doesn't work ...

wwbsox 08-31-2009 01:52 AM

Thanks. Links got truncated somehow. fixed now.

Ianxxx 08-31-2009 02:06 AM

Yeh these are pretty cool fixes, no patching of kexts anymore

wwbsox 08-31-2009 03:11 AM

Apex gets credit for the EHCI fix.

On another note. The SATA fix in the first link works great even for ich9 board like mine. AHCI now shows up as ich10 in system profiler instead of "unknown ahci controller". Dont have an SATA section in my dsdt, but IDE1 had the same address so I added that method there and it works.

Snow 08-31-2009 07:18 AM

Hi m8,

I have the same issue. Sometimes my keyboard and mouse would not work. I say would because those chameleon commands (USB related) do seem to fix that.
I still have the expansion slot issue though and have to wake up from sleep with case power button.
I added the content in dsl but get these errors when trying to compile (I already have the DTGP section in my dsdt)

Code:

/Users/Snow/Desktop/dsdt.dsl  4032:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4066:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4100:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4134:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4188:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4222:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4267:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4306:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

Any ideas? Thx

Ianxxx 08-31-2009 09:25 AM

1 Attachment(s)
Quote:

Originally Posted by Snow (Post 32868)
Hi m8,

I have the same issue. Sometimes my keyboard and mouse would not work. I say would because those chameleon commands (USB related) do seem to fix that.
I still have the expansion slot issue though and have to wake up from sleep with case power button.
I added the content in dsl but get these errors when trying to compile (I already have the DTGP section in my dsdt)

Code:

/Users/Snow/Desktop/dsdt.dsl  4032:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4066:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4100:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4134:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4188:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4222:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4267:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4306:                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -  Object is not accessible from this scope ^  (DTGP)

Any ideas? Thx


Hi I have attached my dsdt its for ga-p35-ds3l, if you search DTGP you should find the code your missing

Snow 08-31-2009 09:32 AM

Will take a peek, thx a lot m8 ;)

Snow 08-31-2009 09:47 AM

Tried it (I had DTGP in the wrong section) but now this error pops up.

bloody dsdt!

Code:

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 22 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

/Users/Snow/Desktop/dsdt.dsl  203:        OSTP ()
Error    4063 -          Object does not exist ^  (OSTP)

/Users/Snow/Desktop/dsdt.dsl  254:            }Method        Notify (\_SB.PWRB, 0x02)
Error    4095 -                                      ^ syntax error, unexpected PARSEOP_METHOD, expecting $end


Elapsed time for major events


Miscellaneous compile statistics

        456 : Parse nodes
        82 : Namespace searches
        47 : Named objects
          4 : Control methods
        10 : Memory Allocations
    188850 : Total allocated memory
          0 : Constant subtrees folded

ASL Input:  /Users/Snow/Desktop/dsdt.dsl - 5646 lines, 189478 bytes, 96 keywords
Compilation complete. 2 Errors, 0 Warnings, 0 Remarks, 0 Optimizations


wwbsox 08-31-2009 10:49 AM

dsdt for ep35-ds3p
 
1 Attachment(s)
@snow

The last error is just a syntax error. Just need to "cross your t's and dot your i's"
Probably a missing comma, or spacing.

Compare with mine.