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)

sk1nhd33t 09-21-2009 07:08 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.

it wont work, tried a few dsdt patch on leo and snow and still the KB wont wake my machine from sleep.. we have the same mobo and kb except that for the mouse im using wireless mighty mouse. I can wake from sleep using a keyboard if i use my old wired apple keyboard (plastic w/ white clear keys).

for the PWRB dsdt hack, same goes here. my machine just sleeps but it's not showing the shutdown menu :( .. not a biggie though, im much more interested in waking from sleep using a Kb instead of my power button.

wwbsox 09-21-2009 11:33 PM

@osxfr33k if you could post your entire dsdt it would be much easier to fix.

@sk1nhd33t I am using the extended keyboard (with number pad)

EnzoFX 09-22-2009 12:42 AM

If your still using IOAHCIBlockStorageInjector and/or AHCIPortInjector, try the SATA Fix, then you can omit those 2 kexts.

I also want to add that with this fix, I can wake from sleep with usb kb+mouse. I am using an old MS Keyboard, and a Logitech G9.

My power button can only sleep the system with the setting ticked in sys prefs. This is after the pwrb dsdt fix. Otherwise, with the option disabled, it does nothing.

My snow leopard is running beautifully. I have but one issue, that is switching between spaces, it is laggy!. I don't think this is on my side, because every other thing is incredibly smooth, smoother than Leopard, and this animation in Leopard worked well. Am I correct in assuming this much?

I think a few real mac users are experiencing this, and there is one "fix" that involves messing with QE, and I'm not sure I'm ready to do that. Some reported it went away eventually, other say it's only when booting in 64bit, which alludes to the issue residing on apple's drivers? I dunno... Right now, I'm just trying to ignore it...

wwbsox 09-22-2009 12:54 AM

Alright.... Still working on wake from apple keyboard issue. But I think we are the right track with the USB1 theory. It is because the keyboard is detected as usb2 that it will not work.

In my bios, under integrated peripherals, I can disable USB2 controller. With this disabled the apple alum. keyboard wakes the system from sleep every time.

Not a real fix, especially if you are using external USB drives (mine are eSATA). Another problem is that only 2 of the 8 rear USB ports on the board work with USB2 disabled.

But I do believe that if someone tried the keyboard plugged into a USB1 hub, that it might work... as far as waking system from sleep.

All this leads me to believe that the EHCI portion of the DSDT could be changed to resolve this. I have tried 4 or 5 different EHCI "fixes" and none have worked. But the answer is out there somewhere... I'll keep looking.

ohwhyme 09-22-2009 01:59 AM

does that mean that I can turn off that option and 2 of the ports will be usb 1.1 and the rest will be 2.0? That would work fine for me :p.

osxfr33k 09-22-2009 02:06 AM

2 Attachment(s)
wwbsox here ya go. The DSDT.dsl is the one that works I would say 100% except for the graphics not being inserted. I used DSDTSE to create the DSDT.dsl. The dropdown had separate fixes for DTGP, HPET and RTC etc and it seems that they must have gotten put into place or maybe not? I am not sure if powermanagement is working but I have sleep/awake/restart/shutdown is flawless. USB no problems.

Graphics is 7300GT 256mb, which I have changed a few things as you will see in the dsdt-graphics.dsl file. Also will be putting in a 9800 GT 512MB one day to

I would like to incorporate that into the DSDT.dsl and remove the EFI string from the com.apple.boot.plist if its possible. The Marvell Lan's work Great!! I do see kexts for the marvel in my Extra/extensions so I would like to have that ready made in the DSDT so I don't have to load them unless its not being used and its already fixed in the DSDT file?

I am unsure if the CMOS fix was done but I don't suffer any changes in my Bios? I am in Snow 10.6.1 using an Asus Maximus Formula X38 chipset with the latest Bios. I also have the GA-EP35-DS4 gigabyte that I willbe working on next after I solve the remaining minor details on this ASus Board.

I am attaching now. Hope you can help and greatly appreciated to. dsdt.dsl's generated by DSDTSE.

CAn you let me know exactly where the Graphics-dsdt.dsl script should be placed or maybe place it for me so I can see. I think I shoul dhave maybe put it further down the Device (PCI0) script or not? I got scripting erros when I merged it between the Device (PCI0) and Name (_HID, EisaId ("PNP0A08")).

Should it be placed somewhere else?

Thanks

EDITED a Few Minutes later.

It does not look like I have the RTC, CMOS nor PWRB fix? I assumed it was put into place with DSDTSE. Now I wonder if HPET and DTGP fixes are in place? If not its weird how well the DSDT is working so far except a major crash when I launch Chess is OSX. I verfied with other utils etc that acceleration is working fine.

wwbsox 09-22-2009 10:55 AM

@osxfr33k

Not all MB need the CMOS reset fix for Snow (Your Gigabyte will though)

I looked at it real quick. Method DTGP is in your DSDT, but i dont think think the placement of the graphics section looks correct. So lets get that fixed so you can remove the string from your boot.Plist.

I downloaded the latest bios rom for your board from Asus. I am going to generate a DSDT with ACPI Patcher in windows with all the fixes and graphics included.

Using that... I can compare the graphics sections and fix your DSDT. I will also upload the newly generated DSDT for you to try (after work).

wwbsox 09-22-2009 11:07 AM

@ohwhyme

No.... Unfortunately on my board, when I disable USB2 Controller in the bios, only 2 of the rear usb ports work (USB1) and no USB2 at all. I didn't test it much, just moved the mouse from port to port. The mouse worked in only the 2 bottom ports on the board. Didn't test the 2 front usb ports. And of course the 2 USB ports on the keyboard work.

USB2 is not port specific (that would be great), its device specific. No matter what USB port you use if you plug in a USB2 device, it will register as such. Same for USB1.

The problem is... trying to get the keyboard registered as USB1. This will fix wake from sleep issue.

Jedric 09-22-2009 02:04 PM

Quote:

Originally Posted by wwbsox (Post 35303)
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.

wwbsox did you get a chance to look at my dsdt, pertaining to the errors I was getting when replacing the USB0-USB6?

Thanks

osxfr33k 09-22-2009 06:45 PM

3 Attachment(s)
wwbsox, If you do that I would feel more comfortable to donate. I am the kind of person that if someone can do you a favor you should return the favor as well. Please PM you paypal address. I have to check my bios make sure its the latest one. I am sure it is from december2008/jan 2009.

That seems to be a very compatible board with osx86.

Could you send me one with graphics and without. Reason is because it seems chameleon is handling my 7300GT well. Dunno about when I install my 9800 GT 512 mb card? Will the dsdt have to be extracted again with a different Graphics card as long as the code for it is not in the dsdt?

Could I have the source or .dsl file with it to so I can compare it to a couple I have already.

Not sure about the Dual Marvel Lan but most users have to have a kext for it in the extra/extensions.

The new version of DSDTSE seems to automatically put in the three fixes RTC, DTGP and HPET even though they are in the drop down hack menu?

I wish there aw a tutorial on where to actually place the hacks in DSDTSE?

I get a kernel panic when I launch Chess and only Chess. I have checked Acceleration with the usual ways with no panics.


I have BIOS Version 1302 back in December 2008 is when that was released. The DSDT.aml is the one extracted from the Linux Ubuntu Live CD. The DSDT.dsl-working_but-possibly-not-all-fixes.zip shoudl be the one I already attached for you. The log.txt.zip I think I already attached from my prior thread but here it is again just in case

Thanks again


EDITED a few hours later:


I did not think about this but let me also send to you the DSDT.aml created in Ubnuntu 9.04 Live CD because that DSDT.dsl I sent you was created on a nearly working Asus Maximus Formula in Snow. So I am not sure if it is extracting some of the exsiting DSDT already loaded from the /extra folder or not? I am also attaching my error log file again about the graphics and really important my ioreg dump from leopard. Just in case you need them.

EnzoFX 09-23-2009 12:47 AM

If you get your 9800gt working perfectly in Snow LMK your method!

I got it enabled through DSDT and for some reason, switching between spaces is noticeably choppy.

I also have an initialization issue/display sleep issue. It only arises when: The display is about to sleep and before the monitor even finishes going into standby mode, quickly move the mouse to wake it up, and I get this grey static image for a few seconds or more.
So only in this instant does it happen, maybe with Chameleon's vga rom injection this could be fixed? I should look into that.

wwbsox 09-23-2009 01:21 AM

1 Attachment(s)
@Jedric

I added the fixes for usb0-usb6. I did not change the EHCI area as you stated that was working for you. It compiled with no errors. There were a few warning... related to section in your DSDT that has something to do with vcore voltage settings, but this did not prevent it from compiling. Attached is the .dsl and compiled .aml. Give them a try. If you compare the usb sections you will notice the changes. Good luck.

wwbsox 09-23-2009 01:49 AM

1 Attachment(s)
@osxfr33k

I compiled a dsdt using the latest bios rom for your board. Had some overflow error while compiling it. Might be a thing with the Asus board?? But the graphics section was added.

I am attaching the graphics section of the dsdt in a text format. Also, I am including the .dsl generated by ACPI patcher in windows (for reference) so that you can see exactly where this portion belongs in the PCI0 section. Hope this works for you.

Jedric 09-23-2009 02:23 AM

Quote:

Originally Posted by wwbsox (Post 35590)
@Jedric

I added the fixes for usb0-usb6. I did not change the EHCI area as you stated that was working for you. It compiled with no errors. There were a few warning... related to section in your DSDT that has something to do with vcore voltage settings, but this did not prevent it from compiling. Attached is the .dsl and compiled .aml. Give them a try. If you compare the usb sections you will notice the changes. Good luck.

BIG THANKS wwbsox. Works great :)

sylvester328 09-23-2009 02:46 AM

Quote:

Originally Posted by wwbsox (Post 35540)
@ohwhyme

The problem is... trying to get the keyboard registered as USB1. This will fix wake from sleep issue.

I think even if you manage to do that, it is not really a solution. The Apple aluminium keyboard is a USB2 device because it is in fact a USB hub with two USB ports at both end. Will making it a USB1 device crapple the transfer speed of those ports? If so, I'll rather connect my mighty mouse (USB1 device) to a separate port on the motherboard and click on the mouse to wake up my hac.

wwbsox 09-23-2009 03:27 AM

@sylvester328

Yes, that would reduce the usb ports on the keyboard to USB1 also. Not sure... but I think those ports are usb1 anyways. The reason I say this is that when I plug a USB2 device into them, I get a message that the device needs more power than the port can provide, SL automatically ejects the device after that. Hmmm?

Yet, I have many request however from individuals that need the wake from keyboard function enabled on an apple aluminum kb. This is only one solution.

As I have stated before. I believe there is a way to patch the EHCI section of the dsdt to enable this on a high speed usb port. Just havent found it yet.

My keyboard wakes the system just fine on a EP45-DS3L with no patching at all. Not so on the EP35-DS3P.

osxfr33k 09-23-2009 04:48 AM

1 Attachment(s)
wwbsox Thanks so much. Couple quick questions. I inserted the audio part where you have it but I get an error?

This stuff here was right after PCI0 but now I noticed its at the end of the graphics script and the number in "Name (_HID, EisaId ("PNP0A03"))
Name (_ADR, Zero)
Method (^BN00, 0, NotSerialized)"

which was PNP0A08 is now PNP0A03. if I change it back to 8 I get an error so I left it alone. SO what happened to this section below? LIke I said I see it at the end of the graphics script now with a "3" instead of 8?

Name (_HID, EisaId ("PNP0A08"))
Name (_ADR, Zero)
Method (^BN00, 0, NotSerialized)
{

I even compiled your dsdt and OSX stops at the 4096 cluster and io something.

Here is the log.

wwbsox 09-23-2009 11:59 AM

1 Attachment(s)
@osxfr33k

First, keep your audio where it was. ACPI Patcher only inserts audio for alc888 and 889a codecs. Which your board doesn't have. I only generated it to see the graphics info.

Next, as far as the exact placement of the graphics info... This is where ACPI patcher put it. I don't know if it makes a difference and I don't have this board to test it.

Next, as far as the 8 or 3 thing. Don't know either. I compiled the DSDT from the bios rom file for your mother board (v1302). I have checked a few others (both Asus and Gigabyte) and all the ones I have worked on have: Name (_HID, EisaId ("PNP0A03")) under this device.

Lastly, I attached the .dsl, I forgot... For some reason, if I create a .dsl with ACPI patcher in windows, it will not compile using iasl in macOSX. Yet, if I create the .aml in windows... it will decompile and recompile fine. So this attachment has the .aml (for reference).

The best method for you is to use the DSDT you have that works. And add/change it with fixes/patches, instead of trying to use this .aml. I have no way of testing this DSDT without having the MB.

Good Luck

osxfr33k 09-23-2009 04:22 PM

Thanks will work on it some more. Is this extracting/patching etc similar to true hacking where one takes a compiled source code and dissasembles it, then uses a debuger to watch where the program lands it for example when the program asks for a serial then the hacker knows where ithat part of the code is being used? Then they do some trial and error changes and then assemble it and test it?

Are these DSDT.dsl files basically the same thing, starting out originally as source code that was compiled into a BIOS ROM and flashed to the MB.

We are dissasembling what was once source code but now machine code that is dissasembled??

Am I way off base with this analogy?


Because if this is kinda what we are doing no wonder it difficult to get things right.

CyCLoBoT 09-23-2009 05:56 PM

I am having a problem with waking my computer up using USB keyboard/mouse. I tried to replace the USB fix code in my DSDT file but I started getting KP. Anyone know how I can fix the USB wake issue on a Gigabyte EP45-DQ6 board?

I have attached my current DSDT file that I'm using.

http://www.mediafire.com/?mol3mzimzmz

wwbsox 09-24-2009 01:45 AM

1 Attachment(s)
@cyclobot.

Working on the issue. If you have a USB1 keyboard or mouse, they should wake the system.

I added the usb section to your dsdt, give this a try.

twr 09-24-2009 09:16 AM

1 Attachment(s)
after some new DSDT editings, still no luck on my G31M-ES2L with USB Alu. keyboard : sleeps very well, but won't wake without PWRB. :(

here is my .dsl ...

CyCLoBoT 09-24-2009 04:31 PM

Quote:

Originally Posted by wwbsox (Post 35708)
@cyclobot.

Working on the issue. If you have a USB1 keyboard or mouse, they should wake the system.

I added the usb section to your dsdt, give this a try.

Thanks wwbsox. It does wake up with the mouse without giving any errors.

Update:
Well after I started using your modified DSDT file, I started getting KP. Not sure what's causing it but I had to switch back to my original one.

wwbsox 09-24-2009 10:47 PM

@cyclobot

That was the dsdt that I got from you. I just edited the usb section. But for the record... You have an EP45-DQ6, is this ICH10 south bridge? I know my EP45-DS3L is and I dont need any DSDT patching. Sleeps ok. Wakes from keyboard fine too.

CyCLoBoT 09-25-2009 01:00 AM

Quote:

Originally Posted by wwbsox (Post 35776)
@cyclobot

That was the dsdt that I got from you. I just edited the usb section. But for the record... You have an EP45-DQ6, is this ICH10 south bridge? I know my EP45-DS3L is and I dont need any DSDT patching. Sleeps ok. Wakes from keyboard fine too.

Yes it is ICH10R. My computer goes to sleep just fine and it does wake up as well but only with the power button.

spanakorizo 09-25-2009 02:59 PM

jmicron?
 
hi all 1st post here, i have 2 things to ask :)

1) tried gfx injection of the 8800gt (by dsdt) and i had no luck, maybe the bus location could be wrong? (where do i find it exactly for my card?)

also my pci0 device starts likes this:
Device (PCI0)
{

Name (_HID, EisaId ("PNP0A08"))
could that be a problem? (some users said it should be 03)

2) i was able via dsdt to make the uhci and ahci appear as internal and the sata now shown as intel esb2 AHCI, but my mobo has also Jmircron and the 2 Jmicron devices shown as "Unknown"
any fix for this?

removed a lot of kexts in /e folder , now i only got FakeSMC and, UUID.kext :) (+ionetworking for my net and openhaltrestart)
i'll try now to rebuild mkext without openhaltrestart.kext and see if i still need it

spanakorizo 09-25-2009 03:38 PM

kp
 
i was testing sleep after the UHCI/EHCI modifications to the dsdt and after a lot of time i have sleeep WORKING!!:D
wake up via mouse works, no keyboard but my keyboard is ps2 and loaded with hacked kexts (voodoops2+appleacpips2nub)
but i noticed a strange KP...
when pc wakes if i go again to control panel and mess with the power settings i get kernel panic (no debug but the "you neeed to restart your computer..."
how can i see what caused the kp?
anyone else with this issue?

EDIT: KP is because of my 2nd pci audio card M-AUDIO and hacked drivers of envy24HT (known kp)
i switched to the onboard soundcard after wake and there is no kp so everything ok

EnzoFX 09-28-2009 11:15 AM

For those with an Apple keyboard, what about getting a strictly USB 1.1 hub? and plug it in through there =P

BugsB 10-03-2009 07:43 AM

I have been trying hard to correct my dsdt.dsl, but to no avail. My USB devices do not mount at all in SnowLeo. In Leo I have been using the EHCI mods from orByte, Slice or AnV.

Sorry, but I have already spent useless hours and could really need some help with this. If somebody kind could look at my dsdt and correct it I would be forever grateful. I would even be willing to contribute something back.

The dsdt.dsl for my Toshiba Satellite P100 is attached.

Hoping .. ,
Bugs

EnzoFX 10-05-2009 10:17 AM

I got a question about the fact that your supposed to leave device 0x001D0003 alone,
I'm doing this to another board now, and none of it's usb devices have that Name/ID, so then do I not worry about leaving one alone now?

wwbsox 10-06-2009 04:49 PM

@EnzoFX

I believe that is correct. I have seen other boards without the D3 address. The actual addresses that get modified should be D0,D1,D2,A0,A1 and A2.

Also, The USB1.1 hub should work for anybody that "MUST" wake from aluminum keyboard. But I dont have an old hub to test out.

xwin78 10-07-2009 06:23 AM

@ wwbsox

thanks for all the help w/ my DSDT file--I just added my GFX info and all is well except I can not sleep, my system just powers down and when I strike the keyboard it boots back up (cold). I have the same setup as your sig---what is your BIOS rev and what are your BIOS settings (specifically your power related BIOS settings)?

Thanks

kDawg 10-07-2009 02:31 PM

Quote:

Originally Posted by wwbsox (Post 36824)
@EnzoFX

I believe that is correct. I have seen other boards without the D3 address. The actual addresses that get modified should be D0,D1,D2,A0,A1 and A2.

Also, The USB1.1 hub should work for anybody that "MUST" wake from aluminum keyboard. But I dont have an old hub to test out.

I actually think this is a mistake on Gigabyte's behalf. The D3 device is a mystery. I have a GA-EP45-UD3P and it doesn't reference the D3 address. I also found an error in the USB device section in the DSDT for my other MOBO a GA-EP35-DS4.

Some companys do a better job generating their DSDT than others. I do happen to think Gigabyte does an OK job.

sylvester328 10-09-2009 05:50 AM

Quote:

Originally Posted by kDawg (Post 36874)
I actually think this is a mistake on Gigabyte's behalf. The D3 device is a mystery. I have a GA-EP45-UD3P and it doesn't reference the D3 address. I also found an error in the USB device section in the DSDT for my other MOBO a GA-EP35-DS4.

Some companys do a better job generating their DSDT than others. I do happen to think Gigabyte does an OK job.

Just upgrading the BIOS for my EP45-DS3R. In the process of DSDT patching, I noticed that the new BIOS (F11e) no longer has this D3 device. They also fixed a couple of bugs which caused compilation warnings as well.

I really hope someone find a DSDT hack soon to enable the wake from sleep using USB2 keyboard.

kDawg 10-09-2009 10:37 AM

Quote:

Originally Posted by sylvester328 (Post 36984)
Just upgrading the BIOS for my EP45-DS3R. In the process of DSDT patching, I noticed that the new BIOS (F11e) no longer has this D3 device. They also fixed a couple of bugs which caused compilation warnings as well.

I really hope someone find a DSDT hack soon to enable the wake from sleep using USB2 keyboard.


Have you posted your DSDT somewhere? If not attach it here so I can take a quick look.

Ianxxx 10-09-2009 11:20 AM

Quote:

Originally Posted by BugsB (Post 36612)

The dsdt.dsl for my Toshiba Satellite P100 is attached.

Bugs

I don't think it is?

wwbsox 10-11-2009 01:56 AM

Master Chief over at insanelymac has a dsdt patch that on the p5k boards enables wake from usb2 keyboard, including apple keyboard. I have tried for a few days to get this to work on a gigabyte board to no avail. Still trying though.

If you have a p5k, I suggest you look up him up. He has sooooo many dsdt patches for that board it will make your head spin. Seriously.

sk1nhd33t 10-11-2009 04:50 AM

Quote:

Originally Posted by wwbsox (Post 37109)
Master Chief over at insanelymac has a dsdt patch that on the p5k boards enables wake from usb2 keyboard, including apple keyboard. I have tried for a few days to get this to work on a gigabyte board to no avail. Still trying though.

If you have a p5k, I suggest you look up him up. He has sooooo many dsdt patches for that board it will make your head spin. Seriously.

i wanna take a look at this if you have a direct DL link and try? im also having issues waking from sleep using my aluminum keyboard... or maybe a dsdt.dsl will do if you dont mind :rolleyes:

wwbsox 10-12-2009 09:07 PM

@sk1nhd33t

http://www.insanelymac.com/forum/ind...owtopic=188920

The third post from master chief has all his DSDT's.

Again... great if you have a P5K Pro. Still trying to get wake from aluminum keyboard working on the Gigabyte tho.

pandar 10-19-2009 11:34 PM

Hi

I have an installation of 10.6.1 on the ds3p and would like to borrow your solution. I have an 8600gt however. How would I deal with that? I'm using Chameleon RC3 and Netkas's latest boot file. If you can clue me in a bit, I'd appreciate it.

Thanks

Pandar

wwbsox 10-20-2009 04:35 PM

@Pandar

If your referring to the USB fix. All you have to do is replace the usb section of your DSDT with what is in the original post.

If you need more detailed instructions just PM me.

Are you currently using DSDT for your graphics? If so... it will not affect that section. If you are wanting to add graphics to the DSDT than you will need to generate that portion of the DSDT, Device (PGEP), under Device (PCI0). I used ACPI patcher to generate that section.

kantok 10-31-2009 07:53 PM

Works!
 
Thanks wwbsox!
The combination of the methods works perfectly on my EP45-UD3P!
Wake-up issue by mouse and Keyboard has come!!

stayupforever90 11-04-2009 07:57 PM

1 Attachment(s)
Hi Everyone

Thanks to wwbsox to start with, also everyone else who has posted in this thread it has been a lot of help. I am having a problem adding graphics to my DSDT, have searched for PEGP but could not find it. I can find it in registry explorer but have to admit not very good at that bit. Also I think there may be a problem with my SATA fix as SATA shows up as ICH10 AHCI but I cant remove the IOAHCIBlockStorage.kext I am using, if anyone could take a look at my DSDT that would be great. I am using a GA-G33M-DS2R mother board with core2duo E6600 and 4GB ram Nvidia 8800 GTS 512mb graphics running 10.6.1 Retail . Also wondering does anyone's graphics card show up in the PCI cards section of system profiler, and thanks in advance to anyone who takes the time to look at my DSDT :)

atomiX_X 11-05-2009 03:41 AM

1 Attachment(s)
Hi all. I've had a working SL setup for months now but I'm still unable to make my Asus P5E wake from USB. Sleep works fine while waking from power button but not from USB. I got this to work in 10.5 using a modified IOUSBFamily.kext but I haven't been able to find one for SL. I realize that this can be fixed with DSDT edits.

I've tried to simply replace the USB section with the one displayed at the start of this thread as wwbsox and others have said but I get a ridiculous amount of compile errors. I get the same results using DSDTse and iASLMe. I'd really appreciate it if someone could take a look. Please see attached and let me know if more specific info is required.

FYI, DSDT is already patched to fake ICH9 as ICH10 and as a result, all my USB ports show as built in and any mass storage devices connected survive sleep/wake.

wwbsox 11-05-2009 06:01 PM

@stayupforever90

I have the same video card and the DSDT that I attached to post #32 has the PEGP section that you are looking for.

I cant comment on IOAHCIBlockStorage kext as I dont use it. I believe there is a DSDT fix (by the King) to eliminate that on ProjectOSX site.

And Yes, I believe my video card shows up in the PCI card section of system profiler.

wwbsox 11-05-2009 06:15 PM

@atomiX_X

With your Asus board you cant just replace the USB section. Hence all the compile errors. But it looks like you added method (_DSM, 4..... to all of your USB devices with the correct device ID's. The EHCI devices are different than mine, (EUSB and USBE) not sure what difference this makes.

If the issue is only with not being able to wake from sleep using USB devices, check to see if your mouse/keyboard show up in system profiler under UHCI or EHCI (hi-speeed). If they show up under hi-speed usb that is the reason they will not wake the system from sleep. My Rocketfish apple mouse (USB 1) wakes the system fine. But my Apple Keyboard (USB 2) will not.

Since you have an Asus board, you might want to take a look at Master Chief's DSDT in the P5K Pro thread at insanelymac. He claims to have wake up from Apple Keyboard working on his board using DSDT edit. good luck.

atomiX_X 11-05-2009 11:45 PM

Thanks for the info wwbsox. I checked and my keyboard and mouse show up under regular USB and not high speed. I tried with another mouse and keyboard to make sure and same deal.

Now that you mention it though this isn't the only issue I've had but it has been the only one that bothers me. The machine also can't do a full hardware restart or shutdown on it's own. Not exactly sure why since I'm using OpenHaltRestart. I'm thinking these might be related.

stayupforever90 11-08-2009 10:36 PM

1 Attachment(s)
Thanks wwbsox but have come across a very strange issue with adding the graphics fix to my dsdt.aml. I have added it with dsdt patcher and my typing it my self all with the same result. My dsdt compiles fine with only one warning as before but OpenGL stops working. By this I mean spinning squares test is not visiable in xbench and also OpenGL Extensions Viewer.app has only Apple software as the render and no choice for my graphics card. My xbench scores fall from around 170 to 110 and my OpenGL Extensions Viewer.app scores fall from in the 3400 range to 60-70 range. I have try'd all different ways of editing both my com.apple.Boot.plist the system one and the one in my extra folder all to no avail. I have try'd to enable OpenGL with the dev tools app Quartz Debug also, the app tells me it is enabled but has no effect. Two really strange things are that front row and chess work though, and I thought both these apps needed OpenGL to run. I have attached a copy of my dsdt with graphics if you could take a look and see if i have made a mistake thank you, just don't know where I am going wrong.

Ps My card did start showing up in PCI cards in system profiler, would really like to get this working any help would be great

stayupforever90 11-13-2009 12:39 AM

2 Attachment(s)
Hey All

I have done it GFX are now fully working through through DSDT it seems the main issue was EFI strings. Let me explain I run a lot of different partitions for different reasons I have 3 snow leopard partitions 1 leopard partition there is also Linux and Windows 7 in the mix as well (see attached pic). I know its not the best but is just how things have gone as times gone by. Now I was trying to install the DSDT GFX to my SNOWGUID partition. First of all I did not remove the EFI strings from this partition's extra com.apple.Boot.plist but did remove the graphics enabler string. No joy the card would be in system profiler but i just had no QE/OpenGL working as such. So i spent some time working with DSDTSE.app as my DSDT is a bit strange any way. I try'd to many different with not much luck of inserting the graphics code with this great app (a big thank you to EvOSX86 for the app). Then I all most gave up and went back to EFI strings I say all most. My next step was thinking I have to be vanilla as possible so I disconected all of my drives apart from one and reinstalled Snow Leopard on a GUID partition and then I try'd a fresh DSDT.aml with USB SATA and GFX fix it worked how happy was I. Then I reconected my other two drives and it stopped working:'(:'(:'(. So from there I applied the same fixes to my other Snow partitions, but it didn't work on my main MBR Snow partition why? It seems at some time I had written my GFX string to my Library/Preferences/SystemConfiguration/com.apple.Bootplist once deleted I had working QE/OpenGL on all my partitions. I have feel have learned a lot from from doing this and just wanted to share my experience with others may be it could be of some use. For me I have learned EFI and DSDT do not mix but maybe thats just me. Am going to finish with a question though, how does Chameleon reference Boot.plists files from other partitions it is not booting though. And before you think it yes Chameleon was separately installed on all partitions. Thank you to wwbosx and all who have posted in this thread on to my next project speedstepping and sleep thank you again to all OSX86 fans

adityaxavier 01-08-2010 11:33 AM

Hi,

I was actually wondering if anyone know how to do it the other way round.. i.e. make the USB from built-in to external. Cause i have my bluetooth in USB3 and its turned off every time the laptop goes to sleep and doesnt work on wak..

Thanks,
Xavier