InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #151  
Old 01-19-2010, 06:07 PM
twistoflemon twistoflemon is offline
Cheetah
 
Join Date: Feb 2008
Posts: 9
Is there a guide somehwere of how to do this? I try using dsdt patcher but when adding the usb code I get compilation errors.

As my ehci usb are also listed as expansion slots I'm hoping this might also help with some other usb problems I'm having like bandwidth problems for my usb webcam...
Attached Files
File Type: txt lspci.txt (2.5 KB, 21 views)
File Type: zip dsdt.aml.zip (6.2 KB, 16 views)
Reply With Quote
  #152  
Old 01-19-2010, 06:38 PM
stayupforever90's Avatar
stayupforever90 stayupforever90 is offline
Cheetah
 
Join Date: Jul 2009
Posts: 7
What i would say is download an app called DSDTSE it is a very good place to start. I found it very helpful also look at threads about DSDT for your motherboard. All the best and respect to all here

Intel Core 2 Duo E6600 @ 3.0 Ghz (Water cooled) • Gigabyte GA-G33M-DS2R • 4GB DDR2-800 MHz @ 1002 MHz• GeForce 8800 GTS 512MB • Edirol UA25 USB sound card • All DSDT Fixes only kext in Extra folder Fake SMC v2.5 • Chameleon RC4 with PC EFi v 10.5 boot• Mac OS X 10.6.2 (Totally Vanilla) • Windows 7 • Unbutu 9.10
Reply With Quote
  #153  
Old 02-20-2010, 03:07 AM
EnzoFX's Avatar
EnzoFX EnzoFX is offline
Puma
 
Join Date: Sep 2009
Posts: 19
So I just got a BT Apple KB, and can't wake from sleep with it. Also, doesn't even re-connect or stay connected (however it's supposed to work) after waking. I have to manually disconnect and re-connect it.
I have this UHCI/EHCI implemented, is there something else I can try? Or should I just try another BT adapter. This is the second one I've tried, the first one is an old BT v1.1, and this is a v2.1.
I believe Apple only officially supports a D-Link, and even that one has some revisions that don't allow this functionality. I have found a Kensington that's known to work for someone else, and they are using the UHCI/EHCI fix implemented in Chameleon2. I'd hate to just go out and buy it and it still not work for me.
Any ides are welcomed, thanks guys.
Reply With Quote
  #154  
Old 03-07-2010, 10:03 PM
xzeroGx xzeroGx is offline
Cheetah
 
Join Date: Jan 2009
Posts: 1
BT dongle & _WAK mod for wake

Quote:
Originally Posted by EnzoFX View Post
I'd hate to just go out and buy it and it still not work for me.
Any ides are welcomed, thanks guys.

Hey EnzoFX,

i've got a Targus ACB10US-B (the silver 4cm one)
bought it in the US for 7$...(shipping to europe was very expensive...)

wake from sleep works via mouse, wired apple alu KB and wireless BT apple KB.
i'm on a Gigabyte G33M-DS2R on 10.6.2 via DSDT mods.




to all who have problems with wake from sleep with a USB 2.0 device:

check your _WAK section in DSDT.
after various tests, i found the solution for me:

the section for "If (LEqual (Arg0, 0x04))" should look like this:
(maybe this works only on my board...)
....
If (LEqual (Arg0, 0x04))
{
If (LEqual (OSFL, Zero))
{
Store (0x58, SMIP)
}

If (LEqual (OSFL, One))
{
Store (0x56, SMIP)
}

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

If (LEqual (OSFX, 0x03))
{
Store (0x59, SMIP)
}
}
...

Before patching, there were some nested if clauses... i deleted them and left only the code above. Maybe this helps someone
sorry for my english.

greets

xzeroGx
Reply With Quote
  #155  
Old 04-03-2010, 05:54 PM
Stone-D Stone-D is offline
Cheetah
 
Join Date: Apr 2010
Posts: 8
Those look like operating system checks.

10.6.3 @ Asus P5K-SE : BIOS 1104
>>[email protected] :: 4Gb RAM Corsair :: Asus-EN8800GT@512
10.6.3 @ Asus G60Vx RBBX05 : BIOS 205
>>[email protected] :: 4Gb RAM :: GTX 260M@1024
DOS, Windows 7, OSX 10.6.2 via AsereBLN 1.1.9
Reply With Quote
  #156  
Old 07-04-2010, 12:42 AM
thepiecesfit thepiecesfit is offline
Cheetah
 
Join Date: Jun 2010
Posts: 2
Quote:
Originally Posted by wwbsox View Post
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.
You are the man. This fixed my issues on p35-DS3L and now i can wake my 10.6.4 hack using the keyboard !
Reply With Quote
  #157  
Old 07-10-2010, 09:13 PM
wwbsox wwbsox is offline
Jaguar
 
Join Date: Jul 2009
Posts: 58
No problem... Its been sooo long since I have been on this board. Glad to see some people are still using the information. I just finished putting together a machine for a friend that is having this exact problem. Hopefully it will work for his too.

GA EP35-DS3P - Intel Q9550 - 2 X 2GB Dominator 1066Mhz, EVGA 8800GTS 512MB
2x320Gb SATA in Software Raid 0, 1x1.5TB for Time machine and storage (Geekbench 6293)
10.6 Retail 64bit Using DSDT for audio-889a, video-8800gts, ethernet w/TM fix, USB fix, and SATA fix.
MacBook 2,1 - 10.6 Retail
MacBook 3,1 - 10.6 Retail
Reply With Quote
  #158  
Old 07-21-2010, 07:43 AM
Mack N Tosh Mack N Tosh is offline
Cheetah
 
Join Date: Jul 2010
Posts: 1
Can this work on a netbook?

Hi folks!
Any idea if this fix can work on a hackintosh netbook? (It dismounts/crashes USB disks after sleep.) Any ideas? I realize this is an old thread.
thanks. Peace.

Last edited by Mack N Tosh; 07-22-2010 at 01:03 AM.
Reply With Quote
  #159  
Old 08-16-2010, 08:15 AM
Epal Epal is offline
Cheetah
 
Join Date: Aug 2009
Posts: 9
Hi all, well good news, it fix a part of the issue.

Now i can wake from an usb mouse directly connected to the mobo.

But i cant from the apple alu keyboard, although it is detected during sleep !!!

16/08/10 08:10:28 kernel Wake reason =
16/08/10 08:10:28 kernel System Wake
16/08/10 08:10:28 kernel USB (EHCI):Port 3 on bus 0xfd has remote wakeup from some device
16/08/10 08:10:28 kernel The USB device Keyboard Hub (Port 3 of Hub at 0xfd000000) may have caused a wake by issuing a remote wakeup
16/08/10 08:10:28 kernel The USB device Apple Keyboard (Port 2 of Hub at 0xfd300000) may have caused a wake by issuing a remote wakeup

but i had to wake up using power button or mouse to do this, then in the console, i see the USB controller saw the tries to wake up from USB keyboard !


Help ! what can i do to fix this ?


I've got GA P35 DS3R

here"s my DSL
Attached Files
File Type: zip DSDT.aml.zip (6.6 KB, 6 views)
Reply With Quote
  #160  
Old 09-26-2011, 10:48 PM
hackaroni hackaroni is offline
Cheetah
 
Join Date: Sep 2011
Posts: 1
Thank you!

Wow, 2 years later and @wwbsox's original post of the DSDT USB fix worked for me on a Gigabyte EP45-UD3P ... I believe it's ICH10R. Had success doing this method twice, once for the same board under 10.6.8 and one under 10.5.8.

I used these basic instructions http://tonymacx86.blogspot.com/2009/...r-dsdtaml.html to extract, modify, and compile my DSDT but had to add two fixes. Steps 1-4, 7, 8, 9.

Here's the general idea:
1) You get the DSDT tool, install it, and use it to extract your DSDT
2) You use Tonymac blog instructions about adding "Method DGTP" before the _WAK area... you only use part of the fix he mentions so don't copy/paste the whole thing...the important part of the "method" is at the beginning and then it has a sample area.
3) You find the USB section that starts with "Device (USB0)" and you'll replace the entire USB sections with the text from @wwbsox's fix in the first post here. You're basically swapping out the USB sections. I left a one-line space before and after my insertion.
4) If you just try to compile now, you'll probably get some warnings and errors so
5) One of the TonyMac comments tells you the first fix 'The gigabyte-included DSDT is flawed and will not compile. In the two error lines, change the first Local0 parameter to "Zero" (without the quotes).' What they mean is that there are two areas where you will see (Local0, Local0) and you want it to look like (Zero, Local0)
6) And add this at the end of the _WAK Method:
Return(Package(0x02){0x00, 0x00})
7) If you do it right, when you go to compile your DSDT you won't get any warnings.
8) I moved mine to /Extra, renamed it from dsdt.aml to DSDT.aml... and did a sudo chown 0:0 on the DSDT.aml file (or sudo chown root:wheel if you prefer) and sudo chmod 755 on it for good measure... and repaired permissions.... then I restarted.
9) This enabled me to sleep/wake USB drives with no device removal errors! Wooohoooo! I have used some alternative IOUSBFamily.kexts before but believe I can remove them now... If your system hangs or something, you can probably boot into single user mode (-s) and remove the DSDT.aml file from there (rename it to DSDT.bak if you want)

Good luck everybody!



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

Reply With Quote
Reply