Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,753 posts in this topic

Recommended Posts

try it

patch.txt.zip

 

Shutdown, ioata fix

no rename

 

you can send me the original DSDT? :D

yes let me re grab it. i had wiped my usb earlier today with it. and also updated bios to A09 from A07 as a test.

 

yehia amer had waiting for root device.. ide1 on dell laptops is Pata.. on most desktops is sata so its backwards.

 

by the way try injecting id 2828 (imac 2 port sata) see what happens.. i used that on inspiron 530 once.

 

on my 1520 ide1 is pata.. and ide0 is sata. but the 0002 address is same. (rename to SATA by address instead of IDE1/0 ? or model specific?)

 

will report within 24 hrs. (sleepy time when i saw this)

 

here u go.. forgot i had it in 10.5 drive

Link to comment
Share on other sites

HeHeHe

 

Extract from Windows

use everest

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

 

I'm sorry MaLd0n, I'm not quite sure what to do ;-)

 

I've managed to export an acpi_dsdt.bin file with EVEREST, I've tried to rename this to DSDT.aml and put it in my existing /Extra folder, put in the com.apple.Boot.plist entries you mentioned, but my system crashes after a boot. So I've placed back the old DSDT file and Boot.plist.

 

I think I have to rename the file to DSDT.dsl and patch it with Autopatcher, but how?

Link to comment
Share on other sites

ioata panic - 10.6.3 solves this problem

yah but i have 10.6.0 retail so it wont let it boot till i do -v -x -f.. or fix dsdt.

2928

no 2828.. on 2 port sata mobile.. 2828 is included in ahcikext. its in combination with 2850 ide.

2928 would be ich9 likely (not included). 2828 ich8-m sata..

p.s. this disables 3 and 4 port of sata on DESKTOP mobos!

 

testing patch.. doubt shutdown will work.. i think this laptop shares something in common with m1330 and its no shutdown issue.. SMI ?

Link to comment
Share on other sites

I'm sorry MaLd0n, I'm not quite sure what to do ;-)

 

I've managed to export an acpi_dsdt.bin file with EVEREST, I've tried to rename this to DSDT.aml and put it in my existing /Extra folder, put in the com.apple.Boot.plist entries you mentioned, but my system crashes after a boot. So I've placed back the old DSDT file and Boot.plist.

 

I think I have to rename the file to DSDT.dsl and patch it with Autopatcher, but how?

 

rename acpi_dsdt.aml

apply Auto-Patcher

 

and you need to delete the kexts that are no longer used

 

 

 

2928

 

ICH8M

MaLd0n_2011_01_03___s_15.02.06.png

Link to comment
Share on other sites

yeah seems dev_2828 is when its in ide mode .. ahci seems to be dev_2829 same as my inspiron1520. but on some rare cases ahci isn't enabled and they get 2828 ata mode.

in other words if their device shows 2829 then they are ahci and ok. (no need to inject anything in dsdt unless they are ich9 then inject 2829 or 2828 depending on bios set to legacy=2828 or native=2829) and if no setting can be changed then use dsdt to enable ahci trick.. and inject 2829.

look in IOATAFamily> AppleIntelpIIATA.kext :P (useful for people that cant enable ahci.)

www.insanelymac.com/forum/index.php?showtopic=126089&st=60#

Link to comment
Share on other sites

yeah seems dev_2828 is when its in ide mode .. ahci seems to be dev_2829 same as my inspiron1520. but on some rare cases ahci isn't enabled and they get 2828 ata mode.

in other words if their device shows 2829 then they are ahci and ok. (no need to inject anything in dsdt unless they are ich9 then inject 2829 or 2828 depending on bios set to legacy=2828 or native=2829) and if no setting can be changed then use dsdt to enable ahci trick.. and inject 2829.

look in IOATAFamily> AppleIntelpIIATA.kext :) (useful for people that cant enable ahci.)

www.insanelymac.com/forum/index.php?showtopic=126089&st=60#

 

:thumbsup_anim:

you tested the shutdown?

Link to comment
Share on other sites

testing. i had to mod the usb section. and the yukon isnt in my lapptop. its in vostro1500.. i have broadcom 440x

 

no shutdown. i suspect its something with nvidia power management bus.. agp taking over instead of PCI0 sections due to OSID ?.

no biggie most things work fine now.

Link to comment
Share on other sites

1: EHC2 .. made it think its part of device-type EHC1 .. its in my first dsdt .got it from "Xlabs" Slice inspiron 1525.. works for over 8 months fine.

2: removed yukon from RP01 and replaced with GIGE under PCIE as my ioreg shows ethernet there... mostly cosmetic.

(little differences of model)

 

next im going to try to yank out AGP>VID section so it uses PCI0 VID instead. seems if it thinks its linux it uses PCI0 instead of AGP (or the intel card section? but i have nvidia. generic dsdt support for both cards in different model board..)

 

the M1339 has something that wont let it shutdown as well. i think i have a hybrid of m1530 and m1330 mostly 1530. with something from m1330 that causes no shutdown.

m1530 has hdmi . i dont

Link to comment
Share on other sites

Hi Guys,

 

can anybody make me a DSDT File?? For my Notebook!

lspci 
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9600M GS] (rev a1)
02:00.0 Network controller: RaLink RT2860
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

send_me.zip

Link to comment
Share on other sites

tuxie try lspci -nn.. from what i see u need ahci 2829 injection. since u have ich9.

i did do a inspiron530 desktop with ich9 chipset. had to inject ids for USB's, LPCB, SBUS, SATA and IDEx of an ICH8

 

this is my GA-G31M-ES2L rev:1.0 ICH7

00:00.0 Host bridge [0600]: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0] (rev 10)
00:01.0 PCI bridge [0604]: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port [8086:29c1] (rev 10)
00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 01)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 01)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 01)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 01)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 01)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 01)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 01)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01)
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 01)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller [8086:27c0] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 01)
01:00.0 VGA compatible controller [0300]: nVidia Corporation Unknown device [10de:0615] (rev a2)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)

Link to comment
Share on other sites

The Chipset is a Mobile Intel PM45 Express

lspci.rtf

Link to comment
Share on other sites

No, since I wasn't able to create a good DSDT I've used one modified for GA-EP45-UD3L.

 

All seems to work fine except for shutdown, this fails 8 out of 10 times (all goes down but the fans keep running).

 

I'm not sure how to get an 'unmodified' DSDT?

 

 

rename acpi_dsdt.aml

apply Auto-Patcher

 

and you need to delete the kexts that are no longer used

 

Thanks MaLd0n, I thought I first had to boot with the unmodified DSDT ;-)

 

I managed to patch the DSDT, I put it in /Extra along with the given com.apple.Boot.plist entries. I also removed all Kext's except for fakesmc, but unfortunatly the problem still exists (poor shutdown).

Right now I'm using AppleHDA (10.6.2), LegacyHDA and HDAEnabler to get ALC888 to work. I also use VoodooPS2, but propbably not present in this send_me.zip. As said, shutdown also doesn't go ok when these Kext's aren't loaded.

 

Can you help me out maybe?

Link to comment
Share on other sites

Hi Guys,

can anybody make me a DSDT File?? For my Notebook!

 

dsdt.tuxie.zip

DTGP

EHCI

IRQs

LAN

LPC

PNLF

RENAME

RTC

SMBUS

SHUTDOWN

UHCI

 

 

 

Thanks MaLd0n, I thought I first had to boot with the unmodified DSDT ;-)

 

I managed to patch the DSDT, I put it in /Extra along with the given com.apple.Boot.plist entries. I also removed all Kext's except for fakesmc, but unfortunatly the problem still exists (poor shutdown).

Right now I'm using AppleHDA (10.6.2), LegacyHDA and HDAEnabler to get ALC888 to work. I also use VoodooPS2, but propbably not present in this send_me.zip. As said, shutdown also doesn't go ok when these Kext's aren't loaded.

 

Can you help me out maybe?

 

very strange

send me your original DSDT

 

you're with a clean install?

repaired permissions?

Link to comment
Share on other sites

Hi thx for thies great Work!!

 

Now i have four Problems

 

1. i have a USB Problem, but it is not all time

2. Yellow Icons, ok that i can fix with the right kext

3. Sound (i need the right HDA Patch!)

4. Battery and ac management?

 

The biggest problem is the USB Problem..

JJan 3 22:21:30 localhost kernel[0]: USBF: 0.738 AppleUSBEHCI[0x5934800]: unable to get filterInterruptEventSource

Jan 3 22:21:30 localhost kernel[0]: USBF: 0.740 AppleUSBEHCI[0x5934800]::UIMInitialize - Error occurred (0xe00002be)

 

Have you got an idea??

send_me.zip

Link to comment
Share on other sites

1. i have a USB Problem, but it is not all time

2. Yellow Icons, ok that i can fix with the right kext

3. Sound (i need the right HDA Patch!)

4. Battery and ac management?

 

2. Fixed

4. Fixed

 

 

I have added USBBusFix in the com.apple.boot.plist. once time usb was running fin, next reboot usb is not running.

 

I dont know why.

 

3. I dont know what codec is in my notebook, few days ago i used voodoohda but it is terrible with the extra soundpane.

 

I have also used Voodoopowermini for speedstep but i think it is also with dsdt possible?

Link to comment
Share on other sites

tux i think the usb issue is same as i had. the EHCI is causing it. not both need the mod.

i think i fixed.

also renamed OVGA> GFX0 , LPC> LPCB , SAT0> SATA and added the id 2829 so u can forget about chameleon2 ahci kext.

 

EDIT1-3-2011: Removed attached dsdt.. no usb.

Link to comment
Share on other sites

USB doesn´t work!

 

I have 10.6.5 is it possible that i must downgrade the IOUSBMassStorageClass.kext ??

Link to comment
Share on other sites

USB doesn´t work!

 

I have 10.6.5 is it possible that i must downgrade the IOUSBMassStorageClass.kext ??

 

Nope

is better to try to resolve the DSDT

 

I have managed to solve the DSDT (desktop)

in notebooks we test

 

dsdt.tuxie.zip

 

 

 

OVGA> GFX0

 

into device label OVGA set_label begin GFX0 end

 

into_all all code_regex OVGA replaceall_matched begin GFX0 end

 

I think you need to change much

 

greatly facilitates :D

 

DSDT EDITOR and PATCHER is great

Link to comment
Share on other sites

heheh yah. i didnt want to go overboard... try switching the EHC hack to other EHC2 spot.. look at my first dsdt i posted :D yesterday

            Device (EHC2)
           {
               Name (_ADR, 0x001A0007)
               Name (_S1D, 0x02)
               Name (_S3D, 0x02)
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0B)
                       {
                           "AAPL,clock-id", 
                           Buffer (One)
                           {
                               0x01
                           }, 

                           "device_type", 
                           Buffer (0x05)
                           {
                               "EHC1"
                           }, 

                           "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)
               }

               Method (_PRW, 0, NotSerialized)
               {
                   Store (UPRW (Zero, 0x07), Local0)
                   If (LEqual (Local0, 0x03))
                   {
                       Return (Package (0x02)
                       {
                           0x0D, 
                           0x03
                       })
                   }

                   If (LEqual (Local0, One))
                   {
                       Return (Package (0x02)
                       {
                           0x0D, 
                           One
                       })
                   }

                   Return (Package (0x02)
                   {
                       0x0D, 
                       Zero
                   })
               }

               Method (_PSW, 1, NotSerialized)
               {
                   UPSW (Arg0, 0x07)
               }

               Device (HUB7)
               {
                   Name (_ADR, Zero)
                   Device (PRT1)
                   {
                       Name (_ADR, One)
                   }

                   Device (PRT2)
                   {
                       Name (_ADR, 0x02)
                   }

                   Device (PRT3)
                   {
                       Name (_ADR, 0x03)
                   }

                   Device (PRT4)
                   {
                       Name (_ADR, 0x04)
                   }
               }
           }

           Device (EHC1)
           {
               Name (_ADR, 0x001D0007)
               Name (_S1D, 0x02)
               Name (_S3D, 0x02)
               Method (_PRW, 0, NotSerialized)
               {
                   Store (UPRW (Zero, 0x07), Local0)
                   If (LEqual (Local0, 0x03))
                   {
                       Return (Package (0x02)
                       {
                           0x0D, 
                           0x03
                       })
                   }

                   If (LEqual (Local0, One))
                   {
                       Return (Package (0x02)
                       {
                           0x0D, 
                           One
                       })
                   }

                   Return (Package (0x02)
                   {
                       0x0D, 
                       Zero
                   })
               }

               Method (_PSW, 1, NotSerialized)
               {
                   UPSW (Arg0, 0x07)
               }

               Device (HUB7)
               {
                   Name (_ADR, Zero)
                   Device (PRT1)
                   {
                       Name (_ADR, One)
                   }

                   Device (PRT2)
                   {
                       Name (_ADR, 0x02)
                   }

                   Device (PRT3)
                   {
                       Name (_ADR, 0x03)
                   }

                   Device (PRT4)
                   {
                       Name (_ADR, 0x04)
                   }

                   Device (PRT5)
                   {
                       Name (_ADR, 0x05)
                   }

                   Device (PRT6)
                   {
                       Name (_ADR, 0x06)
                   }
               }
           }

this is the one that works for me with no hax kext or chameleon usbbusfix for over 8 months.

add ich8 id's and good to go.

notice on the bottom i dont have the

{

Store (Package (0x0B)

{

"AAPL,clock-id",

Buffer (One)

{

0x01

},

 

"device_type",

Buffer (0x05)

{

"EHC1"

},

 

"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

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...