Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,753 posts in this topic

Recommended Posts

Index Refs Address			Size	   Wired	  Name (Version) <Linked Against>
1   59 0				  0		  0		  com.apple.kpi.bsd (10.7.0)
2	4 0				  0		  0		  com.apple.kpi.dsep (10.7.0)
3   80 0				  0		  0		  com.apple.kpi.iokit (10.7.0)
4   85 0				  0		  0		  com.apple.kpi.libkern (10.7.0)
5   71 0				  0		  0		  com.apple.kpi.mach (10.7.0)
6   27 0				  0		  0		  com.apple.kpi.private (10.7.0)
7   42 0				  0		  0		  com.apple.kpi.unsupported (10.7.0)
8   13 0xffffff7f80600000 0x4000	 0x4000	 com.apple.iokit.IOACPIFamily (1.3.0) <7 6 4 3>
9   23 0xffffff7f80604000 0x12000	0x12000	com.apple.iokit.IOPCIFamily (2.6) <7 5 4 3>
  10	1 0xffffff7f80616000 0x45000	0x45000	com.apple.driver.AppleACPIPlatform (1.3.5) <9 8 7 6 5 4 3>
  11	0 0xffffff7f8065b000 0x1e000	0x1e000	com.apple.driver.AppleIntelCPUPowerManagement (105.13.0) <7 6 5 4 3 1>
  12   11 0xffffff7f80679000 0x1a000	0x1a000	com.apple.iokit.IOStorageFamily (1.6.2) <7 6 5 4 3 1>
  13	0 0xffffff7f80693000 0x12000	0x12000	com.apple.driver.DiskImages (289) <12 7 6 5 4 3 1>
  14	0 0xffffff7f806a5000 0x8000	 0x8000	 com.apple.nke.applicationfirewall (2.1.11) <7 6 5 4 3 1>
  15	2 0xffffff7f806ad000 0x3000	 0x3000	 com.apple.kext.AppleMatch (1.0.0d1) <4 1>
  16	0 0xffffff7f806b0000 0x4000	 0x4000	 com.apple.security.quarantine (0) <15 7 6 5 4 2 1>
  17	0 0xffffff7f806b4000 0x8000	 0x8000	 com.apple.security.sandbox (1) <15 7 6 5 4 2 1>
  18	0 0xffffff7f806bc000 0x3000	 0x3000	 com.apple.security.TMSafetyNet (6) <7 6 5 4 2 1>
  19	0 0xffffff7f806bf000 0x3000	 0x3000	 com.apple.driver.AppleIntelCPUPowerManagementClient (105.13.0) <7 6 5 4 3 1>
  20	0 0xffffff7f806c2000 0x3000	 0x3000	 com.apple.driver.AppleAPIC (1.4) <4 3>
  21	0 0xffffff7f806c5000 0x4000	 0x4000	 com.apple.driver.AppleSMBIOS (1.6) <7 4 3>
  22	0 0xffffff7f806c9000 0x6000	 0x6000	 com.apple.driver.AppleRTC (1.3.1) <8 5 4 3 1>
  23	0 0xffffff7f806cf000 0x3000	 0x3000	 com.apple.driver.AppleHPET (1.5) <8 7 5 4 3>
  24	2 0xffffff7f806d2000 0x43000	0x43000	com.apple.iokit.IOHIDFamily (1.6.5) <7 6 5 4 3 1>
  25	0 0xffffff7f80715000 0x4000	 0x4000	 com.apple.driver.AppleACPIButtons (1.3.5) <24 10 8 7 6 5 4 3 1>
  26	0 0xffffff7f80719000 0x4000	 0x4000	 org.netkas.fakesmc (2) <8 7 4 3>
  27	3 0xffffff7f8071d000 0x7000	 0x7000	 com.apple.iokit.IOAHCIFamily (2.0.4) <5 4 3 1>
  28	0 0xffffff7f80724000 0x17000	0x17000	com.apple.driver.AppleAHCIPort (2.1.5) <27 9 5 4 3 1>
  29	7 0xffffff7f8073b000 0x38000	0x38000	com.apple.iokit.IOUSBFamily (4.1.8) <9 7 5 4 3 1>
  30	0 0xffffff7f80773000 0x10000	0x10000	com.apple.driver.AppleUSBUHCI (4.1.5) <29 9 7 5 4 3 1>
  31	0 0xffffff7f80783000 0x2000	 0x2000	 net.osrom.kext.Disabler (1.0.1) <4 3>
  32	1 0xffffff7f80785000 0x3000	 0x3000	 com.apple.driver.AppleEFIRuntime (1.4.0) <7 6 5 4 3>
  33	0 0xffffff7f80788000 0x16000	0x16000	com.apple.driver.AppleUSBEHCI (4.1.8) <29 9 7 5 4 3 1>
  34	2 0xffffff7f8079e000 0x1a000	0x1a000	com.apple.iokit.IONetworkingFamily (9.9) <7 6 5 4 3 1>
  35	2 0xffffff7f807b8000 0x4b000	0x4b000	com.apple.iokit.IOFireWireFamily (4.2.6) <5 4 3 1>
  36	0 0xffffff7f80803000 0x28000	0x28000	com.apple.driver.AppleFWOHCI (4.7.1) <35 9 7 6 5 4 3 1>
  37	0 0xffffff7f8082b000 0x1b000	0x1b000	com.lnx2mac.driver.RealtekRTL81xx (0.0.67) <34 9 5 4 3 1>
  38	0 0xffffff7f80846000 0x7000	 0x7000	 com.apple.driver.AppleEFINVRAM (1.4.0) <32 7 5 4 3>
  39	0 0xffffff7f8084d000 0x2000	 0x2000	 com.apple.iokit.IOUSBUserClient (4.1.5) <29 7 5 4 3 1>
  40	0 0xffffff7f8084f000 0x15000	0x15000	com.apple.iokit.IOAHCIBlockStorage (1.6.3) <27 12 5 4 3 1>
  42	0 0xffffff7f80866000 0x5000	 0x5000	 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib (1.0.0d1) <6 4 3 2 1>
  43	0 0xffffff7f8086b000 0x4000	 0x4000	 com.apple.BootCache (31) <7 6 5 4 3 1>
  44	0 0xffffff7f8086f000 0x11000	0x11000	com.apple.driver.AppleUSBHub (4.1.7) <29 5 4 3 1>
  45	0 0xffffff7f80880000 0x3000	 0x3000	 com.apple.driver.XsanFilter (402.1) <12 5 4 3 1>
  46	0 0xffffff7f80883000 0x1e000	0x1e000	com.apple.driver.AppleRAID (4.0.6) <12 5 4 3>
  47	0 0xffffff7f808a1000 0x4000	 0x4000	 com.apple.driver.AppleUSBComposite (3.9.0) <29 4 3 1>
  48	0 0xffffff7f808a5000 0x6000	 0x6000	 com.apple.iokit.IOUSBHIDDriver (4.1.5) <29 24 5 4 3 1>
  49	5 0xffffff7f808ab000 0x19000	0x19000	com.apple.iokit.IOSCSIArchitectureModelFamily (2.6.5) <5 4 3 1>
  50	0 0xffffff7f808c4000 0xc000	 0xc000	 com.apple.iokit.IOUSBMassStorageClass (2.6.5) <49 29 12 5 4 3 1>
  51	0 0xffffff7f808d0000 0x9000	 0x9000	 com.apple.iokit.IOAHCISerialATAPI (1.2.5) <49 27 5 4 3 1>
  52	0 0xffffff7f808d9000 0x10000	0x10000	com.apple.iokit.IOSCSIBlockCommandsDevice (2.6.5) <49 12 5 4 3 1>
  53	0 0xffffff7f808e9000 0x7000	 0x7000	 com.apple.iokit.SCSITaskUserClient (2.6.5) <49 12 5 4 3 1>
  54	3 0xffffff7f808f0000 0x9000	 0x9000	 com.apple.iokit.IOCDStorageFamily (1.6) <12 5 4 3 1>
  55	2 0xffffff7f808f9000 0x7000	 0x7000	 com.apple.iokit.IODVDStorageFamily (1.6) <54 12 5 4 3 1>
  56	1 0xffffff7f80900000 0x7000	 0x7000	 com.apple.iokit.IOBDStorageFamily (1.6) <55 54 12 5 4 3 1>
  57	0 0xffffff7f80907000 0x13000	0x13000	com.apple.iokit.IOSCSIMultimediaCommandsDevice (2.6.5) <56 55 54 49 12 5 4 3 1>
  58	8 0xffffff7f8091a000 0x27000	0x27000	com.apple.iokit.IOGraphicsFamily (2.2) <9 7 5 4 3>
  59	2 0xffffff7f80941000 0x36000	0x36000	com.apple.kext.ATISupport (6.2.6) <58 9 8 7 5 4 3 1>
  60	0 0xffffff7f80977000 0x99000	0x99000	com.apple.kext.ATI4800Controller (6.2.6) <59 58 9 8 5 4 3 1>
  61	0 0xffffff7f80a10000 0x3000	 0x3000	 com.apple.driver.AppleLPC (1.4.12) <9 5 4 3>
  62	0 0xffffff7f80a13000 0x2000	 0x2000	 com.apple.driver.AppleSMBusPCI (1.0.8d0) <9 5 4 3>
  63	2 0xffffff7f80a15000 0xc000	 0xc000	 com.apple.driver.IOPlatformPluginFamily (4.5.0d5) <6 5 4 3>
  64	2 0xffffff7f80a21000 0xb000	 0xb000	 com.apple.driver.AppleSMC (3.1.0d3) <8 7 5 4 3>
  65	0 0xffffff7f80a2c000 0x12000	0x12000	com.apple.driver.ACPI_SMC_PlatformPlugin (4.5.0d5) <64 63 9 8 7 6 5 4 3>
  66	1 0xffffff7f80a3e000 0x5000	 0x5000	 com.apple.kext.OSvKernDSPLib (1.3) <5 4>
  67	2 0xffffff7f80a43000 0x1b000	0x1b000	com.apple.iokit.IOAudioFamily (1.8.0fc1) <66 5 4 3 1>
  68	0 0xffffff7f80a5e000 0x21000	0x21000	org.voodoo.driver.VoodooHDA (2.7.2) <67 9 7 5 4 3>
  69	7 0xffffff7f80a7f000 0x34000	0x34000	com.apple.iokit.AppleProfileFamily (41) <9 7 6 5 4 3 1>
  71	0 0xffffff7f80abb000 0x9000	 0x9000	 com.apple.iokit.IOFireWireIP (2.0.3) <35 34 5 4 3 1>
  72	2 0xffffff7f80ac4000 0xe000	 0xe000	 com.apple.iokit.IONDRVSupport (2.2) <58 9 7 5 4 3>
  73	1 0xffffff7f80ad2000 0x2000	 0x2000	 com.apple.iokit.IOSMBusFamily (1.1) <5 4 3>
  74	0 0xffffff7f80ad4000 0xb000	 0xb000	 com.apple.driver.AppleSMBusController (1.0.8d0) <73 9 8 5 4 3>
  76	0 0xffffff7f80ae4000 0x4000	 0x4000	 com.apple.driver.AudioIPCDriver (1.1.6) <67 5 4 3 1>
  77	0 0xffffff7f80ae8000 0x8000	 0x8000	 com.apple.driver.AppleIntelNehalemProfile (11) <69 6 4 3>
  78	0 0xffffff7f80af0000 0x22a000   0x22a000   com.apple.ATIRadeonX2000 (6.2.6) <72 58 9 7 6 5 4 3 1>
  79	0 0xffffff7f80d1a000 0x5000	 0x5000	 com.apple.Dont_Steal_Mac_OS_X (7.0.0) <64 7 4 3 1>
  81	0 0xffffff7f80d27000 0x13000	0x13000	com.apple.kext.ATIFramebuffer (6.2.6) <59 58 9 8 7 5 4 3 1>
  82	1 0xffffff7f80d3a000 0xa000	 0xa000	 com.apple.iokit.IOSerialFamily (10.0.3) <7 6 5 4 3 1>
  83	0 0xffffff7f80d44000 0xa000	 0xa000	 com.apple.iokit.IOBluetoothSerialManager (2.4.0f1) <82 7 5 4 3 1>
  84	0 0xffffff7f80d4e000 0x8000	 0x8000	 com.apple.driver.AppleMCCSControl (1.0.17) <58 9 7 5 4 3 1>
  85	0 0xffffff7f80d56000 0xc000	 0xc000	 com.apple.iokit.IOSurface (74.2) <7 5 4 3 1>
  86	0 0xffffff7f80d62000 0x5000	 0x5000	 com.apple.driver.AppleUpstreamUserClient (3.5.4) <58 9 8 7 5 4 3 1>
  87	0 0xffffff7f80d67000 0x3000	 0x3000	 com.apple.driver.AppleProfileCallstackAction (20) <69 5 4 3 1>
  88	0 0xffffff7f80d6a000 0x2000	 0x2000	 com.apple.driver.AppleProfileKEventAction (10) <69 4 3 1>
  89	0 0xffffff7f80d6c000 0x5000	 0x5000	 com.apple.driver.AppleHWSensor (1.9.3d0) <5 4 3>
  90	0 0xffffff7f80d71000 0xc000	 0xc000	 com.apple.driver.AGPM (100.12.19) <72 58 9 5 4 3>
  91	0 0xffffff7f80d7d000 0x9000	 0x9000	 com.apple.driver.AppleTyMCEDriver (1.0.2d2) <63 9 8 7 6 5 4 3 1>
  92	0 0xffffff7f80d86000 0x2000	 0x2000	 com.apple.driver.AppleProfileRegisterStateAction (10) <69 4 3 1>
  93	0 0xffffff7f80d88000 0x2000	 0x2000	 com.apple.driver.AppleProfileThreadInfoAction (14) <69 6 4 3 1>
  94	0 0xffffff7f80d8a000 0x2000	 0x2000	 com.apple.driver.AppleProfileTimestampAction (10) <69 5 4 3 1>
  95	0 0xffffff7f80d8c000 0x3000	 0x3000	 com.apple.driver.AppleProfileReadCounterAction (17) <69 6 4 3>
  96	0 0xffffff7f80d8f000 0xa000	 0xa000	 com.apple.filesystems.autofs (2.1.0) <7 6 5 4 3 1>

ok :)

 

run on terminal

ioreg -lw0 | grep CSTInfo

Link to comment
Share on other sites

Dell Inspiron 1545

dsdt.KUGLee.zip

HDEF

DTGP

EHCI

FN

HPET

IRQs

LPC

PNLF

SMBUS

SHUTDOWN

UHCI

 

ioreg -lw0 | grep CSTInfo
| |   | |   "CSTInfo" = 19136773

 

fun.gif

 

Everything is good so far, now if I could only figure out how to get audio over HDMI with my 4870. :blink:

 

use search forum

Link to comment
Share on other sites

dsdt.KUGLee.zip

HDEF

DTGP

EHCI

FN

HPET

IRQs

LPC

PNLF

SMBUS

SHUTDOWN <-- problem, test it

UHCI

 

 

 

post-557433-1302892404.gif

 

 

 

use search forum

 

I am, I'm looking at http://www.insanelymac.com/forum/index.php?showtopic=249642 currently. I think I need to add some additional information to the DSDT.aml file for the audio device, just trying to find out the specifics.

 

Thanks!

Link to comment
Share on other sites

Hi,

several attempts and various methods later i still get this.

Downloaded -autopatcher for p35-ds3 only- from the board=> creates dsdt.aml but won't fix sleep

send me files

 

Here it is

 

dsdt.almuras.zip

 

DTGP

HDEF

IRQs

RTC

SMBUS

EHCI

FN KEYS

PNLF

FIX WARNINGS

Link to comment
Share on other sites

Hi MaLdOn,

 

It's very nice to find this thread. I am currently using Hackintosh on my HP DV3t-2000 (Graphick Nvidia 105GM) with [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] ([url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url]). Wireless is not working for sure and I have to use Mini Airlink101 wireless adapter and it works very well as long as USB port works. However, USB ports are very unstable (sometimes they dont work after reboot, don't know why). Graphic is fine.

 

I would like to explore the option to run the system with a corrected DSDT and I need your help. I would very highly appreciate it if you can help me out on this issue. I attached herein file send_me.zip generated by your script (run when booted by [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] CD).

 

Thank you very much.send_me.zip

Link to comment
Share on other sites

So far no sound -shouldn't be a problem- and no sleep, which really bothers me...

DSDT Auto-Patcher -> Line0 dstd.src

DSDT '' for ep35-ds3 works -> but no success

DSDT '' HDEF works -> ''

 

Thank you for your patience!

do you remove? :(

AppleIntelCPUPowerManagement

AppleIntelCPUPowerManagementClient

 

dsdt.sundial.zip

 

I attached herein file send_me.zip generated by your script (run when booted by [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] CD).

 

send me

 

Chipset? ICHX?

Link to comment
Share on other sites

Thanks for the patch MaLd0n.

Sleep and Shutdown now works fine, but the laptop fan keeps running all the time, and the cpu temperature is around 62 C.

run on terminal

kextstat | grep LPC

 

and

 

ioreg -lw0 | grep CSTInfo

Link to comment
Share on other sites

Hi MaLd0n,

 

Thanks for your great effort to maintain the DSDT database for various motherboards.

 

Since I couldn't find the patch for GA 945GCMX-S2 from your database, I made one based on your patch for other GigaByte's 945G boards. Interestingly, my 945GCMX-S2 r6.6 (F5 BIOS)'s DSDT doesn't have the HPET entry, I've to add it manually. It runs well on vanilla SL 10.6.7 (P/C-States, restart/shutdown/sleep with Chameleon RC5 r700).

 

Would you mind to have a look to the attached dsdt files (before/after patched) & the patch and help me to add the HPET section to the patch, I removed the serial devices UAR1/2 as well.

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

 

Thank you again.

 

neuk

dsdt.zip

Link to comment
Share on other sites

EDIT: Now it works after a restart. Sorry.

 

Hey,

 

my Board is the Gigabyte g41m-es2l.

 

I've extracted my dsdt with Ubuntu and tried the patcher now, but I am always getting this error.

 

[Line 264 type Error message Method local variable is not initialized (Local0)]
[Line 268 type Error message Method local variable is not initialized (Local0)]
[Line 409 type Error message Length is larger than Min/Max window ]

 

And it doesn't matter, which of the 2 Patches (there are 2 for this board) I use.

 

 

Could you help me?

 

EDIT: Now it works after a restart. Sorry.

Link to comment
Share on other sites

MaLd0n, could you please fix my DSDT? I'd like to get rid off those kexts and have a vanilla system.

 

The CPU is getting hot with the DSDT, the fan is always venting. So i'm using VoodooMiniPower (no C-States).

Sleep doesn't work

 

Specs:

Lenovo/IBM T61

-ICH8 Chipset

-X3100 graphics adapter

 

--edit: Thanks a lot!

Link to comment
Share on other sites

chipset is ICH9.

 

dsdt.niceshot.zip

 

HDEF

DTGP

EHCI

FN

HPET

IRQs

LPC

OS

PNLF

RENAME

RTC

SMBUS

SHUTDOWN

UHCI

USB _L METHODS

 

   kextstat | grep LPC
  72	0 0xffffff7f8099d000 0x3000	 0x3000	 com.apple.driver.AppleLPC (1.4.12) <9 5 4 3>

CSTInfo doen't exist.

The old problem Dell

:P

 

 

GA 945GCMX-S2

 

dsdt.neuk.zip

 

into device name_adr 0x001F0000 insert

begin

01a.png

 

into device name_adr 0x001F0000 insert
begin
Device (HPET)\n
               {\n
                   Name (_HID, EisaId ("PNP0103"))\n
                   Name (ATT3, ResourceTemplate ()\n
                   {\n
                       IRQNoFlags ()\n
                           {0}\n
                       IRQNoFlags ()\n
                           {8}\n
                       Memory32Fixed (ReadWrite,\n
                           0xFED00000,         // Address Base\n
                           0x00000400,         // Address Length\n
                           )\n
                   })\n
                   Name (ATT4, ResourceTemplate ()\n
                   {\n
                   })\n
                   Method (_STA, 0, NotSerialized)\n
                   {\n
                       Return (0x0F)\n
                   }\n
                   Method (_CRS, 0, NotSerialized)\n
                   {\n
                       Return (ATT3)\n
                   }\n
               }
end

 

into method label _DSM parent_adr 0x001F0000 remove_entry;
into device name_adr 0x001F0000 insert
begin
OperationRegion (LPC0, PCI_Config, 0xA4, 0x02)\n
               Field (LPC0, ByteAcc, NoLock, Preserve)\n
               {\n
                   AG3E,   1\n
               }
end;
into method label DTGP remove_entry;
into definitionblock code_regex . insert
begin
Method (DTGP, 5, NotSerialized)\n
{\n
   If (LEqual (Arg0, Buffer (0x10)\n
           {\n
               /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, \n
               /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B\n
           }))\n
   {\n
       If (LEqual (Arg1, One))\n
       {\n
           If (LEqual (Arg2, Zero))\n
           {\n
               Store (Buffer (One)\n
                   {\n
                       0x03\n
                   }, Arg4)\n
               Return (One)\n
           }\n
           If (LEqual (Arg2, One))\n
           {\n
               Return (One)\n
           }\n
       }\n
   }\n
   Store (Buffer (One)\n
       {\n
           0x00\n
       }, Arg4)\n
   Return (Zero)\n
}
end;
into method label _DSM parent_adr 0x001D0007 remove_entry;
into device name_adr 0x001D0007 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
Store (Package (0x04)\n
{\n
"AAPL,clock-id",\n
Buffer (One)\n
{\n
0x01\n
},\n
"device_type",\n
Buffer (0x05)\n
{\n
"EHCI"\n
}\n
}, Local0)\n
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001A0007 remove_entry;
into device name_adr 0x001A0007 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
Store (Package (0x04)\n
{\n
"AAPL,clock-id",\n
Buffer (One)\n
{\n
0x02\n
},\n
"device_type",\n
Buffer (0x05)\n
{\n
"EHCI"\n
}\n
}, Local0)\n
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
Return (Local0)\n
}
end;
into device label PWRB code_regex (Name\s\()_HID(\,\sEisaId\s\(\"PNP0C0C\"\)\)) replace_matched begin %1_CID%2 end;
into_all all code_regex Or\s\(0x03,\sPARM\) replaceall_matched
begin
Or (PARM, 0x03, PARM)
end;
into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0103 code_regex_not IRQNoFlags code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\)\n\s+\{((?:.|\n)*)\}\) replace_matched
begin
Name (%1, ResourceTemplate ()\n
                   {\n
                       IRQNoFlags ()\n
                           {0}\n
                       IRQNoFlags ()\n
                           {8}\n
%2
})
end;
into method label _DSM parent_adr 0x001F0000 remove_entry;
into device name_adr 0x001F0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0xb9, 0x27, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into device label SPKR remove_entry;
into device label FDC remove_entry;
into device label FDC0 remove_entry;
into device label LPT1 remove_entry;
into device label LPTE remove_entry;
into device label ECP1 remove_entry;
into device label UAR1 remove_entry;
into device label UAR2 remove_entry;
into device label \_SB.PCI0.PEX4.JMB0 remove_entry;
into device label \_SB.PCI0.PEX4.JMB1 remove_entry;
into device label PEX1.JMB0 remove_entry;
into device label PEX1.JMB1 remove_entry;
into device label MEM remove_entry;
into device label ^^RMEM remove_entry;
into all code_regex Notify\s\(\\_SB.PCI0.PX40.UAR1,\s0x02\) remove_matched;
into all code_regex Notify\s\(\\_SB.PCI0.LPCB.UAR1,\s0x02\) remove_matched;
into all code_regex Notify\s\(\\_SB.PCI0.PX40.UAR2,\s0x02\) remove_matched;
into all code_regex Notify\s\(\\_SB.PCI0.LPCB.UAR2,\s0x02\) remove_matched;
into device label FWH set_label begin FWHD end;
into device label PIC set_label begin IPIC end;
into device label DMA1 set_label begin DMAC end;
into device label TMR set_label begin TIMR end;
into device label RTC0 set_label begin RTC end;
into device label COPR set_label begin MATH end;
into device label OMSC set_label begin LDRC end;
into device label IDE1 set_label begin SATA end;
into device label CHN0 set_label begin PRT0 end;
into device label CHN1 set_label begin PRT1 end;
into device label USB0 set_label begin UHC1 end;
into device label USB1 set_label begin UHC2 end;
into device label USB2 set_label begin UHC3 end;
into device label USB3 set_label begin UHC4 end;
into device label USB4 set_label begin UHC5 end;
into device label USB5 set_label begin UHC6 end;
into device label USBE set_label begin EHC1 end;
into device label USE2 set_label begin EHC2 end;
into device label PRIM set_label begin PRT0 end;
into device label SECD set_label begin PRT1 end;
into_all all code_regex TMR replaceall_matched begin TIMR end;
into_all all code_regex RTC0 replaceall_matched begin RTC end;
into_all all code_regex COPR replaceall_matched begin MATH end;
into_all all code_regex OMSC replaceall_matched begin LDRC end;
into_all all code_regex CHN0 replaceall_matched begin PRT0 end;
into_all all code_regex CHN1 replaceall_matched begin PRT1 end;
into_all all code_regex USB0 replaceall_matched begin UHC1 end;
into_all all code_regex USB1 replaceall_matched begin UHC2 end;
into_all all code_regex USB2 replaceall_matched begin UHC3 end;
into_all all code_regex USB3 replaceall_matched begin UHC4 end;
into_all all code_regex USB4 replaceall_matched begin UHC5 end;
into_all all code_regex USB5 replaceall_matched begin UHC6 end;
into_all all code_regex USBE replaceall_matched begin EHC1 end;
into_all all code_regex USE2 replaceall_matched begin EHC2 end;
into device name_adr 0x001E0000 set_label
begin
PCIB
end;
into_all all code_regex HUB0 replaceall_matched
begin
PCIB
end;
into device name_hid PNP0B00 code_regex (IO\s\((?:\s*[^,]+,\s*(?:\/\/\s.*)?\s*\n)+\s*)(\dx\d+)(,\s*(?:\/\/\s.*)?\s*\n\s*\)) replace_matched begin %10x02%3 end;
into device name_adr 0x001F0003 parent_label PCI0 remove_entry;
into device label PCI0 insert
begin
Device (SBUS)\n
{\n
   Name (_ADR, 0x001F0003)\n
   Device (BUS0)\n
   {\n
       Name (_CID, "smbus")\n
       Name (_ADR, Zero)\n
       Device (DVL0)\n
       {\n
           Name (_ADR, 0x57)\n
           Name (_CID, "diagsvault")\n
       }\n
   }\n
   Method (_DSM, 4, NotSerialized)\n
   {\n
       Store (Package (0x02)\n
           {\n
               "device-id", \n
               Buffer (0x04)\n
               {\n
                   0x30, 0x3A, 0x00, 0x00\n
               }\n
           }, Local0)\n
       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
       Return (Local0)\n
   }\n
}
end;
into method label _WAK code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\}\s*\n?\s*\) remove_matched;
into method label _WAK insert
begin
Return (Package (0x02)\n
{\n
   Zero, \n
   Zero\n
})
end;
into method label \_WAK code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\}\s*\n?\s*\) remove_matched;
into method label \_WAK insert
begin
Return (Package (0x02)\n
{\n
   Zero, \n
   Zero\n
})
end;
into method label _PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched
begin
%1
           Store (One, \\_SB.PCI0.PX40.AG3E)\n
           Store (Zero, SLPE)\n
           Sleep (0x10)\n
%2\n
Else\n
{\n
   Store (Zero, \\_SB.PCI0.PX40.AG3E)\n
}
end;
into method label \_PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched
begin
%1
           Store (One, \\_SB.PCI0.PX40.AG3E)\n
           Store (Zero, SLPE)\n
           Sleep (0x10)\n
%2\n
Else\n
{\n
   Store (Zero, \\_SB.PCI0.PX40.AG3E)\n
}
end;
into definitionblock code_regex . code_regex_not OperationRegion\s*\(PMRS insert
begin
OperationRegion (PMRS, SystemIO, 0x0430, One)\n
Field (PMRS, ByteAcc, NoLock, Preserve)\n
{\n
       ,   4, \n
   SLPE,   1\n
}
end;
into device name_adr 0x001B0000 set_label
begin
HDEF
end;
into_all all code_regex AZAL replaceall_matched
begin
HDEF
end;
into method label _DSM parent_adr 0x001B0000 remove_entry;
into device name_adr 0x001B0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x08)\n
       {\n
           "codec-id", \n
           Buffer (0x04)\n
           {\n
               0x88, 0x08, 0xEC, 0x10\n
           }, \n
           "layout-id", \n
           Buffer (0x04)\n
           {\n
               0x78, 0x03, 0x00, 0x00\n
           }, \n
           "device-type", \n
           Buffer (0x0F)\n
           {\n
               "Realtek ALC888"\n
           }, \n
           "PinConfigurations", \n
           Buffer (One)\n
           {\n
               0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into device name_adr 0x001F0000 insert
begin
Device (HPET)\n
               {\n
                   Name (_HID, EisaId ("PNP0103"))\n
                   Name (ATT3, ResourceTemplate ()\n
                   {\n
                       IRQNoFlags ()\n
                           {0}\n
                       IRQNoFlags ()\n
                           {8}\n
                       Memory32Fixed (ReadWrite,\n
                           0xFED00000,         // Address Base\n
                           0x00000400,         // Address Length\n
                           )\n
                   })\n
                   Name (ATT4, ResourceTemplate ()\n
                   {\n
                   })\n
                   Method (_STA, 0, NotSerialized)\n
                   {\n
                       Return (0x0F)\n
                   }\n
                   Method (_CRS, 0, NotSerialized)\n
                   {\n
                       Return (ATT3)\n
                   }\n
               }
end

Link to comment
Share on other sites

Lenovo/IBM T61

 

dsdt.max22.zip

dtgp

ehci

fn

hpet

ioata

irqs

pnlf

rename

smbus

fix warnings

 

remove

NullCPUPowerManagement

SleepEnabler

VoodooPowerMini

 

add in boot.plist

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

 

use Chameleon RC5

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

Link to comment
Share on other sites

Hi MaLd0n,

 

please may you can help me also with my hackintosh.

i build a system with an Gigabyte x58a-ud7.The bios is the latest FC with i7-990x and 24GB Ram.

i have a GTS 450 Graphics card in it.

I installed OSX on the first Harddrive with Windows7 on Dual boot.

On the second Drive is OpenSuse 11.4 alone. So now with Chameleon i can boot into Triple boot.

The osx version is 10.6.7 and build it with [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url]. In my Extra Folder is the com.apple.boot.plist

and the smbios for MacPro5.1.And of course my dsdt.aml.In Extra/Extensions i have only ACPIMonitor.kext,FakeSMC.kext(3.1),IntelCPUMonitor.kext,SuperIOFamily.kext.

So the System runs so far so good, i think i have the speeedstepping working and also sleep works. But sometimes i start the system i get a grey apple logo, you have to restart ....

It means i have a kernel panic. It happens also sometimes if i make a reboot.

Is there something wrong in my dsdt.aml or what can i do?

 

i attached the send me file and my dsdt.aml.

 

Best regards

Gulliver

send_me.zip

dsdt.aml.zip

Link to comment
Share on other sites

@MaLd0n: thank you very much for your fast help!

Even Bluetooth is working now! :D

 

Just one thing: I think i have the same problem as KUGLee:

LPC is loaded, but CSTInfo doesn't exist in ioreg. I use Chameleon RC5 (Kabyl)

	58	0 0x2f1b6000 0x3000	 0x2000	 com.apple.driver.AppleLPC (1.4.12) <14 5 4 3>

 

Is there a fix for this? I don't understand your upper post for KUGlee

Link to comment
Share on other sites

@MaLd0n: thank you very much for your fast help!

Even Bluetooth is working now! :D

 

Just one thing: I think i have the same problem as KUGLee:

LPC is loaded, but CSTInfo doesn't exist in ioreg. I use Chameleon RC5 (Kabyl)

	58	0 0x2f1b6000 0x3000	 0x2000	 com.apple.driver.AppleLPC (1.4.12) <14 5 4 3>

 

Is there a fix for this? I don't understand your upper post for KUGlee

you added in boot.plist?

generate P and C States=Yes

 

what MacModel(Smbios) that you are using?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...