Jump to content
5753 posts in this topic

Recommended Posts

Just managed to make a Personal copy of the DSDT with the GFX injected using that program it was so easy.

 

Just the AHCI for ICH9-M patch to do and its Perfect!

as soon as I get time

I prepared this patch :D

 

               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package ()
                       {

                           "device_type", 
                           Buffer (0x10)
                           {
                           "AHCI Controller"
                           }, 

                           "model", 
                           Buffer (0x1C)
                           {
                           "ICH9-R SATA/AHCI Controller"
                           }, 

                           "name", 
                           Buffer (0x1C)
                           {
                           "ICH9-R SATA/AHCI Controller"
                           }, 

                           "device-id", 
                           Buffer (0x04)
                           {
                               0x29, 0x28, 0x00, 0x00
                           }, 

                           "subsystem-id", 
                           Buffer (0x04)
                           {
                               0xA0, 0x00, 0x00, 0x00
                           }, 

                           "subsystem-vendor-id", 
                           Buffer (0x04)
                           {
                               0x6B, 0x10, 0x00, 0x00
                           }, 

                           "vendor-id", 
                           Buffer (0x04)
                           {
                               0x86, 0x80, 0x00, 0x00
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }

 

;)

Will i need to do that to SAT0 and SAT1 which is what my SATA is called?

 

ADR, 0x001F0002

 

for SAT1 aka PATA (ide) u need id 2850.. which is 0x50, 0x28, 0x00, 0x00

 

look at imac 7.1 ioreg

 

if u want ESB2 look at macPro 3.1 ioreg.

yes.. but if u have KP with ioata.. u have to tweak the SAT1 (pata ide) prob ide timing register (i usually remove secondary chan of ide pata if its laptop)

or try ESB2 or ESB and do the orange icon fix.. i hardly run into this as i have mostly worked on vanilla id's mobos.

I double-checked, and it's a Pentium E6300 dual-core (cheaper version of the Core 2 Duo, but with less cache).

 

Thanks for the DSDT update, but I still got the Unsupported CPU panic when I removed NullCPUPowerManagement kext.

 

i think your issue is an usupported cpu in the boot chameleon auto pstates.

or add in smbios.plist cputype stuff

i did a E6400 _PR Pstates in the inspiron 530 in dsdt last year.. might work with minor adjustsments.

i think sd-cyclone is going to have to use vodoopower kext. and smbios.plist

 

Tuxie..

Jan 3 23:30:01 iMac kernel[0]: Wake reason = PWRB

i think someone touched too much in PTS :o

 

u didnt have shutdown issues with first dsdt?

the wake reason is the shutdown fix im almost sure. i was comparing original to last one u posted fixed and found

 

original

   Method (_PTS, 1, NotSerialized)
   {
       Store (0xE4, DBGD)
       TRAP (TRTI, 0x21)
       TRAP (TRTI, 0x22)
       If (LEqual (Arg0, 0x04))
       {
           Store (One, \_SB.PCI0.LPC.EC0.PFLG)
       }

       If (LEqual (Arg0, 0x03))
       {
           If (ECOK)
           {
               Store (KBWK, \_SB.PCI0.LPC.EC0.PSKB)
               Store (MUWK, \_SB.PCI0.LPC.EC0.PSTP)
           }
       }
       Else
       {
           If (ECOK)
           {
               Store (Zero, \_SB.PCI0.LPC.EC0.PSKB)
               Store (Zero, \_SB.PCI0.LPC.EC0.PSTP)
           }
       }

       If (ECOK)
       {
           Store (LAWK, \_SB.PCI0.LPC.EC0.PWOL)
       }

       Store (\_SB.PCI0.LPC.DCK1._STA (), \_SB.D1ST)
   }

modified

   Method (_PTS, 1, NotSerialized)
   {
       If (LEqual (Arg0, 0x05)) {}
       Else
       {
           Store (0xE4, DBGD)
           TRAP (TRTI, 0x21)
           TRAP (TRTI, 0x22)
           If (LEqual (Arg0, 0x04))
           {
               Store (One, \_SB.PCI0.LPC.EC0.PFLG)
           }

           If (LEqual (Arg0, 0x03))
           {
               If (ECOK)
               {
                   Store (KBWK, \_SB.PCI0.LPC.EC0.PSKB)
                   Store (MUWK, \_SB.PCI0.LPC.EC0.PSTP)
               }
           }
           Else
           {
               If (ECOK)
               {
                   Store (Zero, \_SB.PCI0.LPC.EC0.PSKB)
                   Store (Zero, \_SB.PCI0.LPC.EC0.PSTP)
               }
           }

           If (ECOK)
           {
               Store (LAWK, \_SB.PCI0.LPC.EC0.PWOL)
           }

           Store (\_SB.PCI0.LPC.DCK1._STA (), \_SB.D1ST)
       }
   }

 

which post # works usb but no sleep.? so i can unpatch that section.

 

EDIT: grabed your last dsdt with usb fixed i think i fixed sleep. and ide native

try this . 1: removed the difference in _PTS ^

2: added ata ide id 2850

(copy from * to *)

            Device (PATA)
           {
               Name (_ADR, 0x001F0005)
*                Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x02)
                       {
                           "device-id", 
                           Buffer (0x04)
                           {
                               0x50, 0x28, 0x00, 0x00
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }*
// (rest of code bellow for example where i attached)
               OperationRegion (SACS, PCI_Config, 0x40, 0xC0)

 

 

rename to dsdt.aml , put in /Extra and test.

 

Maldon..do we have to add DropSSDT=y ? im testing again the autopstates.

very strange

send me your original DSDT

 

you're with a clean install?

repaired permissions?

 

Here's the original DSDT and the send_me.zip. Ik believe I forgot to attach it to my previous post?

 

Permissions are repaired, made my own USB installer with only Chameleon and retail Snow Leopard DVD + combo update 10.6.5. So no iAtkos, Hazard or what.

acpi_dsdt.aml.zip

send_me.zip

Please add support for ASUS P5E3 Premium WIFI AP@N. Its similar to ASUS boards you support but not exactly the same. I am also having trouble getting my Delta 66 audio card to be recognised. I've tried the ENVY 24 driver and the card is listed in lspci -v:

 

06:01.0 Multimedia audio controller: VIA Technologies Inc. Unknown device 0712 (rev 02)

Subsystem: VIA Technologies Inc. Unknown device c632

Flags: bus master, medium devsel, latency 64, IRQ 17

I/O ports at ec00

I/O ports at e880

I/O ports at e800

I/O ports at e480

Capabilities: [80] Power Management version 1

 

Ignore my sig - it is out of date. I am running 10.6.5 with VoodooHDA (couldnt get the AD1988b to work)

 

Onboard firewire also not working (never has, including on my old leopard install)

 

thanks! (see attached)

Here's the original DSDT and the send_me.zip. Ik believe I forgot to attach it to my previous post?

 

Permissions are repaired, made my own USB installer with only Chameleon and retail Snow Leopard DVD + combo update 10.6.5. So no iAtkos, Hazard or what.

there's something wrong there

check

DSDT generated by the auto-patcher

compare with your

dsdt.Daylights.zip

 

:)

 

thanks! (see attached)

:(

 

:D

Here's the original DSDT and the send_me.zip. Ik believe I forgot to attach it to my previous post?

 

Permissions are repaired, made my own USB installer with only Chameleon and retail Snow Leopard DVD + combo update 10.6.5. So no iAtkos, Hazard or what.

 

i got the original unmodified one to compile with no errors. (acpi_dsdt.aml.zip)

the one in send_me.zip is modified with ABLN entries. but has some good stuff in it :(

this is all i changed at the end of _WAK

now its ready to be tweaked with rest of fixes

       }

       Notify (\_SB.PCI0.USB0, Zero)
       Notify (\_SB.PCI0.USB1, Zero)
       Notify (\_SB.PCI0.USB2, Zero)
       Notify (\_SB.PCI0.USB3, Zero)
       Notify (\_SB.PCI0.USB4, Zero)
       Notify (\_SB.PCI0.USB5, Zero)
   }/highlighted here to replace with (delete)
starts here==============
       Return (Package (0x02)
       {
           Zero, 
           Zero
       })
   }

   Method (DTGP, 5, NotSerialized)
   {
       If (LEqual (Arg0, Buffer (0x10)
               {
                   /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
                   /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
               }))
       {
           If (LEqual (Arg1, One))
           {
               If (LEqual (Arg2, Zero))
               {
                   Store (Buffer (One)
                       {
                           0x03
                       }, Arg4)
                   Return (One)
               }

               If (LEqual (Arg2, One))
               {
                   Return (One)
               }
           }
       }

       Store (Buffer (One)
           {
               0x00
           }, Arg4)
       Return (Zero)
   }

   Method (DCHK, 0, NotSerialized)
   {
       If (CondRefOf (_OSI, Local0))
       {
           If (_OSI ("Darwin"))
           {
               Return (One)
           }
       }

       Return (Zero)
   }

   Scope (_SI)
   {
       Method (_MSG, 1, NotSerialized)
       {
           Store (Zero, Local0)
       }

       Method (_SST, 1, NotSerialized)
       {
           Store (Zero, Local0)
       }
   }

and Method (^_INI, 0, NotSerialized)

               Method (^_INI, 0, NotSerialized)
               {
                   If (DCHK ())
                   {
                       Store (0x59, SMIP)
                       Store (Zero, OSFL)
                       Store (0x03, OSFX)
                   }
                   Else
                   {
                       If (STRC (_OS, "Microsoft Windows"))
                       {
                           Store (0x56, SMIP)
                       }
                       Else
                       {
                           If (STRC (_OS, "Microsoft Windows NT"))
                           {
                               If (CondRefOf (\_OSI, Local0))
                               {
                                   If (_OSI ("Windows 2001"))
                                   {
                                       Store (0x59, SMIP)
                                       Store (Zero, OSFL)
                                       Store (0x03, OSFX)
                                   }
                               }
                               Else
                               {
                                   Store (0x58, SMIP)
                                   Store (Zero, OSFL)
                               }
                           }
                           Else
                           {
                               Store (0x57, SMIP)
                               Store (0x02, OSFL)
                           }
                       }
                   }
               }

compiles no error.

 

i got the original unmodified one to compile with no errors. (acpi_dsdt.aml.zip)

the one in send_me.zip is modified with ABLN entries. but has some good stuff in it ;)

this is all i changed at the end of _WAK

now its ready to be tweaked with rest of fixes

       }

       Notify (\_SB.PCI0.USB0, Zero)
       Notify (\_SB.PCI0.USB1, Zero)
       Notify (\_SB.PCI0.USB2, Zero)
       Notify (\_SB.PCI0.USB3, Zero)
       Notify (\_SB.PCI0.USB4, Zero)
       Notify (\_SB.PCI0.USB5, Zero)
   }/highlighted here to replace with (delete)
starts here==============
       Return (Package (0x02)
       {
           Zero, 
           Zero
       })
   }

   Method (DTGP, 5, NotSerialized)
   {
       If (LEqual (Arg0, Buffer (0x10)
               {
                   /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
                   /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
               }))
       {
           If (LEqual (Arg1, One))
           {
               If (LEqual (Arg2, Zero))
               {
                   Store (Buffer (One)
                       {
                           0x03
                       }, Arg4)
                   Return (One)
               }

               If (LEqual (Arg2, One))
               {
                   Return (One)
               }
           }
       }

       Store (Buffer (One)
           {
               0x00
           }, Arg4)
       Return (Zero)
   }

   Method (DCHK, 0, NotSerialized)
   {
       If (CondRefOf (_OSI, Local0))
       {
           If (_OSI ("Darwin"))
           {
               Return (One)
           }
       }

       Return (Zero)
   }

   Scope (_SI)
   {
       Method (_MSG, 1, NotSerialized)
       {
           Store (Zero, Local0)
       }

       Method (_SST, 1, NotSerialized)
       {
           Store (Zero, Local0)
       }
   }

and Method (^_INI, 0, NotSerialized)

               Method (^_INI, 0, NotSerialized)
               {
                   If (DCHK ())
                   {
                       Store (0x59, SMIP)
                       Store (Zero, OSFL)
                       Store (0x03, OSFX)
                   }
                   Else
                   {
                       If (STRC (_OS, "Microsoft Windows"))
                       {
                           Store (0x56, SMIP)
                       }
                       Else
                       {
                           If (STRC (_OS, "Microsoft Windows NT"))
                           {
                               If (CondRefOf (\_OSI, Local0))
                               {
                                   If (_OSI ("Windows 2001"))
                                   {
                                       Store (0x59, SMIP)
                                       Store (Zero, OSFL)
                                       Store (0x03, OSFX)
                                   }
                               }
                               Else
                               {
                                   Store (0x58, SMIP)
                                   Store (Zero, OSFL)
                               }
                           }
                           Else
                           {
                               Store (0x57, SMIP)
                               Store (0x02, OSFL)
                           }
                       }
                   }
               }

compiles no error.

 

he needs it

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

The DSDT is not corrected

just use the auto-patcher

He is not using

DropSSDT Yes or no ?

also . Daylights original i was working with dsdtse and in fixes it said for 'Method local variable is not initialized (Local0)"

to do this..

   Scope (\_SI)
  {
Method (_MSG, 1, NotSerialized)
{
/* Store (Local0, Local0) */	  /* <------------ you need to comment this out or enclose on "" the first LOCAL0.*/ 
}

Method (_SST, 1, NotSerialized)
{
/* Store (Local0, Local0) */	   /* <------------ you need to comment this out or enclose on "" the first LOCAL0..*/

 

but i added dtgp in middle and it worked without ^ (lol DTGP? what it stands for? Dont Tryme Goofy Put4) :D

 

Scope (_SI)
{
Method (_MSG, 1, NotSerialized)
{
Store (Zero, Local0)
}

Method (_SST, 1, NotSerialized)
{
Store (Zero, Local0)
}

DropSSDT Yes or no ?

 

Nope

 

DSDT

+

"Generate" in boot.plist

mald0n20101028s151159.png

+

Chameleon RC5

Chameleon_v2.0_RC5_r698.zip

 

after

run on terminal

 

ioreg -lw0 | grep CSTInfo

 

My DSDT

dsdt.MaLd0n.zip

I would like to apply it in all motherboards

but was going to take long

and it would be many lines of code

and would make no difference

but in all

I remove FDC, LPT, etc. :D

yah i remove fdc and lpt.. sometimes comports. and TPM (trusted platformmodule) in laptops. but sometimes TMP is in all of code too deep.

 

ohh im booting of generatecstate and pstates. with no dsdt _pr scope :D . i am using slices bootloader. based on similar code. as he has dell 1525..

my 10.5.8 got corrupt somehomw earleir last night. fresh reimage from my usb hdd.. working

( i had dloaded a bad fakesmc that wouldnt run from /E/E. )

all good now with new version 3.

yah i remove fdc and lpt.. sometimes comports. and TOPM in laptops. but sometimes TMP is in all of code too deep.

laptops

it is another story

the ideal is to have the time and Hardware :P

 

yah i remove fdc and lpt.. sometimes comports. and TPM (trusted platformmodule) in laptops. but sometimes TMP is in all of code too deep.

 

ohh im booting of generatecstate and pstates. with no dsdt _pr scope :P . i am using slices bootloader. based on similar code. as he has dell 1525..

my 10.5.8 got corrupt somehomw earleir last night. fresh reimage from my usb hdd.. working

( i had dloaded a bad fakesmc that wouldnt run from /E/E. )

all good now with new version 3.

 

-----------------------------------

MacBookP5,1

http://www.sendspace.com/file/rpjd9f

ioreg -lw0 | grep PerformanceStateArray

ioreg -lw0 | grep CSTInfo

 

many notebooks

really work natively

 

My Micro"sucks"Board :D

is an example

I do not add "Generate" in boot.plist or DSDT(for nativePM)

just use SMBIOS MacBookPro5, 1

100%

:D

there's something wrong there

check

DSDT generated by the auto-patcher

compare with your

dsdt.Daylights.zip

 

:D

 

You have got to be kidding me...

 

I don't know what went wrong, but the DSDT in my /Extra folder is very different from the one you send me. I made a backup of the DSDT which I made by auto-patcher which is exactly the same as the one you send me. I probably placed my old DSDT in the /Extra folder... how stupid.

 

Thank you for your patience MaLd0n, shutdown now works 5 out of 5 times :D

You have got to be kidding me...

 

I don't know what went wrong, but the DSDT in my /Extra folder is very different from the one you send me. I made a backup of the DSDT which I made by auto-patcher which is exactly the same as the one you send me. I probably placed my old DSDT in the /Extra folder... how stupid.

 

Thank you for your patience MaLd0n, shutdown now works 5 out of 5 times :D

 

:D

i had used mbp5,1 but i dont have nvidia based chipset. but i guess it shouldnt cause issue.. unless the nvidia power management and videocard are linked in a kext or somewhere ?

i heard macbookair also allows unlocked pstates

im still curious if that LG R510 shuts down with or without _PTS fix

Guest
This topic is now closed to further replies.
×
×
  • Create New...