Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,753 posts in this topic

Recommended Posts

Thanks a lot i really appreciate it, one question MaLd0n in the auto patcher for DX58so why didn't you add the code AHCI SATA orange icon in the patcher? is it positive to use that code or the IOAHCIBlockStorageInjector.kext?

 

thanks.

Link to comment
Share on other sites

Thanks a lot i really appreciate it, one question MaLd0n in the auto patcher for DX58so why didn't you add the code AHCI SATA orange icon in the patcher? is it positive to use that code or the IOAHCIBlockStorageInjector.kext?

 

thanks.

 

I injected the device ID 3a22(need the kext IOAHCIBlockStorageInjector.kext) into the SATA device because...

ESB2 AHCI (silver icons for internal HDs instead of orange ones)

This "fix" was not used ->hotplug problems.

 

If you want to use 2681 you can use...

 

 

:D

Link to comment
Share on other sites

Thanks .... but is required

GA-P35-DQ6 DSDT Auto Patcher? ;)

 

you can test?

 

DSDT Auto-Patcher GA P35-DQ6

 

 

Use Extra Folder and LegacyHda ALC889A

 

MSI P45 NEO3-FR V2 ----> DSDT.aml Please!!!

 

w9w9bc@gmail.com

 

Upload your DSDT

run on terminal

perl -e 'open(CMD, "ioreg -lw0 \| grep DSDT|") or die; while(<CMD>) { chomp; if($_ =~ /\"DSDT\.?\d?\"=<([^>]*)>/) { $buff = $1; open(PIP, "|xxd -r -p > ~/Desktop/dsdt.aml") or die; print PIP "$1"; } }'

 

send me also a kextstat and ioreg -fl

Link to comment
Share on other sites

DSDT Auto Patcher The test is failed ..

Currently being used to attach the dsdt :(

 

GA-P35 DQ6

E6300 2.8Ghz

DDR2 PC6400*2

8600 GTS 256M

 

 

 

DSDT

 

 

Sorry

Do not upload files

 

please do not quote the whole post.

 

what you want to do in DSDT?

IT'S OK!

 

DSDT Auto Patcher will not work for you

your DSDT is fully edited

if you want to test must remove

restart

apply

 

but you do not need

 

ADVISE is not using the ESB2!

Device (SATA)
           {
               Name (_ADR, 0x001F0002)
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x02)
                       {
                           "device-id", 
                           Buffer (0x04)
                           {
                               [color="#FF0000"][b]0x81, 0x26[/b][/color], 0x00, 0x00
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }

 

Is there any way I can see what each individual patch does? My GA-P35-DS3 DSDT already has a lot of patches, but there are a couple there I'd like to apply by myself.

 

Use DSDT EDITOR and PATCHER

http://www.insanelymac.com/forum/index.php?showtopic=223205

what you want to apply the DSDT?

 

 

M/B - MSI P45 NEO3-FR V2

VGA - Geforce 9600GT

 

MSI P45 NEO3-FR V2..... DSDT.....Please!!!!! help me!!

 

w9w9bc@gmail.com

 

Post #7

Link to comment
Share on other sites

Upload your DSDT

run on terminal

 

 

perl -e 'open(CMD, "ioreg -lw0 \| grep DSDT|") or die; while(<CMD>) { chomp; if($_ =~ /\"DSDT\.?\d?\"=<([^>]*)>/) { $buff = $1; open(PIP, "|xxd -r -p > ~/Desktop/dsdt.aml") or die; print PIP "$1"; } }'

 

send me also a kextstat and ioreg -fl

 

Can you make this into a script for linux and mac

and make it zip them all up, so it becomes easy to upload

 

 

Thank you.

 

From my Vmware installed of Mac OS X 10.6.5

 

 

using a boot cd, to start my vm.

d_k_i.zip

Link to comment
Share on other sites

*ESB2 AHCI (silver icons for internal HDs instead of orange ones)

This "fix" was not used as it reduces capabilities, including real 64bit sata transfer and hotplug.

 

Hi guys.... what about this issue mentioned by maldon?? i've edited the dsdt few times ago for native esb2 on my ich10 mb without problems so far... is it true?? it's best to leave original ich10 detection and put ahciblockstorage.kext???? Haven't found threads about this.... hope i'll get explanation...

tnx all.

Link to comment
Share on other sites

Hi guys.... what about this issue mentioned by maldon?? i've edited the dsdt few times ago for native esb2 on my ich10 mb without problems so far... is it true?? it's best to leave original ich10 detection and put ahciblockstorage.kext???? Haven't found threads about this.... hope i'll get explanation...

tnx all.

I inject ESB2 ID in my ICH9 mobo (Asus P5E) and also never had a problem.

Link to comment
Share on other sites

Can you make this into a script for linux and mac

and make it zip them all up, so it becomes easy to upload

 

 

Thank you.

 

From my Vmware installed of Mac OS X 10.6.5

 

 

using a boot cd, to start my vm.

 

This script won't work on Linux. You can run "sudo cat /proc/acpi/dsdt > dsdt.aml" to extract DSDT on Linux.

 

These patchers are intended to be run on the machine for which you are preparing the DSDT, you can't run them on other computer or in a virtual machine.

 

Hi guys.... what about this issue mentioned by maldon?? i've edited the dsdt few times ago for native esb2 on my ich10 mb without problems so far... is it true?? it's best to leave original ich10 detection and put ahciblockstorage.kext???? Haven't found threads about this.... hope i'll get explanation...

tnx all.

 

the problem of hotplug I confirm

this problem exists

Link to comment
Share on other sites

Just an idea, but has anyone here actually tried to add "AHCI-CAP" (with the C5 value changed) additionally to the ESB2 device-id change on a ICH10 based board?

 

BTW: 64-bit mode is NOT disabled here so using ESB2 does NOT disable it. At least not here! And looking at the port speed, which is still set to 3 Gigabit... how exactly should it slow down the SATA ports? In fact; the drive speed with and without the device change to ESB2 is EXACTLY the same.

Also. I am using ESB2 (on my desktop hack) since Master Chief wrote about his find here, and I haven't had a single corrupted drive.

Link to comment
Share on other sites

Can I use it to patch an unmodified DSDT.aml from a Live Ubuntu CD or does your patcher actually only patch a running OS that has DSDT override? If it only works on a running OS then you cannot really use this patcher unless you run Leopard 10.5 etc. that does not have DSDT override.

Link to comment
Share on other sites

Use DSDT EDITOR and PATCHER

http://www.insanelymac.com/forum/index.php?showtopic=223205

what you want to apply the DSDT?

 

Thanks MaLd0n! My DSDT is kinda different from the original GA-P35-DS3 (I'm using a patched one I found a while ago). Since it's working well since May and I'm not using some patches from yours (for example, I had a few problems when trying to patch my DSDT to use the Realtek network interface: it didn't work right when using VMWare's bridged network and Rivet to share media with my XBOX 360 so I'm using a kext for that) I just patched my DSDT with the shutdown fix found on the patch list and now everything is working fine.

 

Ah, e só agora percebi que você é brasileiro. Valeu!

Link to comment
Share on other sites

Can I use it to patch an unmodified DSDT.aml from a Live Ubuntu CD or does your patcher actually only patch a running OS that has DSDT override? If it only works on a running OS then you cannot really use this patcher unless you run Leopard 10.5 etc. that does not have DSDT override.

 

DSDT override does not depend on Mac OS version, it's a bootloader (Chameleon) feature.

Even if your bootloader supports DSDT override, it will use the original DSDT from BIOS if you do not provide a modified one, so you can use this patcher, yes.

if you want to patch from Linux or Windows you can use DSDT EDITOR and PATCHER

extract the patch from DSDT Auto-Patcher GA.../CONTENTS/RESOURCES/JAVA/patch.txt

:)

 

 

 

Thanks MaLd0n! My DSDT is kinda different from the original GA-P35-DS3 (I'm using a patched one I found a while ago). Since it's working well since May and I'm not using some patches from yours (for example, I had a few problems when trying to patch my DSDT to use the Realtek network interface: it didn't work right when using VMWare's bridged network and Rivet to share media with my XBOX 360 so I'm using a kext for that) I just patched my DSDT with the shutdown fix found on the patch list and now everything is working fine.

 

Ah, e só agora percebi que você é brasileiro. Valeu!

 

Everest

http://www.insanelymac.com/forum/index.php?showtopic=225991

DSDT EDITOR Linux_Mac_Win

http://www.insanelymac.com/forum/index.php?showtopic=223205

Link to comment
Share on other sites

@MaLd0n,

 

Thanks for the reply. I am still lost as to how one can use this in OSX if they depend on booting OSX with DSDT? Don't you have to at least patch the HPET in order to boot OSX in SNow Leopard?

 

So I should try and boot without a DSDT or DSDT override=no? Maybe I am not thinking clearly on this or overlooking something.

 

Tell me how I can boot cleanly without kernel panics etc? I thought I had to have at least the HPET patch in place in order to boot OSX SL?

 

Thanks

 

 

EDITED A FEW MINUTES LATER:

 

So I basically have to try to boot to OSX with or without DSDT override but making sure no patching is already done to the DSDT which I understand but do you understand my point to?

 

You say another way is to use DSDT editor in Linux or windows and load the patch from java directory. Can I do that in OSX to? Run the DSDT editor load my Vanilla DSDT.aml then load your patch?

 

I did try it and it seems to have removed a lot of stuff and did not fix the Local to "local" error as well as one more error but the DSDT editor fix them.

 

It really cut out a lot of script from my DSDT. A bunch of devices? I was curious as to why they were removed?

 

Thanks

Link to comment
Share on other sites

@MaLd0n,

 

Thanks for the reply. I am still lost as to how one can use this in OSX if they depend on booting OSX with DSDT? Don't you have to at least patch the HPET in order to boot OSX in SNow Leopard?

 

So I should try and boot without a DSDT or DSDT override=no? Maybe I am not thinking clearly on this or overlooking something.

 

Tell me how I can boot cleanly without kernel panics etc? I thought I had to have at least the HPET patch in place in order to boot OSX SL?

 

Thanks

 

Extract your original DSDT in Windows or Linux

Extract the patch --> DSDT Auto-Patcher GA.../CONTENTS/RESOURCES/JAVA/patch.txt

Use DSDT EDITOR and PATCHER, apply the patch in original DSDT

DSL / Load from file
Patch / Load from file
AML / Compile/button Fix errors
AML / Save to file...
replace the DSDT

 

or

 

Use Nullcpupowermanagement.kext(some other kext if you need), delete DSDT

NullCPUPowerManagement.kext.zip

Reboot

Apply "DSDT Auto-Patcher GA P35-DS3"

copy DSDT to folder Extra

Delete Nullcpupowermanagement.kext, etc

Reboot

 

or

 

apply the patches individually

Use DSDT EDITOR and PATCHER

 

 

 

 

I did try it and it seems to have removed a lot of stuff and did not fix the Local to "local" error as well as one more error but the DSDT editor fix them.

:)

has no reason to be in the patch

the DSDT EDITOR need to do their part

 

It really cut out a lot of script from my DSDT. A bunch of devices? I was curious as to why they were removed?

they are not used by OSX

Link to comment
Share on other sites

@MaLd0n,

 

I am trying the first method which I did before and its not patching the GA-G41M-ES2L Correctly? It didn't fix HPET, I get kernel Panic and it left PX40 as PX40? It left Azul and lot of other stuff did not change and I still think it removed too much or maybe it didn't?

 

 

My Mobo is v1.4 Bios F9, but that should not affect the patching right?

 

Here is my Original DSDT extracted from Ubuntu Live CD and also attached is the DSDT that was patched by your first method above.

 

My Untouched DSDT:

 

GA_G41M_ES2l.dsl.zip

 

Patched DSDT:

 

Patched_DSDT.dsl.zip

 

As you can see its not patching right.

 

 

 

EDITED:

 

I am getting two issues. One is the HPET error. No HPETS Available, CPUs configured Incorrectly. 2nd error is ACPI_SMC_PlatofrmPlugin _CST Evaluation Failed.

 

My ID is for LCPB is 27B8 not 27B9. Changing it made no difference I still get the error.

 

I have nothing set special in my com.apple.Boot.plist, just the usual graphics and ethernet.

 

Maybe that patch is for G41MT? Or G41M version 1.3?

Link to comment
Share on other sites

@MaLd0n,

 

It didn't fix HPET, I get kernel Panic

HPET is enabled in bios?

 

HPET fix, yes

before

Device (HPET)
               {
                   Name (_HID, EisaId ("PNP0103"))
                   Name (ATT3, ResourceTemplate ()
                   {
                       IRQNoFlags ()
                           {0}
                       IRQNoFlags ()
                           {8}
                       Memory32Fixed (ReadWrite,
                           0xFED00000,         // Address Base
                           0x00000400,         // Address Length
                           )
                   })
                   Name (ATT4, ResourceTemplate ()
                   {
                   })
                   Method (_STA, 0, NotSerialized)
                   {
                       If (LGreaterEqual (OSFX, 0x03))
                       {
                           If (HPTF)
                           {
                               Return (0x0F)
                           }
                           Else
                           {
                               Return (0x00)
                           }
                       }
                       Else
                       {
                           Return (0x00)
                       }
                   }

                   Method (_CRS, 0, NotSerialized)
                   {
                       If (LGreaterEqual (OSFX, 0x03))
                       {
                           If (HPTF)
                           {
                               Return (ATT3)
                           }
                           Else
                           {
                               Return (ATT4)
                           }
                       }
                       Else
                       {
                           Return (ATT4)
                       }
                   }
               }

 

after

Device (HPET)
               {
                   Name (_HID, EisaId ("PNP0103"))
                   Name (ATT3, ResourceTemplate ()
                   {
                       IRQNoFlags ()
                           {0}
                       IRQNoFlags ()
                           {8}
                       Memory32Fixed (ReadWrite,
                           0xFED00000,         // Address Base
                           0x00000400,         // Address Length
                           )
                   })
                   Name (ATT4, ResourceTemplate ()
                   {
                   })
                   Method (_STA, 0, NotSerialized)
                   {
                       Return (0x0F)
                   }

                   Method (_CRS, 0, NotSerialized)
                   {
                       Return (ATT3)
                   }
               }

 

 

and it left PX40 as PX40?
PATCH Gigabyte GA G41M-ES2L

DTGP

HID/CID

HPET

IRQs

RTC

SBUS

SHUTDOWN

EHCI

LPC

REMOVED DEVICES

_WAK

No "renamed devices" in patch

I see no difference

rename or not

whatever

 

oSxFr33k_DSDT.zip

Link to comment
Share on other sites

@MaLd0n,

 

I edited my post above. My LPCB ID is 27B8 not 27B9 and HPET is set and to 64 bit in Bios unless while I was messing around it may have gotten reset, Ill check it sorry if it did.

 

The DSDT is very nice and compact and if I can get it to work Great!!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...