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 09-04-2009 03:28 PM

CPU-i is a utility I downloaded from applelife.ru (russian). I have used that in conjunction with CPUTEST w/ 4 instances running (prime95 like for Mac) to compare idle vs. fully loaded cpu readings. Another nice feature about CPU-i is it will list all of the p-states available for your CPU along with multiplier and voltage combinations for each, mine has six.

Using this information I should be able to add all six p-states to my dsdt. c-state information can be extracted from SSDT's and incorporated into dsdt also. I have found really good info on this including finished DSDT.aml for my processor (Q9550) but they were compiled on an Asus MB, so dsdt is quite different.

I plan on putting the software and some screen shots up this weekend.

Found good threads: http://www.insanelymac.com/forum/ind...owtopic=177497 and http://www.insanelymac.com/forum/ind...owtopic=145792 (although I dont believe SSDT loading at boot is needed as these tables can now be included in DSDT directly. I think....

EnzoFX 09-04-2009 09:53 PM

It would be extremely helpful if you can look at my dsd wwbsox! I was just beginning to think if It all started when I started using dsdt, prob not, but I just don't know what to think ATM.

I checked, and I believe my USB-Keyboard and Printer are affected at the same time, when affected. Maybe it's the BIOS version? Also, more rarely, there are times when my Display Color Profile isn't loaded, Launching Sys Prefs and clicking on Displays forces it to load properly. Maybe my GFX isn't set up properly through DSDT? I suppose I could try other settings in ACPI Patcher.

Can there be a conflict if I disable several things in BIOS, and the dsdt file has them all enabled, essentially? e.g. I disable all legacy ports/controllers.

I am on:
GA-P35-DS3L rev. 2
9800GT enabled with ACPI Patcher, as well as Ether, Sound.
Here is my dsdt.dsl file: http://kttns.org/0zjbl
and I want to verify, that all components/devices seem to work fine under Win7, which I dual boot into a few times.

wwbsox 09-05-2009 01:58 AM

When you look in system profiler. All your usb ports show as internal? Does the printer and keyboard show up under usb or high speed usb? I believe you stated you already tried disabling "Legacy usb" in the bios, maybe? I've read where that helped on other MB's but havent experienced your problem on the gigabyte p35 boards. I will take a look at your dsdt later tonight.

As far as disabling things in the bios... this will not change your dsdt. The dsdt is built from the full bios ROM, which has all ports/options available wether you have them selected in bios or not. Make sure you have updated your board to the latest available bios though. I have also read that this has fixed many bugs for other users.

If you think your dsdt may be causing the problem, try building one in acpi patcher from your downloaded bios rom file, and compile it with out all the patches and devices added. If you still have the problem, then you know it is something other than dsdt.

Snow 09-05-2009 07:48 AM

Quote:

Originally Posted by Ianxxx (Post 33410)
Can you re-run set up without installing I'm sure theres a way

Missed your post m8

I don't think setup assistant will even show my modded keyboard layout because it isnt included in the bundle.
I wish there was a way to extract the dat files in the bundle though so I could actualy mod the default belgian keyboard layout.

@wwbsox, your keyboard and mouse are listed as High Speed USB devices? because on my rig they are not but the printer is.

Thx for the above info btw and good luck with the dsdt patching

Snow 09-05-2009 07:57 AM

Quote:

Originally Posted by Snow (Post 33368)
And that sticked? dang, odd solution but hey if it works. I'm not going to reinstall though hehe.

btw, I just noticed I have my 8800GT listed in sys prof as PCI card. Everything works and I have input kDawgs code exactly as listed but without checking the proper PCI bus so at PCI0.

This is still ok right?

Thx

http://a.imagehost.org/0301/PCI.png

I haven't changed anything except remove the dsdt.aml from my root dir and keep it in E/E and the GFX is now listed as PCI-e

http://a.imagehost.org/0748/Nvidia.png

I'm not complaining though, just an odd observation, has a mind on its own apparently.

wwbsox 09-05-2009 01:56 PM

1 Attachment(s)
@Snow

My apple keyboard shows up in system profiler under high speed usb bus, my rocketfish apple mouse shows up just under usb. Also, I found a page that has the DSDT entry for your Q6600 to enable speedstep with all the p-states enabled. Gotta find the link again, I will get that to you later. I just need to find it for my Q9550.


Here is CPU-i.

Snow 09-05-2009 02:41 PM

Hmm, I really should get me one of those fancy apple keyboards. I guess the apple KB is USB2.0 and this Logitech Media KB is still at USB1.1.
Speedstep ey? I'm using VoodooPower in Leo, havent found a proper solution for Snow so that would be very welcome.
Thx a bunch for CPU-i m8, is that kext 64bit compatible btw?

Laters

ps. the above was a stupid mistake I made by checking PCI tab the first time and video tab on the second screenshot :/

Snow 09-05-2009 03:05 PM

http://img32.imageshack.us/img32/4159/statusvb.png

http://img245.imageshack.us/img245/4589/pstates.png

Temps in Leo are low 30's, especially now with colder climate. I guess it doesn't drop the voltage properly.

wwbsox 09-05-2009 05:48 PM

I'm having the same problem. The multiplier/ frequency drops but the voltage always stays at the highest p-state.

But there is a way to enter into dsdt, the p-states and c-states available for your cpu. Still researching this but I am going to give it a try.

Snow 09-05-2009 07:58 PM

Alright, good luck lad, don't break anything ;)

infinitek 09-06-2009 08:43 AM

Thanx for posting your dsdt wwbsox.... not only did it fix my USB ports allowing me to sleep..
but it also fixed my built-in audio on SL as well.....!!!!

I noticed 2 things i wanted to ask about.
Y did my serial-ATA go from ich9 to JMicron AHCI...??
How do you get rid of sound assertion lines on boot?

Thanx again.........

Snow 09-06-2009 12:14 PM

JMicron should be a diff path no? nothing to do with other ports. I still have 2 unknown devices which are prob the JMicron.
In Leo they were listed properly but I used a custom JMicron kext.

http://a.imagehost.org/0225/Jmicron.png

wwbsox 09-06-2009 06:55 PM

The ICH9/R (unsupported) didn't change, I just changed the device ID's to those of ICH10 (supported). Just kinda tricking mac OSX into thinking we are running supported hardware.

I have the Jmicron SATA disabled in the bios. Waiting for someone to compile the needed kext for 64bit support. Shouldn't be long as Apple has released SL sources.

As far as the sound assertion errors on boot. I haven't started working on those yet. But I think it is because the layout ID and Pin configs in the DSDT don't match what is in the HDA kext. The kext overrides those values... I think.

Once I finish adding native speedstep (p-states,c-states) to my dsdt, then I will start on the sound.

EnzoFX 09-07-2009 04:23 AM

Quote:

Originally Posted by wwbsox (Post 33607)
When you look in system profiler. All your usb ports show as internal? Does the printer and keyboard show up under usb or high speed usb? I believe you stated you already tried disabling "Legacy usb" in the bios, maybe? I've read where that helped on other MB's but havent experienced your problem on the gigabyte p35 boards. I will take a look at your dsdt later tonight.

As far as disabling things in the bios... this will not change your dsdt. The dsdt is built from the full bios ROM, which has all ports/options available wether you have them selected in bios or not. Make sure you have updated your board to the latest available bios though. I have also read that this has fixed many bugs for other users.

If you think your dsdt may be causing the problem, try building one in acpi patcher from your downloaded bios rom file, and compile it with out all the patches and devices added. If you still have the problem, then you know it is something other than dsdt.

Yeah, after applying the fix in this thread, my usb ports now show up as internal. Also, all my usb devices show up under a regular USB Bus, and not a "High-Speed" Bus, of which I have 2. There are 6 regular "USB Bus"

For BIOS settings, I have all legacy support disabled, except for KB support, because that'd render my usb keyboard useless at the Chameleon prompt, though I haven't tried since going to Cham 2.

I am also running the latest BIOS version, and built the dsdt from it.
I will try out a "clean" dsdt without fixes/patching, and see how that goes. In the meantime, any insight into my DSDT.dsl file would be greatly appreciated.

wwbsox 09-09-2009 01:46 PM

EnzoFX, have you tried any of the other dsdt's posted in this thread. Lanxxx and some others, have the same board that you are using. I dont have any USB disabled in bios. Just the onboard controller (jmicron) disabled.

EnzoFX 09-13-2009 09:03 AM

I see a dsdt for an EP35-DS3L, but not P35-DS3L, worth a shot?

The last few restarts have been good, but still no sleep on idle. Could it be because I have no DVD drive connected? I know some drives are causing issues, so what about having none, like I do? haha maybe I'm just hoping for a quick fix.

Edit:
In your guys' experience, if GFX is enabled through DSDT, is it simply a matter of it working or not working? I.e. QE/CI on or off. OR, can it be something where like it looks like QE/CI is on, but can still get graphical glitches that can mean something is wrong with dsdt implementation? I hope this makes sense.
Basically, my issue is that every now and then my display color profile isn't loaded @ login.

wwbsox 09-14-2009 02:18 PM

Havent had any graphical problems using dsdt for 8800gts. with SL QE/CI no longer shows up in system profiler. EP35/P35 should be very similar, same chipset. EP35 is supposed to be more energy efficient.

As far as sleep on idle. Mine works but.... It takes exactly five minutes after the display goes to sleep before the system sleeps. So if I set it to go to sleep in 1 hour, the display sleeps in an hour. But the computer stays on for an extra five minutes, then goes to sleep. No big deal to me though.

kramer2k 09-14-2009 02:54 PM

@VWbsox
Are you able to wake from your USB2.0 keyboard? I've got the newest apple kb, which is identified as Highspeed with EHCI, but I'm unable to wake from it. However, my logitech mouse, when plugged directly to a port (as opposed to the KB) will wake my machine.

Waking from my KB is important as I also have a BT mighty mouse, which can't wake it from sleep either.
Thanks

GA-P31-DS3L - e7200 - BFG 8800GT - 10.6.1 retail

Ianxxx 09-14-2009 04:19 PM

Quote:

Originally Posted by EnzoFX (Post 33411)

Anyone recommend a fix for my usb-kb not being detected every now and then on startup?
I'm on a GA-P35-DS3L, Cham2. GFX, Ether, this USB-fix, Legacy HDA, through DSDT.

Enzo if your still having this prob, I know it might sound stupid but make sure that your keyboard is plugged in to one of the usb sockets nearest the board, I sometimes have this glitch with my microsoft habu mouse but doesn't happen if I plug it in to one of those two ports "same board as you ga-p35-ds3l rev 2"

wwbsox 09-14-2009 06:16 PM

No I cant wake from my apple aluminum keyboard. I have a rocketfish apple mouse that wakes the system from sleep. I found a different dsdt setup for the ehci ports that I want to try (as soon as I find it again). If it works I will add it to the original post

Many people have had sucess waking with usb keyboard... if its not an apple keyboard.

sk1nhd33t 09-14-2009 08:14 PM

Quote:

Originally Posted by kramer2k (Post 34825)
@VWbsox
Are you able to wake from your USB2.0 keyboard? I've got the newest apple kb, which is identified as Highspeed with EHCI, but I'm unable to wake from it. However, my logitech mouse, when plugged directly to a port (as opposed to the KB) will wake my machine.

Waking from my KB is important as I also have a BT mighty mouse, which can't wake it from sleep either.
Thanks

GA-P31-DS3L - e7200 - BFG 8800GT - 10.6.1 retail

Quote:

Originally Posted by wwbsox (Post 34838)
No I cant wake from my apple aluminum keyboard. I have a rocketfish apple mouse that wakes the system from sleep. I found a different dsdt setup for the ehci ports that I want to try (as soon as I find it again). If it works I will add it to the original post

Many people have had sucess waking with usb keyboard... if its not an apple keyboard.

same here on my ES2L mobo, i have an aluminum wired KB w/o numpad and i cant wake my machine from sleep too, same goes to my wireless BT mighty mouse.. not an issue though since i barely use sleep but if anyone has a fix i would be the first one to try it :-d anyone tried the aluminum kb w/ numpad?

ow i also have an Apple wired KB (white one) and it wakes my machine fine, beats me why it works haha..

EnzoFX 09-14-2009 11:42 PM

Thanks lanxxx,
The last several restarts have been good, no screw ups, so next time it happens I will definitely try it out. My mouse is always the one that's connected closest to the MB. Now that I think about it, the Printer is on the second set of USB ports, which ALSO is on the further end, away from the MB. But then, where do I move that one to? haha there are only 2 ports closest to the MB =P

Anyways, is it possible to force a device to run at High-Speed? My mouse, a Logitech G9, isn't supported under OS X. I have worked well around this, but it is supposed to run at high-speed, but just doesn't under OS X. If I could fix this, it might make it feel as smooth as it does on Windows.

Snow 09-15-2009 07:25 AM

Quote:

Originally Posted by wwbsox (Post 34838)
No I cant wake from my apple aluminum keyboard. I have a rocketfish apple mouse that wakes the system from sleep. I found a different dsdt setup for the ehci ports that I want to try (as soon as I find it again). If it works I will add it to the original post

Many people have had sucess waking with usb keyboard... if its not an apple keyboard.

Yeah no issues here whatsoever, both devices (Logitech Media Keyboard and Creative Mouse 5500) wake the PC. I can't even make this happen in Windows :/ go figure.

wwbsox 09-16-2009 01:09 PM

Well I tried a few different dsdt usb configurations. Still no wake from sleep by apple keyboard. On my ep45-ds3l board this worked OOB, no dsdt modification. Must because that board is ICH10.

kDawg 09-16-2009 01:46 PM

Post DSDT
 
1 Attachment(s)
Have you posted your most current DSDT file somewhere? Let me take a look. Both my MOBOs woke on keyboard or mouse a GA-EP35-DS4 and GA-EP45-UD3P.

Update:
I grabbed your DSDT from an earlier post. Try the attached DSDT. I modified the EHCI devices. Also you should have your USB mouse and keyboard connected directly to the motherboard and not any kind of hub? If you're using Slice's IOUSBFamily.kext I would try reverting back to the vanilla. Let me know if this helps.

Attachment 676

Update #2:
Retract the last post. It seems you might have tried the approach I detail above.

wwbsox 09-16-2009 06:14 PM

@kDawg

On your DS4.... Are you using an Apple Aluminum Keybaord?

kDawg 09-16-2009 09:27 PM

Quote:

Originally Posted by wwbsox (Post 35061)
@kDawg

On your DS4.... Are you using an Apple Aluminum Keybaord?

It's an older extended Apple USB keyboard not an aluminum.

If you use the DSDT above do you get your EHCI devices showing up as ICH10 built-in?

xwin78 09-17-2009 09:24 PM

@wwbsox--will you post your most current DSDT. I am having issues with the SATA/USB fix not compiling & I have the same hardware set up except 8800 GT 512 instead of GTS.

Thanks

kDawg 09-17-2009 11:46 PM

Quote:

Originally Posted by xwin78 (Post 35149)
@wwbsox--will you post your most current DSDT. I am having issues with the SATA/USB fix not compiling & I have the same hardware set up except 8800 GT 512 instead of GTS.

Thanks


Take a look at this post:
http://www.infinitemac.com/f84/uhci-...post35037.html

xwin78 09-18-2009 12:36 AM

kDawg--thanks I saw this post & just wanted to be sure it was the MOST CURRENT DSDT file.

I read the entire thread...there have been so many hacks and revisions.

kDawg 09-18-2009 10:57 AM

Quote:

Originally Posted by xwin78 (Post 35162)
kDawg--thanks I saw this post & just wanted to be sure it was the MOST CURRENT DSDT file.

I read the entire thread...there have been so many hacks and revisions.


I created that DSDT so I know it compiles fine.

twr 09-18-2009 01:38 PM

1 Attachment(s)
hello there !

been working for a while on my dsdt using pieces of code taken here and there, and everything but keyboard/mouse (wired Apple alu. + Razer Diamondback plasma) wake-on-sleep and shutdown menu call from power button (even with the _CID trick ...)

for now, using retail 10.5.8 with boot-think 2.3.18 (modded AppleLPC, fakesmc v.2, CPUPMdisabler, R1000 & vanilla IONet + IOPCI and sleepenabler in D/L/E.mkext) ; EFI strings for TM / en0 builtin fix and video (GeForce 8800GS + 384 Mo DDR3 SDRAM, PEG) on a GA G31M-ES2L rev. 1.1.

I know it could look kind of rude, but kDawg, would you be kind enough to take a look at my .dsl (compiles fine, no error nor warning) and tell me what might be wrong ? :confused:

thx by advance.

kDawg 09-18-2009 03:01 PM

Quote:

Originally Posted by twr (Post 35200)
hello there !

been working for a while on my dsdt using pieces of code taken here and there, and everything but keyboard/mouse (wired Apple alu. + Razer Diamondback plasma) wake-on-sleep and shutdown menu call from power button (even with the _CID trick ...)

for now, using retail 10.5.8 with boot-think 2.3.18 (modded AppleLPC, fakesmc v.2, CPUPMdisabler, R1000 & vanilla IONet + IOPCI and sleepenabler in D/L/E.mkext) ; EFI strings for TM / en0 builtin fix and video (GeForce 8800GS + 384 Mo DDR3 SDRAM, PEG) on a GA G31M-ES2L rev. 1.1.

I know it could look kind of rude, but kDawg, would you be kind enough to take a look at my .dsl (compiles fine, no error nor warning) and tell me what might be wrong ? :confused:

thx by advance.

I'm not sure what you're saying is the problem. Do you have a sleep/wake problem?

twr 09-18-2009 06:53 PM

1°my usb keyboard & mouse aren't able to wake up OSX from S3 mode (whereas they do it in Windows) ;

2°I can put OSX into S3 mode with the power button if this option is activated in pref. sys., but when not, it does nothing ; it should make the shutdown menu show up.

I'm assuming it might be a DSDT issue.

edit: so sorry, I forgot some words ... I wanted to say : everything is working as it should, but USB wake-on-sleep & shutdown menu from power button.

wanna help me anyway ?

xwin78 09-19-2009 12:47 AM

Dsdt--sweetness!
 
Quote:

Originally Posted by kDawg (Post 35191)
I created that DSDT so I know it compiles fine.

Sorry--it was not an issue of compiling ---I wanted to make sure I got all the hacks for ethernet/usb etc.

I added some stuff and after 17 revisions I now have a fully functional SL machine w/ only 1 modded kext (thanks SNOW) for 5.1 Surround Sound!
that is more vanilla than my MacBook Pro.

Thanks to kDawg----wwbsox---SNOW and all you others!

kDawg 09-19-2009 01:25 PM

Quote:

Originally Posted by xwin78 (Post 35235)
Sorry--it was not an issue of compiling ---I wanted to make sure I got all the hacks for ethernet/usb etc.

I added some stuff and after 17 revisions I now have a fully functional SL machine w/ only 1 modded kext (thanks SNOW) for 5.1 Surround Sound!
that is more vanilla than my MacBook Pro.

Thanks to kDawg----wwbsox---SNOW and all you others!


That's great. Would you mind sharing your setup, i.e. what's in your extras folder?

xwin78 09-19-2009 07:16 PM

I'd be glad to:

Gigabyte EP35-DS3P Rev.2.1 w/F6c BIOS
Xeon E3110 (e8400)
EVGA 8800 GT 512

Chameleon 2 RC3
Extras folder includes: com.apple.Boot.plist, dsdt.alm, SMBIOS.plist
fakesmc.kext
IOAHCIBlockStorageInjector.kext
NullCPUPowerManagement.kext
OpenHaltRestart.kext
PlatformUUID.kext
SleepEnabler.kext

I am still working to get sleep enabled & tryign to reduce boot time...LONG compared to Leo

Thanks for your help

Jedric 09-19-2009 08:44 PM

Compile Error.
 
Need some help. EHCI is now working. I followed the guide to replace dsdt code for UHCI suddenly im getting this error on compile. I did this over and over and I always get the same error. I put the old code back and compiles ok. There was no reference on the original code that I replaced to this lines so I'm stummped.

Mac-Pro:Tools admin$ ./iasl dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct 4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl 9195: If (SS1)
Error 4095 - ^ syntax error, unexpected PARSEOP_IF

dsdt.dsl 9239: \_SB.PCI0.SBRG.SIOS (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.SBRG.SIOS)

dsdt.dsl 9240: \_SB.PCI0.SBRG.SPTS (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.SBRG.SPTS)

dsdt.dsl 9241: \_SB.PCI0.NPTS (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.NPTS)

dsdt.dsl 9242: \_SB.PCI0.GFX0.OPTS (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.GFX0.OPTS)

dsdt.dsl 9248: \_SB.PCI0.SBRG.SIOW (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.SBRG.SIOW)

dsdt.dsl 9249: \_SB.PCI0.SBRG.SWAK (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.SBRG.SWAK)

dsdt.dsl 9250: \_SB.PCI0.NWAK (Arg0)
Error 4063 - ^ Object does not exist (\_SB.PCI0.NWAK)

dsdt.dsl 9251: \_SB.PCI0.GFX0.OWAK (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.GFX0.OWAK)

ASL Input: dsdt.dsl - 9256 lines, 295803 bytes, 4252 keywords
Compilation complete. 9 Errors, 0 Warnings, 0 Remarks, 0 Optimizations


Original DSDT code that is being replaced.

Code:

Device (USB0)
            {
                Name (_ADR, 0x001D0000)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,  2,
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x03, 0x04))
                }
            }

            Device (USB1)
            {
                Name (_ADR, 0x001D0001)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,  2,
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x04, 0x04))
                }
            }

            Device (USB2)
            {
                Name (_ADR, 0x001D0002)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,  2,
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0C, 0x04))
                }
            }

            Device (USB3)
            {
                Name (_ADR, 0x001D0003)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,  2,
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0E, 0x04))
                }
            }

            Device (USB4)
            {
                Name (_ADR, 0x001A0000)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,  2,
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0E, 0x04))
                }
            }

            Device (USB5)
            {
                Name (_ADR, 0x001A0001)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,  2,
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x05, 0x04))
                }
            }

            Device (USB6)
            {
                Name (_ADR, 0x001A0002)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,  2,
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x20, 0x04))
                }
            }
        }


wwbsox 09-20-2009 12:45 AM

If you could...post the entire dsdt.dsl before any changes. I will try to patch the dsdt and recompile. The errors list different line numbers to look at, but without a complete dsdt I cant track those down.

Also, what hardware are you using, this info may help people with the same setup offer help.

xwin78 09-20-2009 02:30 AM

@ wwbsox

could you post your DSDT file---I would like to compare it to mine for order etc.

thanks

Jedric 09-20-2009 03:04 AM

dsdt
 
1 Attachment(s)
Here you go folks.

Jedric 09-20-2009 05:57 AM

Apparently my EHCI was being detected built-in even without the DSDT. So its just the UHCI that im really having problems with being detected as Expansion slot.

AppleUSBUHCI[0x6e76000]::start unable to initialize UIM

twr 09-20-2009 09:24 AM

nobody wanna help me ? pleeeease.

ohwhyme 09-21-2009 12:44 AM

I have a P35-DS3P and I just downloaded your dsdt.aml file and the ethernet works, sound, sata is displayed as ich10 but cant seem to wake up the computer with the keyboard or mouse. My old dsdt showed the removal device when I woke up from sleep and my pci network card worked so now I can just use the internal card :) I have the apple aluminum keyboard as well hehe. The Usb mouse works for waking up which is odd but the keyboard doesnt do anything. Does hibernate work for anyone? Does wake from bluetooth work for anything? I read the only way you can wake from bluetooth is via internal apple or a dlink 120 bluetooth adapter is this true?

kDawg 09-21-2009 10:31 AM

Quote:

Originally Posted by twr (Post 35216)
1°my usb keyboard & mouse aren't able to wake up OSX from S3 mode (whereas they do it in Windows) ;

2°I can put OSX into S3 mode with the power button if this option is activated in pref. sys., but when not, it does nothing ; it should make the shutdown menu show up.

I'm assuming it might be a DSDT issue.

edit: so sorry, I forgot some words ... I wanted to say : everything is working as it should, but USB wake-on-sleep & shutdown menu from power button.

wanna help me anyway ?

#1: You have a ICH7 motherboard? If you've tried the USB/EHCI pathces in the attached DSDT file then you might have to try Slice's IOUSBFamily.kext. The problem might be that your USB/EHCI port aren't being reported as "built-in". Other than that as long as your keyboard and mouse are attached directly to the back of your motherboard it should work. Try Slices' kext and see if that fixes it. If so there may be something else going on. Perhaps a BIOS setting.

I believe your #2 problem is normal behavior for a OSX86 machine. When I push my power button my sleep menu does not show up. It will however go to sleep.

This patch had at one point worked for me. It doesn't anymore.
http://www.infinitemac.com/f84/vario...post21188.html

k

wwbsox 09-21-2009 11:30 AM

@xwin78

My DSDT is in the original post.

Also, does anybody have an old USB 1 hub? I'm working on getting the Apple aluminum keyboard to wake the computer from sleep.

My Rocketfish apple mouse will wake the computer as it is detected as USB 1 (UHCI), my keyboard is detected as High Speed USB (EHCI). My theory is that if the keyboard was plugged into an old USB hub and not detected as high speed.... It might work then. Unfortunately I dont have an old hub to test.

osxfr33k 09-21-2009 06:22 PM

My DSDT Won't compile when I added the Graphics section Please Help
 
I have the Asus Maximus Formula and the GA-EP35-DS$ very similar to the posts here.

I used DSDTSE and all the fixes are in place. DTGP, HPET and RTC. I am trying to figure out exactly where the graphics section go. Here is the one I tried to fix, look in the section DEVICE (PCI0). Its very obvious where I started the the code. I could not move it over to the left and align everything.

Do I need to start the code right under DEVICE (PCI0)? I started the code right between DEVICE (PCI0) and Name (_HID, EisaId ("PNP0A08")). I have a feeling I have placed it incorrectly or something?

Is there an easy way in DSDTSE to insert the code generated into the main editor and have it automatically go to the correct section and insert correctly?

File Attached

osxfr33k 09-21-2009 06:28 PM

1 Attachment(s)
Sorry the file did not attach the first time before I clicked Submit. I see there was a Submit below where the attached window was so I had to post this file in a reply. Sorry about that. Any help on formatting this correctly would be greatly appreciated!!

sk1nhd33t 09-21-2009 06:35 PM

@wwbsox

hopefully we can find a fix for our aluminum keyboard waking from sleep, on my ES2L mobo it's the only thing that's missing since automatic sleep is now working thanks to PleaseSleep :)

BTW are you using the one with num pad or without?

twr 09-21-2009 06:52 PM

Quote:

Originally Posted by kDawg (Post 35431)
#1: You have a ICH7 motherboard? If you've tried the USB/EHCI pathces in the attached DSDT file then you might have to try Slice's IOUSBFamily.kext. The problem might be that your USB/EHCI port aren't being reported as "built-in". Other than that as long as your keyboard and mouse are attached directly to the back of your motherboard it should work. Try Slices' kext and see if that fixes it. If so there may be something else going on. Perhaps a BIOS setting.

I believe your #2 problem is normal behavior for a OSX86 machine. When I push my power button my sleep menu does not show up. It will however go to sleep.

This patch had at one point worked for me. It doesn't anymore.
http://www.infinitemac.com/f84/vario...post21188.html

k

gonna check my EHCI/UHCI DSDT.dsl editing ...

my mobo is a G31M-ES2L : it looks as if I'm not the only one facing its USB/sleep issues !

my BIOS settings are OK (S3 + USB wake from S3 in advanced options) : if the DSDT trick doesn't make it, I'm gonna try the Slices' .kext.

thx for your help !