Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,753 posts in this topic

Recommended Posts

Nice work-

 

Can you check this one out Maldon- This is a board my buddy has, and its dsdt has been pretty elusive for us.

 

its a Intel dp55kg.

 

dsdt.neks0ne.zip

 

DTGP

IRQs

MUT0

REMOVE

SMBUS

SHUTDOWN

 

Hi Mald0n,

 

my dsdt file is here;

http://www.mediafire.com/?06rjr4e90qvj5xh

 

notebook model; HP6510b

 

thanx:)

use DSDT Auto-Patcher

Generic Patch ;)

 

file:///Users/rafhaelsilva/Desktop/send_me/ioreg.txt

 

please help to fix my mac(pc)

file:///Users/rafhaelsilva/Desktop/send_me/kernel.txt

 

file:///Users/rafhaelsilva/Desktop/send_me/kextstat.txt

 

you do not need to reply the entire post ;)

 

send me

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

what is your motherboard?

 

:D

 

Hi LatinMcGyver75 ;)

 

you could do the Auto-patcher that all you have done

would be really cool ;)

great

:P

Link to comment
Share on other sites

First, THANKS A LOT MaLd0n for your great work!

 

I also want to fix my DSDT now and forever on my GA X38-DS5.

I used the latest patcher and applied the one for GA X38-DS4, but it seems the DS5 is slightly different :)

 

- reboot does not work (except using OpenHaltRestart)

- Graphics (GF 8800GT/512) does only work with EFI strings as I had before

- Audio does not work (except I use the LegacyHDA)

- Power Management doesn't get initialized propperly

 

MaLd0n, maybe you can have a look at my dsdt and find a proper patch for it.

 

I attach the original DSDT (moved away my dsdt.aml file and temporarily used NullCPUPowerManagement to extract it)

 

My Config:

GA X38-DS5 (Bios F7F)

8GB Ram

8800GT/512

Chameleon RC5

OSX 10.6.6 Retail

This kexts in E/E: fakesmc.kext, NullCPUPowerManagement.kext (for DSDT extract)

 

THANKS!

dsdt_original_x38_ds5.aml.zip

kernel_log.txt.zip

kextstat.txt.zip

ioreg.txt.zip

com.apple.Boot.plist.zip

Link to comment
Share on other sites

- reboot does not work (except using OpenHaltRestart)

- Graphics (GF 8800GT/512) does only work with EFI strings as I had before

- Audio does not work (except I use the LegacyHDA)

- Power Management doesn't get initialized propperly

 

-restart and native PM - use Chameleon RC5

Chameleon_v2.0_RC5_r698.zip

-Graphics - use GE or EFI String or Nvenabler or DSDT

-Audio - you need LegacyHda

 

look it

Atomic999.zip

 

OP REG LPCB

HDEF/ALC889a

DTGP

EHCI

UHCI

HID/CID

HPET

IRQs

LAN0

LPC

REMOVE

RENAME

RTC

SMBUS

SHUTDOWN

WAK

Link to comment
Share on other sites

Thanks MaLd0n. After posting this, I have updated to Vanilla Kernel and got rid of NullPowerManagement. I am on 10.6.5 - but still sleep doesnt work. Can you give me the patched DsDT?

 

Thanks

 

-M

 

do you use kernel mod, nullcpuPM, etc.

it is difficult

from 10.6.4 your processor is supported by the original kernel

Link to comment
Share on other sites

Thanks MaLd0n. After posting this, I have updated to Vanilla Kernel and got rid of NullPowerManagement. I am on 10.6.5 - but still sleep doesnt work. Can you give me the patched DsDT?

 

Thanks

 

-M

you removed SleepEnabler?

:)

osxrestart??

platformuuid???

 

Run on terminal

ioreg -lw0 | grep CSTInfo

Link to comment
Share on other sites

I have the following in /E/E

AppleACPIPS2Nub.kext

PlatformUUID.kext

fakesmc.kext

ApplePS2Controller.kext

SleepEnabler.kext

 

Havent tried removing sleepenabler

 

ioreg -lw0 | grep CSTInfo

 

above command returns nothing

 

Thanks

-M

 

you removed SleepEnabler?

;)

osxrestart?? <--Chameleon RC5

platformuuid??? <-- Chameleon RC4 or RC5

 

Run on terminal

ioreg -lw0 | grep CSTInfo

Link to comment
Share on other sites

I have the following in /E/E

AppleACPIPS2Nub.kext

PlatformUUID.kext

fakesmc.kext

ApplePS2Controller.kext

 

After removing SleepEnabler

ioreg -lw0 | grep CSTInfo

 

returns

 

	 | |	 |   "CSTInfo" = 19136773

 

ioreg -lw0 | grep PerformanceStateArray
 | |	 |   "PerformanceStateArray" = (<df090000000000000a0000000a0000000013000000010000>,<5a090000000000000a0000000a0000000012000000020000>,<d5080000000000000a0000000a0000000011000000030000>,<50080000000000000a0000000a0000000010000000040000>,<cb070000000000000a0000000a000000000f000000050000>,<46070000000000000a0000000a000000000e000000060000>,<c1060000000000000a0000000a000000000d000000070000>,<3c060000000000000a0000000a000000000c000000080000>,<b7050000000000000a0000000a000000000b000000090000>,<32050000000000000a0000000a000000000a0000000a0000>,<ad040000000000000a0000000a00000000090000000b0000>)

 

$bdmesg
msr(207): platform_info 20011200
msr(210): flex_ratio 00000000
CPU: Vendor/Model/ExtModel: 0x756e6547/0x25/0x2
CPU: Family/ExtFamily:	  0x6/0x0
CPU: MaxCoef/CurrCoef:	  0x0/0x12
CPU: MaxDiv/CurrDiv:		0x0/0x0
CPU: TSCFreq:			   2394MHz
CPU: FSBFreq:			   133MHz
CPU: CPUFreq:			   2394MHz
CPU: NoCores/NoThreads:	 8/16
CPU: Features:			  0x000003ff
Attempting to read GPT
Read GPT
Reading GPT partition 1, type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
Reading GPT partition 2, type EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
Reading GPT partition 3, type 48465300-0000-11AA-AA11-00306543ECAC
Reading GPT partition 4, type EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
Reading GPT partition 5, type EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
Reading GPT partition 6, type 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F
Read HFS+ file: [hd(0,3)/Extra/com.apple.Boot.plist] 967 bytes.
Read HFS+ file: [hd(0,3)/Extra/com.apple.Boot.plist] 967 bytes.
Setting boot-uuid to: F6E35CC0-F73E-3A27-8812-E441C49B1C01
Read HFS+ file: [hd(0,3)/System/Library/CoreServices/SystemVersion.plist] 479 bytes.
Hibernate image is too old by 1235 seconds. Use ForceWake=y to override
Loading Darwin 10.6
Loading kernel /mach_kernel
Read HFS+ file: [hd(0,3)/mach_kernel] 4096 bytes.
Read HFS+ file: [hd(0,3)/mach_kernel] 5579907 bytes.
LoadDrivers: Loading from [/Extra/Extensions.mkext]
Read HFS+ file: [hd(0,3)/Extra/Extensions.mkext] 4096 bytes.
Read HFS+ file: [hd(0,3)/Extra/Extensions.mkext] 18127997 bytes.
LoadDrivers: Loading from [/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext]
Read HFS+ file: [hd(0,3)/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext] 4096 bytes.
Read HFS+ file: [hd(0,3)/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext] 4142549 bytes.
Read HFS+ file: [hd(0,3)/Extra/DSDT.aml] 39799 bytes.
Using PCI-Root-UID value: 0
nVidia Unknown 512MB NVa8 [10de:0a6c] :: PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)
Read HFS+ file: [hd(0,3)/Extra/smbios.plist] 446 bytes.
Slot: 0 Type 24 2048MB (DDR3 SDRAM) 1067MHz Vendor=Micron Technology
   PartNo=16JSF25664HZ-1G1F1F1 SerialNo=3005643E
Slot: 2 Type 24 2048MB (DDR3 SDRAM) 1066MHz Vendor=Micron Technology
   PartNo=16JSF25664HZ-1G1F1F1 SerialNo=3005643D
CPU is Intel(R) Core(TM) i5 CPU	   M 520  @ 2.40GHz, family 0x6, model 0x25
Patched DMI Table
Found SMBIOS System Information Table 1
Customizing SystemID with : 44454c4c-4d00-1051-8031-c8c04f534d31
Read HFS+ file: [hd(0,3)/Extra/DSDT.aml] 39799 bytes.
ACPI table not found: SSDT.aml
FADT: changing PM_Profile from 0x00 to 0x02
FADT: Using custom DSDT!
Found ACPI CPU: CPU0
Found ACPI CPU: CPU1
Found ACPI CPU: CPU2
Found ACPI CPU: CPU3
Found ACPI CPU: CPU4
Found ACPI CPU: CPU5
Found ACPI CPU: CPU6
Found ACPI CPU: CPU7
SSDT with CPU C-States generated successfully
P-States: min 0x9, max 0x13
SSDT with CPU P-States generated successfully
RSDT: Added 2 SSDT table(s)
FADT: changing PM_Profile from 0x00 to 0x02
FADT: Using custom DSDT!
Added 2 SSDT table(s) into XSDT
Starting Darwin x86_64

Sleep does not work still. No errors in /var/log/kernel.log

 

To summarize -

I am running Chameleon RC5 with Cstates and Pstates in boot.plist

IntelCPUPowerManagement (No NullPowerManagement and no SleepEnabler)

 

I believe I have speed stepping but I continue to have issues with sleeping - as the display goes to sleep but doesnt wake up. I have hold the power button off and restart the laptop at which point it restores the hibernate image.

 

Thanks

-M

Link to comment
Share on other sites

Thanks MaLd0n!!

 

I updated to Chameleon RC5, used your kexts (FakeSMC, LegacyHDA, IOAHCIBlockStorageInjector, LegacyAppleAHCIPort). Audio now has all Channels, and PM seems to work.

Only things I noticed so far during my test:

- One time during my tests, my FW MyBook didn't wake up again. Had to replug power.

 

GREAT!

 

When I look at the list of patches applied, I think this is one of the worst Bioses....

 

-restart and native PM - use Chameleon RC5

Chameleon_v2.0_RC5_r698.zip

-Graphics - use GE or EFI String or Nvenabler or DSDT

-Audio - you need LegacyHda

 

OP REG LPCB

HDEF/ALC889a

DTGP

EHCI

UHCI

HID/CID

HPET

IRQs

LAN0

LPC

REMOVE

RENAME

RTC

SMBUS

SHUTDOWN

WAK

Link to comment
Share on other sites

Maldon hello sorry if I posted here but not very practical forum, yesterday I sent your post to the specifications of my system more inl send_me, then I sent a private message, I need help ..

 

my pc:

Packard Bell ixtreme m_5740

CPU i7 860

acerFMP55 or FMP55 packard

Apacer ram 4x2 gb

Intel P55 Express chipset

NVIDIA GT220 1gb ddr3

 

enclosed the send_me

in. I have also attached the DSDT extracted from ubuntu ultimate

 

please see what 's wrong ..

thanks a lot

poly

 

Link to comment
Share on other sites

Please help me.

 

M/B - Asus P5K-VM

VGA - Geforce GTS250

 

Thanks in advance.

 

P.S. Kexts in my /E/E

AppleIntelPIIXATA.kext

 

ElliottForceLegacyRTC.kext

IOAHCIBlockStorageInjector.kext

JMicronATA.kext

LegacyYukon2.kext

LegacyAppleLPC.kext

LegacyAppleAHCIPort.kext

LegacyAppleHDAHardwareConfigDriver.kext

LegacyHDAPlatformDriver.kext

NullCPUPowerManagement.kext

OpenHaltRestart.kext

 

send_me.zip

Link to comment
Share on other sites

dam someone is laggin out server seems. anyways. im up on 10.6.5 with wireless time out on connect.

tried a few dsdt's also added devicemergenub to take care of 3 things for atheros airport. FCC for locale, countrycode US and IOBuiltin= False.

but in PCI devices shows Other network device.. so i guess a little more haxin some whwere needed.

Link to comment
Share on other sites

Maldon hello sorry if I posted here but not very practical forum, yesterday I sent your post to the specifications of my system more inl send_me, then I sent a private message, I need help ..

 

my pc:

Packard Bell ixtreme m_5740

CPU i7 860

acerFMP55 or FMP55 packard

Apacer ram 4x2 gb

Intel P55 Express chipset

NVIDIA GT220 1gb ddr3

 

enclosed the send_me

in. I have also attached the DSDT extracted from ubuntu ultimate

 

please see what 's wrong ..

thanks a lot

poly

 

dsdt.polia.zip

 

ALIAS

HPET

IRQs

REMOVE

RENAME

SMBUS

SHUTDOWN

FIX WARNINGS

 

Native PM and restart fix

read the first post

 

Maldon hello sorry if I posted here but not very practical forum, yesterday I sent your post to the specifications of my system more inl send_me, then I sent a private message, I need help ..

 

my pc:

Packard Bell ixtreme m_5740

CPU i7 860

acerFMP55 or FMP55 packard

Apacer ram 4x2 gb

Intel P55 Express chipset

NVIDIA GT220 1gb ddr3

 

enclosed the send_me

in. I have also attached the DSDT extracted from ubuntu ultimate

 

please see what 's wrong ..

thanks a lot

poly

 

dsdt.polia.zip

 

ALIAS

HPET

IRQs

REMOVE

RENAME

SMBUS

SHUTDOWN

FIX WARNINGS

 

Native PM and restart fix

read the first post

 

Please help me.

 

M/B - Asus P5K-VM

VGA - Geforce GTS250

 

Thanks in advance.

 

P.S. Kexts in my /E/E

AppleIntelPIIXATA.kext

 

ElliottForceLegacyRTC.kext

IOAHCIBlockStorageInjector.kext

JMicronATA.kext

LegacyYukon2.kext

LegacyAppleLPC.kext

LegacyAppleAHCIPort.kext

LegacyAppleHDAHardwareConfigDriver.kext

LegacyHDAPlatformDriver.kext

NullCPUPowerManagement.kext

OpenHaltRestart.kext

 

send_me.zip

 

send me original DSDT

extract from Windows or Linux

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

Link to comment
Share on other sites

Maldon. i was a bit wrogn about the EHC1 and EHC2.. both need the fix. my fix had EHC1 by accident. (compared to my original) but i get after i wake it up. device usb disconnected imporperly... so im stil looking into old fix i had.

Link to comment
Share on other sites

Maldon. i was a bit wrogn about the EHC1 and EHC2.. both need the fix. my fix had EHC1 by accident. (compared to my original) but i get after i wake it up. device usb disconnected imporperly... so im stil looking into old fix i had.

 

device usb disconnected imporperly

I want to know a fix for this

if you find

let me know

 

look it

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

Link to comment
Share on other sites

ok lookign into it. at first it hasnt worked. but i forgot to add notify pwrb 0x02 to L0x sections. i wonder if i have to add to all USB# ?

 

I think so

 

Scope (_GPE)
   {
       Method (_L03, 0, NotSerialized)
       {
           Notify (\_SB.PCI0.UHC1, 0x02)
           Notify (\_SB.PWRB, 0x02)
       }

       Method (_L04, 0, NotSerialized)
       {
           Notify (\_SB.PCI0.UHC2, 0x02)
           Notify (\_SB.PWRB, 0x02)
       }

       Method (_L0C, 0, NotSerialized)
       {
           Notify (\_SB.PCI0.UHC3, 0x02)
           Notify (\_SB.PWRB, 0x02)
       }

       Method (_L0E, 0, NotSerialized)
       {
           Notify (\_SB.PCI0.UHC4, 0x02)
           Notify (\_SB.PWRB, 0x02)
       }

       Method (_L05, 0, NotSerialized)
       {
           Notify (\_SB.PCI0.UHC5, 0x02)
           Notify (\_SB.PWRB, 0x02)
       }

       Method (_L20, 0, NotSerialized)
       {
           Notify (\_SB.PCI0.UHC6, 0x02)
           Notify (\_SB.PWRB, 0x02)
       }

       Method (_L0D, 0, NotSerialized)
       {
           Notify (\_SB.PCI0.EHC1, 0x02)
           Notify (\_SB.PCI0.EHC2, 0x02)
           Notify (\_SB.PWRB, 0x02)
...

Link to comment
Share on other sites

did it similar to example. same. i noticed clock-id changed from 0x01 to 0x0A . wonder why

The fix for USB2.0 ports (EHCXs) in "AAPL,clock-id" should be 0x01 for EHC1, and 0x02 for EHC2. Then, the rest of hack code to complete the Method _DSM on both Devices:

                            "AAPL,current-available", 
                           0x04B0, 
                           "AAPL,current-extra", 
                           0x02BC, 
                           "AAPL,current-in-sleep", 
                           0x03E8, 
                           Buffer (One)
                           {
                               0x00
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }

Link to comment
Share on other sites

fixed HDD device ejected improperly by going in bios settings. i enabled in power management . .enable usb device wakeup (inspiron 1520). now no eject error with hdd.

and my usb mouse wakes system up and stays lit while sleeping :)

im going to re dump my dsdt and compare to find it.

thanks juanerson i didnt know EHC2 was clock-id 2.

 

anyways time to play some battlefieldheroes

Link to comment
Share on other sites

Hi MaLd0n,

 

Could you make a DSDT for my other mainboard, Gigabyte GA-945GM-S2?

I've tried a clean install with a DSDT patched by auto-patcher for GA-945GMC-S2 and GA-945GCM-S2C, but both give me a KP when almost booted.

 

Thanks a lot! :)

 

Send me original DSDT

 

use -v

see the error

post a photo

Link to comment
Share on other sites

hi Guys

 

If I want to patch a generic mainboard only with few patch

 

_T_

vget, fget, tget

aquire( .... 0xFFFF

Hpet

 

Can I use this?

 

 

and ...It possible to create a kext that inject IRQflags in HPET?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...