Posted 28 May 2009 - 03:24 PM

Bart86

InsanelyMac Geek

Members

179 posts

We have found that having a disk in the DVD drive allows auto-sleep to work. This is on EP45-UD3P with 10.5.7 retail and no DSDT patching. Not sure what that implies or where to start looking for a proper fix but it's a start.

Posted 28 May 2009 - 04:07 PM

Anyway, thank for suggestion.it's promising for A board having the device which resembled Macintosh.

Well, it's only supposed to work for ICH9/-R. Do you have such a south bridge?

We have found that having a disk in the DVD drive allows auto-sleep to work. This is on EP45-UD3P with 10.5.7 retail and no DSDT patching. Not sure what that implies or where to start looking for a proper fix but it's a start.

Thanks a lot, Bart86. Indeed, with my DP35DP, auto sleep never worked with 10.5.7, until just now when I put a DVD into the drive :-)Edit: Found out replacing the DVD drive solves the problemI don't know why this makes a difference, but it's definitely good to know. My board still needs the DSDT fix though, that's for sure because without the fix, it does not even sleep when forced.

Posted 28 May 2009 - 09:49 PM

ontoid

InsanelyMac Protégé

Members

60 posts

Gender:Male

Location:poland

Great!!!
It works for me.
Cheating USB and ACPI as well.
Also GFX card and Audio is loaded via dsdt.aml
What can i say... dsdt patching have incredible possibilities, on my mobo i need only appledecrypt and 3 legacy kext's
(block storage and audio)

Posted 28 May 2009 - 09:58 PM

zhell

InsanelyMac Geek

Members

125 posts

Gender:Male

Great!!!It works for me.Cheating USB and ACPI as well.Also GFX card and Audio is loaded via dsdt.amlWhat can i say... dsdt patching have incredible possibilities, on my mobo i need only appledecrypt and 3 legacy kext's(block storage and audio)

Thanks for the feedback, I agree, DSDT is a lot of fun... once you get your job done with it. The process can be painful, though, but it's worth it.

Posted 29 May 2009 - 12:43 AM

BlackCH

InsanelyMac Deity

Members

1,621 posts

Gender:Male

Location:BCN

I confirm it works to fake ICH9 SATA (with ICH10 id):Screenshot_2.jpg114.77KB357 downloadsScreenshot_1.jpg267.78KB223 downloadsSo no more LegacyAppleAHCIPort.kext (I assume IDE mode wont work without LegacyAppleIntelPXIIATA.kext, still need to test)

Pitty changing USB ids (UHCI/EHCI) didnt fix sleep

EDIT:In IDE mode this mod cause a KP at boot related with the stock AppleAHCIPort.kext

Posted 29 May 2009 - 01:58 AM

atka

InsanelyMac Protégé

Members

86 posts

Thanks for the info it didn't fix sleep for me though but it is fun to mess with the DSDT. I managed to get the ICH9 to report as ICH10 but does anybody know how to tell the OS that the drives are internal and not external?

Posted 29 May 2009 - 02:44 AM

SMF

InsanelyMac Geek

Members

188 posts

I'm interested in the ICH10 fix (I have a Gigabyte P35-DQ6 with ICH9R) but would appreciate someone posting the exact section from their DSDT to help me understand ... as for USB and EHCI mine seems to be working - here's what I have from my DSDT for USB. This comes from using fassl's script and is not modified by me.

Posted 29 May 2009 - 04:32 AM

mitch_de

InsanelyMacaholic

Retired

2,916 posts

Gender:Male

Location:Stuttgart / Germany

Here is my part of USB dsdt for an GA-EP35 DS3 (ICH9 nonraid)It has 29xx(hex) ICH pci dev id´s.Also be carefull with that US31 device which is in the middle between that USB devices. Its NOT! an USB or EHCI device, let it stay as it is.

I would NOT change orig. device names (USB0 to UHCI1 for examle), because if you do that you have also more work to change all occurences of that in the dsl.

So (for less work) let them as they are and only add that device id stuff (that new method) to each of them. (For my knowledge )

I don't know Machintosh's subsystem-ID (Intel 82801JI) Therefore I also try DG45ID's subsystem-id add DSDT.DG45ID have normal ICH10 Device and have subsystem-vendor-id of Intel.What chose DG45ID is one of the reasons that subsystem-vendor-id was not changed by DSDT.

In the present, Kext of Slice is necessary for EHCI's problem solving of ownership.I still have the sleep problem, then I'll try various methods(_WAK method on DSDT etc...) to working Slice's kext.in Energy Saver -Restart Automatically after a Power Failure is checked...A review of the setting of bios...This board feels delicate about Power control and Motherboard Supporting AMT and TPM-Based Security.Thanks all.

Edit update: The subsystem-Vendor-IDdoes not matter, I removed moded subsystem-vondor-id form DSDT. They work only in device ID Mod well.

Posted 29 May 2009 - 10:55 AM

SMF

InsanelyMac Geek

Members

188 posts

Here is my part of USB dsdt for an GA-EP35 DS3 (ICH9 nonraid)It has 29xx(hex) ICH pci dev id´s.Also be carefull with that US31 device which is in the middle between that USB devices. Its NOT! an USB or EHCI device, let it stay as it is.

I would NOT change orig. device names (USB0 to UHCI1 for examle), because if you do that you have also more work to change all occurences of that in the dsl.

So (for less work) let them as they are and only add that device id stuff (that new method) to each of them. (For my knowledge )

mitch_de,

I'm not looking to change my USB - just posted it for others since I seem to be working fine with my unmodified DSDT. I would however like to understand the SATA mod. I don't have a SATA section in my DSDT - just DRV devices.

Posted 29 May 2009 - 11:44 AM

Like I didn't knew this – I am using a patched kext (.cpp/.h) for almost a year know. I mean what about using those buffer values as arguments for that new Method?

I'm also a step up in the game (using two hacks for testing) to our shutdown problem, which Bart86 mentioned a few posts up, but it is far from reliable – I still need to kill Parallels Desktop 4.0.3 processes and unload its kext first.

Posted 30 May 2009 - 11:19 AM

SMF

InsanelyMac Geek

Members

188 posts

I'm interested in a couple of items and would appreciate some advice - for SATA using device id to make ICH9R appear as ICH10 I would appreciate someone posting their DSDT as the snippet in an earlier post isn't complete and my DSDT extracted with the patcher does not have a SATA section.

Second I have a couple of errors - one related to USB - that I would like to see if I could fix via DSDT. Here they are -

Posted 30 May 2009 - 11:39 AM

Like I didn't knew this – I am using a patched kext (.cpp/.h) for almost a year know. I mean what about using those buffer values as arguments for that new Method?

I'm sorry, I did not understand what you meant. Now I think I get it: You would like to add a method similar to DTGP, but one which would take as arguments just the value for the device-id? I think that would be great and make the DSDT.dsl much more readable.

I'm also a step up in the game (using two hacks for testing) to our shutdown problem, which Bart86 mentioned a few posts up, but it is far from reliable – I still need to kill Parallels Desktop 4.0.3 processes and unload its kext first.

Are you referring to auto-sleep, i.e. sleep after idle period? Parallels Desktop is a pain. First, I do not see why they need to load their KEXTs at boot time, it makes no sense to me. Do you need to kill the entire Parallels suite (stopping any running VM) or just some background processes?Regarding the KEXTs, I wonder if we could modify their plist such that they would be automatically unloaded across sleep. Maybe if we removed all power management capabilities? I found an entry on the darwin drivers list about doing this in the source code.

Posted 30 May 2009 - 12:02 PM

I wonder if you checked your BIOS settings for something like: BIOS EHCI Hand-off (it should be enabled), or else try this (if you are a chameleon boot user) AKA :

Add <key>USBBusFix<key><string>Yes<string> to the com.apple.Boot.plist

p.s. Which version of BIOS are you using? Please note that the latest version (083) was released on 13-5-2009 – with fixes for sleep and USB.

Thanks Master Chief. I used USBBusFIX=Yes without modified DSDT.Problem of EHCI was fix by the option.but UHCI was appear as PCI. When it combines modified DSDT and EHCIacquire=Yes, both EHCI and UHCI work normally My choice is two ways.1. Modified DSDT and EHCIacquire=Yes 2. Silice's IOUSBFamiry.kext

I udate to BIOS 083(fixes for sleep and USB) from 079.Sleep problem didn't fixed by new BIOS.Here is my BIOS setting.

Posted 30 May 2009 - 02:19 PM

Master Chief

Just Chief

Members

1,176 posts

Gender:Male

Thanks Master Chief. I used USBBusFIX=Yes without modified DSDT.Problem of EHCI was fix by the option.but UHCI was appear as PCI. When it combines modified DSDT and EHCIacquire=Yes, both ECHI and UCHI work normally My choice is two ways.1. Modified DSDT and EHCIacquire=Yes 2. Silice's IOUSBFamiry.kext.....

My motto is: "No more modified kext files" or the more explicit expression "To hell with modified kext files" and thus my personal choice would be option 1 – DSDT and EFI Strings (aka device properties) patching methods give you a much cleaner OS X installation... and this without the fear for upgrade issues.

Posted 30 May 2009 - 03:26 PM

stellarola

InsanelyMac Legend

Members

682 posts

Gender:Male

Location:Lextown, KY

I'm not on my home computer right now, but I'll try some Airport device id stuff later when I get the chance.

Also, some people have been able to edit the DSDT/SSDT in order to allow speedstepping to work natively using AppleIntelCPUPM. I've got it working on my system, and hopefully there will be a guide on it soon enough. I think more tests have to be done to make sure it's completely functional and stable.