Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,756 posts in this topic

Recommended Posts

 

So I'm assuming that the GA-EP45-DS3L& the EP45-UD3L are close enough cousins that they can share the same kext's?

My only problem is that the link you provided (which I thank you for, btw) states that one of the system requirements is an nVidia video card 8xxx series or higher. I have a 7950GT. Will that be an issue?

Thanks again.

Link to comment
Share on other sites

Hi MaLd0n,

 

first of all many respect for your awesome work! While I was reading this thread here, I was asking myself if you maybe could take a look on my DSDT stuff. I have run your run_me app and attached it below. The zip file also contains some more system infos extracted using Ubuntu, as well as a untouched and a modified DSDT I made on my own. Furthermore it contains some iMac 10,1 ACPI stuff that maybe might be useful. Unfortunately I'm not able to boot without a modified DSDT, so I don't know how useful the kextstat and kernel textiles are. All stuff was extracted using Bios Version F4.

 

The main issues are, that I have no LAN and no Audio after waking up from sleep and I have to use EvOreboot.kext for restart. Another annoying thing is, that there is always a "plop" sound before Audio is being activated. I have really no idea how to fix this stuff and I would be very very grateful if you could help me with this!

 

 

Here the Board spects:

 

* GA-E7AUM-DS2H (rev. 1.0)

* Chipset:............ MCP7A-U, GeForce 9400 & nForce 730i

* Onboard-GPU:... DSUB, DVI (DVI-D, Dual-Link), HDMI (HDCP)*, 64 bis 512MB Frame-Buffer (shared Memory)

* Expansion Slots:....... 1x PCIe 2.0 x16, 1x PCIe x1, 2x PCI

* Memory:... 4x DDR2, bis 16GB

* Audio:................ Realtek ALC889A, 7.1, SPDIF In/Out

* LAN:.................. Realtek RTL8211CL, PCIe-GB-Lan

*Storage Interface:........ 5x SATAII (supports RAID 0, RAID 1, RAID 0+1, RAID 5 and JBOD)

* Storage Interface:....... 1x ATA-100/66/33 (JMicron 368), 1x FDD (iTE IT8718), 2x IEEE 1394a (T.I. TSB43AB23)

* External IO:........... 1x PS2, 1x DVI-D, 1x DSUB, 1x HDMI, 1x IEEE 1394a, 1x RJ45, 6x USB2.0, 1x SPDIF, 1x eSATA, 6x Audio

* Internal IO:........... 2x Fan, 1x IEEE 1394a, 3x USB2.0, 1x COM, 1x LPT, SPDIF In/Out, CD-In

 

And these are the kexts I use in E/E:

 

ALC8xxHDA.kext

EvOreboot.kext

fakesmc.kext

JMicronATA.kext

 

Many thanks in advanced!

 

 

Link to comment
Share on other sites

Greets MaLd0n :D

 

I ran the patcher that was done a few pages back, cant remember how many :D but i believe it was for the X58A-UD5 Rev1 F5......

I've updated my bios to F6 re-run the patcher but not to sure if it was done right because i think it may have read from my other Main drive where it has a DSDT :D .So i ran the script that was provided on the First page and below u'll find the send_me.zip & my current DSDT so any help would be appreciated......

I have not had any issues thus far but would jus like to make sure there is nothing Really wrong with my DSDT.....

 

send_me.zip

Current DSDT

dsdt.aml.zip

 

System Spec

(Asere 1.1.9)

MB-X58A-UD5 Rev1 (F6)

CPU-i7 930 @Stock

GPU-ATI 4870

Link to comment
Share on other sites

* GA-E7AUM-DS2H (rev. 1.0)

 

try it for shutdown

dsdt.e60.zip

 

Chameleon RC5 for Restart

http://www.insanelymac.com/forum/index.php...st&id=86499

 

Greets MaLd0n :D

 

I ran the patcher that was done a few pages back, cant remember how many :D but i believe it was for the X58A-UD5 Rev1 F5......

I've updated my bios to F6 re-run the patcher but not to sure if it was done right because i think it may have read from my other Main drive where it has a DSDT :D .So i ran the script that was provided on the First page and below u'll find the send_me.zip & my current DSDT so any help would be appreciated......

I have not had any issues thus far but would jus like to make sure there is nothing Really wrong with my DSDT.....

 

send_me.zip

Current DSDT

dsdt.aml.zip

 

System Spec

(Asere 1.1.9)

MB-X58A-UD5 Rev1 (F6)

CPU-i7 930 @Stock

GPU-ATI 4870

 

extract from Windows or Linux

apply Auto-Patcher

Link to comment
Share on other sites

Not too sure i understand what you mean

extract from Windows or Linux

apply Auto-Patcher

:( .

I ran the Win/Linux file in Win 7 64 ,is it suppose to output a file?cause i'm not seeing anything just a fast flash in RUN :wacko: ................

Link to comment
Share on other sites

Not too sure i understand what you mean :( .

I ran the Win/Linux file in Win 7 64 ,is it suppose to output a file?cause i'm not seeing anything just a fast flash in RUN :wacko: ................

01o.png

 

use everest

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

or DSDT Editor for Windows

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

Link to comment
Share on other sites

Do I have to install the extra folder with patched DSDT to the root through terminal or just leave it on the desktop?

 

http://www.insanelymac.com/forum/index.php...t&p=1657287

 

@MaLd0n thanks :D I was executing the wrong file :rolleyes: in windows that's why it was not working.It's all good now so far........

01c.png

Link to comment
Share on other sites

Hi Maldon.

 

Now I'm trying to improve my DSDT file. I've seen your post and your help would be really usefull.

 

I've a Acer Aspire 5738ZG.

 

Intel Pentium Dual-Core (It's a Core2Duo with less cache)

Intel Cantiga GM45

ICH9M-E

ATI Radeon Mobility HD 4570

ALC888

Atheros AR5B93

Broadcom Netlink.

 

Now I'm runing a retail installation updated to 10.6.6. With Vanilla Kernel.

 

These are the kext that I'm loading:

 

(E/E) FakeSMC

(E/E) NullCPUPowerManagement

(E/E) OrangeIconFix

 

(S/L/E) VoodooHDA

(S/L/E) VodooPS2Controller

 

I've noticed that the wifi card doesn't work well without DSDT file.

 

Best regards.

send_me_Acer_5738ZG.zip

Link to comment
Share on other sites

dsdt.hjs89.zip

DTGP

EHCI

HDEF

HPET

IRQs

LPC

OS

PNLF

RTC

SMBUS

UHCI

FIX WARNINGS and ERRORS

 

Thank you! Now my laptop it's able to sleep and my audio is working with AppleHDA.kext. But I've noticed that the computer is working slower than before. Now my score at Geekbench is 1774 and before was 2900 :S.

 

In the other hand SMC monitor is not working well. I haven't information about my CPU.

 

Now I've these kext.

 

E/E FakeSMC.kext

E/E LegacyHDA.kext

 

S/L/E AppleHDA.kext (from 10.6.0)

S/L/E IntelCPUMonitor.kext

S/L/E ACPIMonitor.kext

S/L/E VoodooPS2Controller.kext

 

This is the output of SMC tool:

$ smc  -l
 #KEY  [ui8 ]  (bytes 00 00 00 13)
 ACID  [ch8*]  (bytes ba be 3c 45 c0 03 10 43)
 CLKH  [{clh]  (bytes 00 00 70 80 00 01 19 40)
 CLKT  [ui32]  95 (bytes 00 01 1c 5f)
 EPCI  [flag]  (bytes 01)
 FNum  [ui8 ]  (bytes 00)
 LSOF  [flag]  (bytes 01)
 LSSB  [{lso]  (bytes 01 01)
 MOST  [ui16]  3 (bytes 80 03)
 MSPS  [{msp]  (bytes 00)
 MSSD  [si8 ]  (bytes 03)
 NATJ  [ui8 ]  (bytes 00)
 NTOK  [ui8 ]  (bytes 01)
 NVPR  [ui8 ]  (bytes 00)
 OSK0  [ch8*]  (bytes 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c)
 OSK1  [ch8*]  (bytes 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63)
 REV   [{rev]  (bytes 01 30 0f 00 00 03)
 NATi  [ui16]  0 (bytes 00 00)
 MSDW  [ui8 ]  (bytes 01)

 

Thanks for your support.

Link to comment
Share on other sites

Now my score at Geekbench is 1774 and before was 2900 :S.

 

add in boot.plist

<key>GeneratePStates</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>

Link to comment
Share on other sites

add in boot.plist

<key>GeneratePStates</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>

 

It was added before. The problem is about SpeedStep. Now I've "installed" voodoopstate and repeated the test and now my score is 2934.

 

Looking the speedstep patches and the post about it I think that I've to modify that in my DSDT file:

    Scope (_PR)
   {
       Processor (CPU0, 0x00, 0x00000410, 0x06)
       {
           Method (_PSS, 0, NotSerialized)
           {
               [color="#FF0000"]Return (Package (0x0A)[/color]
               {
                   Package (0x06)
                   {
                       Zero, 
                       Zero, 
                       0x10, 
                       0x10, 
                       0x4A23, // FF = FID, VV = VID
                       Zero    // P-state 0
                   }, 
                   Package (0x06)
                   {
                       Zero, 
                       Zero, 
                       0x10, 
                       0x10, 
                       0x0A22, // FF = FID, VV = VID
                       One     // P-state 1
                   }, 
                   Package (0x06)
                   {
                       Zero, 
                       Zero, 
                       0x10, 
                       0x10, 
                       0x4920, // FF = FID, VV = VID
                       0x02    // P-state 2
                   }, 
                   Package (0x06)
                   {
                       Zero, 
                       Zero, 
                       0x10, 
                       0x10, 
                       0x091F, // FF = FID, VV = VID
                       0x03    // P-state 3
                   }, 
                   Package (0x06)
                   {
                       Zero, 
                       Zero, 
                       0x10, 
                       0x10, 
                       0x481D, // FF = FID, VV = VID
                       0x04    // P-state 4
                   }, 
                   Package (0x06)
                   {
                       Zero, 
                       Zero, 
                       0x10, 
                       0x10, 
                       0x081C, // FF = FID, VV = VID
                       0x05    // P-state 5
                   }, 
                   Package (0x06)
                   {
                       Zero, 
                       Zero, 
                       0x10, 
                       0x10, 
                       0x471A, // FF = FID, VV = VID
                       0x06    // P-state 6
                   }, 
                   Package (0x06)
                   {
                       Zero, 
                       Zero, 
                       0x10, 
                       0x10, 
                       0x0719, // FF = FID, VV = VID
                       0x07    // P-state 7
                   }, 
                   Package (0x06)
                   {
                       Zero, 
                       Zero, 
                       0x10, 
                       0x10, 
                       0x4617, // FF = FID, VV = VID
                       0x08    // P-state 8
                   }, 
                   Package (0x06)
                   {
                       Zero, 
                       Zero, 
                       0x10, 
                       0x10, 
                       0x0615, // FF = FID, VV = VID
                       0x09    // P-state 9
                   }
               })
           }
           Method (_PSD, 0, NotSerialized)
           {
               Return (Package (0x05)
               {
                   0x05, 
                   Zero, 
                   Zero, 
                   0xFC, 
                   0x04
               })
           }
           Method (_CST, 0, NotSerialized)
           {
               Return (Package (0x02)
               {
                   One, 
                   Package (0x04)
                   {
                       ResourceTemplate ()
                       {
                           Register (FFixedHW, 
                               0x01,               // Bit Width
                               0x02,               // Bit Offset
                               0x0000000000000000, // Address
                               0x01,               // Access Size
                               )
                       }, 
                       One, 
                       0x9D, 
                       0x03E8
                   }
               })
           }
       }
       Processor (CPU1, 0x01, 0x00000410, 0x06)
       {
           Method (_PSS, 0, NotSerialized)
           {
               Return (^^CPU0._PSS ())
           }
           Method (_PSD, 0, NotSerialized)
           {
               Return (^^CPU0._PSD ())
           }
           Method (_CST, 0, NotSerialized)
           {
               [color="#FF0000"]Return (Package (0x04)[/color]
               {
                   0x03, 
                   Package (0x04)
                   {
                       ResourceTemplate ()
                       {
                           Register (FFixedHW, 
                               0x01,               // Bit Width
                               0x02,               // Bit Offset
                               0x0000000000000000, // Address
                               ,)
                       }, 
                       One, 
                       Zero, 
                       0x03E8
                   }, 
                   Package (0x04)
                   {
                       ResourceTemplate ()
                       {
                           Register (FFixedHW, 
                               0x08,               // Bit Width
                               0x00,               // Bit Offset
                               0x0000000000000414, // Address
                               ,)
                       }, 
                       0x02, 
                       One, 
                       0x01F4
                   }, 
                   Package (0x04)
                   {
                       ResourceTemplate ()
                       {
                           Register (FFixedHW, 
                               0x08,               // Bit Width
                               0x00,               // Bit Offset
                               0x0000000000000415, // Address
                               ,)
                       }, 
                       0x03, 
                       0x55, 
                       0xFA
                   }
               })
           }
       }
       Processor (CPU2, 0x02, 0x00000410, 0x06)
       {
           Method (_PSS, 0, NotSerialized)
           {
               Return (^^CPU0._PSS ())
           }
           Method (_PSD, 0, NotSerialized)
           {
               Return (^^CPU0._PSD ())
           }
           Method (_CST, 0, NotSerialized)
           {
               Return (^^CPU1._CST ())
           }
       }
       Processor (CPU3, 0x03, 0x00000410, 0x06)
       {
           Method (_PSS, 0, NotSerialized)
           {
               Return (^^CPU0._PSS ())
           }
           Method (_PSD, 0, NotSerialized)
           {
               Return (^^CPU0._PSD ())
           }
           Method (_CST, 0, NotSerialized)
           {
               Return (^^CPU1._CST ())
           }
       }
   }

 

I've two silly questions. The values that I don't know if are correct are in red color.

 

- After Processor (CPU0, 0x00, 0x00000410, 0x06),is the correct value Return (Package (0x0A)? My CPU has 10 p-states.

 

- After Processor (CPU1, 0x01, 0x00000410, 0x06),is the correct value Return (Package (0x04)? Must I change this value? Or is always the same.

 

Thanks for your help.

Link to comment
Share on other sites

...

 

man

 

use Chameleon RC5

 

after

 

run on terminal

 

ioreg -lw0 | grep CSTInfo

 

remove voodoopstate, voodoomonitor

 

Use fakesmc first post in system/library/extensions

Link to comment
Share on other sites

 

Hi Mald0n...i used this patch as following :

- I got my original DSDT using Everest

- I got the patch in the above post

- I used DSDT EDITOR and applied the patch (it got the error that "*pffxxxxx" should be capitalized and no wildcard, so I just deleted the "*" and capitalized the string instead of using fixing error function, and it worked)

 

And these are what currently working :

- sound

- graphic (GraphicsEnabler=yes in com.apple.Boot.plist)

- touchpad + keyboard

- Wifi

- restart (sometimes it's stuck, but better than nothing, right? wink_anim.gif )

- webcam

 

What doesn't work :

- ethernet

- shutdown

- card reader

 

My laptop specifications :

- Motherboard : Intel Crestline-PM PM965

- Graphics : NVIDIA GeForce 8600M GT (256 MB)

- Sound : SigmaTel STAC9205X @ Intel 82801HBM ICH8M - High Definition Audio Controller

- Ethernet : Broadcom 440x 10/100 Integrated Controller

- Wireless : Dell Wireless 1395 WLAN Mini-Card

- Modem : Conexant HDA D330 MDC V.92 Modem

- Touchpad : Synaptics PS/2

- Keyboard : Standard PS/2 Keyboard

- Webcam Integrated

- IDE Controller :

*Intel® ICH8M SATA AHCI Controller - 2829

*Intel® ICH8M Ultra ATA Storage Controllers - 2850

*Ricoh Memory Stick Controller

*Ricoh MMC Host Controller

*Ricoh xD-Picture Card Controller

 

Kerts I have used are :

- AppleACPIPS2Nub.kext

- BroadcomFix.kext

- fakesmc.kext

- LegacyDellVostro1500.kext (which I configured by myself)

- VoodooBattery.kext

- VoodooPS2Controller.kext

- VoodooHDA (in S\L\E)

all the kerts I put in E\E, excepts VoodooHDA

 

This is the files I got after running your script :

http://dl.dropbox.com/u/22758366/DellVostro1500.zip

 

and this is my original DSDT :

http://dl.dropbox.com/u/22758366/acpi_dsdt.rar

 

I hope you can help me. Thank you :D

Link to comment
Share on other sites

this line of DELL...shutdown is a big problem

try it

dsdt.iu1nguoi.zip

 

card reader

try it

VoodooSDHC_32or64.kext.zip

 

ethernet

use search forum

 

Thank you very much MaLd0n

 

I tried your suggestions and didn't work :unsure:

 

the DSDT causes the grey message with many languages before logging in

 

the VoodooSDHC doesn't work. even when I plugged in SD card, the system crashes

 

for the ethernet, I did search in forum but couldn't figure out :| they say it's because the update 10.6.6 made broadcom ethernet kext stop working.....am I wrong?

 

by the way, in the system profiler, it can recognize my CPU as 2ghz only (while mine is T9300 2.5Ghz)

Link to comment
Share on other sites

use AppleHda disabler in S/L/E

http://www.insanelymac.com/forum/index.php...st&id=87700

I applied HDEF post-557433-1300649356.png

 

HDEF + VoodooHda = KP

 

I tried, but it's also same the previous state, the OS seemed to be shutdown but the hardware didn't :D

 

by the way, I already solver the ethernet card and card reader :D

 

so right now what doesn't work is only shutdown :D

 

how do I check if my Power Management work well or not? like speedstep..... Thank you

Link to comment
Share on other sites

I tried, but it's also same the previous state, the OS seemed to be shutdown but the hardware didn't :D

 

Shutdown - I added this

http://www.insanelymac.com/forum/index.php...t&p=1448614

but... :D

 

AppleIntelNehalemProfile ????

AppleTyMCEDriver ???

 

Use SMbios MacBook 4 or MacBookPro 5

smbios_MBP51.zip

Link to comment
Share on other sites

Shutdown - I added this

http://www.insanelymac.com/forum/index.php...t&p=1448614

but... :D

 

AppleIntelNehalemProfile ????

AppleTyMCEDriver ???

 

Use SMbios MacBook 4 or MacBookPro 5

smbios_MBP51.zip

 

MaLd0n, your VoodooSDHC does work....I just try again and it work perfectly....I think I did something wrong at first :D

 

I will try your smbios now....I forgot to tell u, my DSDT was also patched using ShutdownIntel in DSDT Editor....I don't know if it affected your patch or not but it fixed my restart :D

 

and, how do I check if my Power Management work well or not? like speedstep..... Thank you

Link to comment
Share on other sites

but it fixed my restart :D

 

and, how do I check if my Power Management work well or not? like speedstep..... Thank you

 

restart Chameleon RC5

 

 

nativePM

run on terminal

ioreg -lw0 | grep CSTInfo

 

P-states work

C-states do not work, so you do not need to generate P or C states. 01n.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...