Jump to content

ACPI (DSDT) Patcher for BIOS and AML


koalala
 Share

845 posts in this topic

Recommended Posts

Hello kizvan. I have almost the same laptop as a yehia Amer. I fixed my DSDT as well as you corrected him. But I still have bugs. The compiler complains just on the line that you added.

 

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20100331 [Mar 31 2010]
Copyright © 2000 - 2010 Intel Corporation
Supports ACPI Specification Revision 4.0

dsdt.dsl  2156:                 }
               Return (Package (0x02) {0x00, 0x00})
Error    4080 -                 Invalid object type for reserved name ^  (found PACKAGE, requires Integer)

dsdt.dsl  5064:                     Method (NVIF, 3, NotSerialized)
Warning  1088 -                                ^ Not all control paths return a value (NVIF)

dsdt.dsl  5801:                     Method (NVIF, 3, NotSerialized)
Warning  1088 -                                ^ Not all control paths return a value (NVIF)

dsdt.dsl  7716:                         Name (_PLD, Buffer (0x10)
Error    4080 -          Invalid object type for reserved name ^  (found BUFFER, requires Package)

dsdt.dsl  7730:                             Name (_PLD, Buffer (0x10)
Error    4080 -              Invalid object type for reserved name ^  (found BUFFER, requires Package)

dsdt.dsl  7746:                             Name (_PLD, Buffer (0x10)
Error    4080 -              Invalid object type for reserved name ^  (found BUFFER, requires Package)

dsdt.dsl  7762:                             Name (_PLD, Buffer (0x10)
Error    4080 -              Invalid object type for reserved name ^  (found BUFFER, requires Package)

dsdt.dsl  8093:                         Name (_PLD, Buffer (0x10)
Error    4080 -          Invalid object type for reserved name ^  (found BUFFER, requires Package)

dsdt.dsl  8107:                             Name (_PLD, Buffer (0x10)
Error    4080 -              Invalid object type for reserved name ^  (found BUFFER, requires Package)

dsdt.dsl  8123:                             Name (_PLD, Buffer (0x10)
Error    4080 -              Invalid object type for reserved name ^  (found BUFFER, requires Package)

dsdt.dsl  8139:                             Name (_PLD, Buffer (0x10)
Error    4080 -              Invalid object type for reserved name ^  (found BUFFER, requires Package)

dsdt.dsl  9717:             Name (_WDG, Buffer (0x50)
Warning  1099 -                      ^ Unknown reserved name (_WDG)

dsdt.dsl 11395:             Method (_WED, 1, NotSerialized)
Warning  1099 -  Unknown reserved name ^  (_WED)

dsdt.dsl 11395:             Method (_WED, 1, NotSerialized)
Warning  1099 -  Unknown reserved name ^  (_WED)

dsdt.dsl 12258:                 }
               Return (Package (0x02) {0x00, 0x00})
Error    4080 -                 Invalid object type for reserved name ^  (found PACKAGE, requires Integer)

dsdt.dsl 12284:                 }
               Return (Package (0x02) {0x00, 0x00})
Error    4080 -                 Invalid object type for reserved name ^  (found PACKAGE, requires Integer)

dsdt.dsl 12425:                 }
               Return (Package (0x02) {0x00, 0x00})
Error    4080 -                 Invalid object type for reserved name ^  (found PACKAGE, requires Integer)

ASL Input:  dsdt.dsl - 13841 lines, 478705 bytes, 6766 keywords
Compilation complete. 12 Errors, 5 Warnings, 0 Remarks, 13 Optimizations
[Completed]

 

Can you fix my DSDT? If you can, overlaid with the code.

 

Thanks!

DSDT.zip

Link to comment
Share on other sites

Hello kizvan. I have almost the same laptop as a yehia Amer. I fixed my DSDT as well as you corrected him. But I still have bugs. The compiler complains just on the line that you added.

 

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20100331 [Mar 31 2010]
Copyright © 2000 - 2010 Intel Corporation
Supports ACPI Specification Revision 4.0

dsdt.dsl  2156:				 }
			Return (Package (0x02) {0x00, 0x00})
Error	4080 -				 Invalid object type for reserved name ^  (found PACKAGE, requires Integer)

Try change to: Return (Package (0x02) {Zero, Zero})

dsdt.dsl  7716:						 Name (_PLD, Buffer (0x10)
Error	4080 -		  Invalid object type for reserved name ^  (found BUFFER, requires Package)

Try change to: Name (_PLD, Package (0x10)


I'll look to your DSDT & will upload it here when its done. I believe, for [b]yehia Amer[/b], I use IASL compiler ver 3.0a. Newer IASL will detect this kind of error.

Link to comment
Share on other sites

Hi AgentSlash,

 

This is your DSDT. I already fixed it. This DSDT is included with CMOS Reset Fix, USB EHCI Sleep Fix & AC Adapter Fix.

http://www.mediafire.com/?5y28731rdoc7rlm

Note: The final DSDT is in DSDT_Patcher1.0.1e folder.

 

For this kind of error:-

dsdt.dsl  2156:				 }
			  Return  (Package (0x02) {0x00, 0x00})
 Error	4080 -				  Invalid object type for reserved name ^  (found PACKAGE, requires  Integer)

I figured the correct Return code is:-

Return (Package (One) {Zero})

There is an illegal IF statement which is not in any control method or function in Device (RP05). I already removed it.

  • Like 1
Link to comment
Share on other sites

hi

With acpi patcher beta4 & beta 5

with original or latest IASL.exe return this on my MSI P55-CD53 on Seven

freeze on decompiling job

FATAL ERROR: Image Info Module(80h) is not found.

 

Intel ACPI Component Architecture

AML Disassembler version 20100702 [Jul 2 2010]

Copyright © 2000 - 2010 Intel Corporation

Supports ACPI Specification Revision 4.0a

 

Error 4069 - Could not open file "dsdt.xtr" (No such file or directory)

 

extract file C:\Users\hoob\Desktop\7586v17\7586v17\A7586IMS.170

Export folder C:\Users\hoob\Desktop\7586v17\export-acpi-patcher

 

i have tried also on dsdt.aml from ubuntu with same result

msi_p55_cd53_all_aml_files.zip

Link to comment
Share on other sites

  • 2 weeks later...

Hi!

I'm trying to patch the bios for a Gigabyte GA-G31M-ES2L rev. 2.0 (version BIOS FH) with acpi patcher 5 beta.

This is the original bios from the Gigabyte site: http://www.giga-byte.it/download/mb/bios/24407/

With the option "Force Compile DSDT" I obtain 2 errors and 2 warnigs. What can I do?

This is the DSDT.aml "fixed".

dsdt.zip

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

Hi kizwan!

I do't have good skills with such things. I try to patch my bios (not flash my bios, only dsdt.aml, to put in /Extra directory), because my laptop give me kernel panic when boot without "cpus=1".

I try'it DSDTSE, but i don't see any "alias" for CPU, to fix core problem.

My laptop is at the signature.

Can u help me to fix this problem, and maybe others in my bios?

nx9420.zip

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...
  • 1 month later...

Hi, i try to install mac on my laptop, but i have always the same problem....no driver found for this platform....ACPI, my specs: Intel i5 430m, chipset HM55, 3GB DDR3 ram, intel HD 4500GMA, before i try with MAC os 10.5.2 and all run normally, but my problem happend when i try to install 10.6.2, can this patcher to resolve my problem?

Link to comment
Share on other sites

  • 4 weeks later...

Hi i've an Asus F3jp notebook is there someone who can help me to patch correctly DSDT??

 

Now i'm using Snow Leopard 10.6.5 and sometimes when i switch on the laptop it goes in kp but if i restart one or two times it works great. I only have kp when i switch on the machine.

 

this is my laptop configuration

 

http://images.trustedreviews.com/images/ar...ine/3660-ft.gif

 

only the cpu is different my cpu is t 7200

 

thanks in advance

 

Davide C.

Link to comment
Share on other sites

  • 4 weeks later...

Hello! I have Acer TravelMate 4220 with Phoenix BIOS :(. I extracted DSDT.dsl and tried to apply some patches (cpus=1 fix, HPET, RTC, ALC884 and GMA950 laptop). But even original DSDT.dsl can't be compiled. It returns errors. Can anybody help me please?

 

This is my original DSDT.dsl: http://www.mediafire.com/?ma2xhdxc8rfj5cf

This is compile log:

post-62596-1295250111_thumb.jpg

And this is log after pressing "Fix errors" button

post-62596-1295250119_thumb.jpg

BIOS.zip

Link to comment
Share on other sites

Need a little help - anyone? I have a strange thing showing for the location of my GFX card in IOregistryExplorer.

What should I choose for the location of my Nvidia card? PCI 0, PCI 1, or something else? (see pic)

I see the location where other people's card address could be found as showing "pci-bridge@1" - what is that?

 

Any info appreciated!

post-85664-1239809591_thumb.jpg

I have the same situation. And I cant find GPU in IOACPIPlane ((

Link to comment
Share on other sites

  • 1 year later...

Hello,

 

I still didn't get how this works! I have been into my mac os x (hackintosh), I have copied the hardware locations, got back into windows 7, started the ACPI Patcher, I have downloaded my bios, I have selected it into the app, then I have edited the patches and hardware locations, and nothing happens... It keeps staying on a CMD window for centuries... I have it try running it as an administrator too...

 

I am missing something here?

 

Thank you for any help or ideas!

Link to comment
Share on other sites

  • 2 years later...

That's the only software that solved my black screen in chameleon and restart instead of shutdown problems.However I don't know what it changed to DSDT.aml.

 

Easy to find out take the previous DSDT.aml and decompile it to a .dsl file then do the same for the new you can then take something like DiffMerge.app load up a file diff with both files and it shows you with highlights the different parts that were changed between the files.

  • Like 1
Link to comment
Share on other sites

Easy to find out take the previous DSDT.aml and decompile it to a .dsl file then do the same for the new you can then take something like DiffMerge.app load up a file diff with both files and it shows you with highlights the different parts that were changed between the files.

Yes,with beyond compare+MaciASL+DSDT Editor+AIDA64,finally I know what to edit DSDT.

AIDA64 get acpi_dsdt.bin,rename to originaldsdt.aml

Patch DSDT.aml
ACPI Patcher only do local0 fix and HPET fix,which can be done by MaciASL,ACPI Patcher without any fixes and patches,patch fail.with local0 fix,patch successful.local0 fix equal "Local0", Local0.both black screen solved
Chameleon load desktop without blackscreen,however after a while system crash.add method _STA and _CRS to PNP0103 (HPET.txt) solved
0x001F0002  device-id 0x81, 0x26, 0x00, 0x00\n AHCI SATA orange icon.txt+DTGP.txt orange problem solved.
Shutdown _PTS Shutdown Gigabyte.txt shutdown problem solved.
MacNB 0x04, OSFX (MacNB.txt)solved can't wake up from sleep problem.
0x001B0000 layout-id 0x01, 0x00, 0x00, 0x00 HDEF.txt for Mavericks Audio.
Change 0x001C0005 address PEX5 (LAN0.txt) to solve builtin ethernet.change LPC device-id to 0x17, 0x29 (LPC.txt) to solved load AppleLPC.kext.
Change USB OperationRegion _S3D _PSW (USB WAKEUP.txt) to solved wake up by mouse.

Mac devices.txt change USB to UHC

RTC.txt change to 0x02 can't avoid reset CMOS,use clover Apple RTC.

Insert return into method _WAK to fix warning add zero WAK.txt

Vanilla speed step 0x0926 0x0821 0x071C 0x0616 4 states, CPU0-3.txt to avoid clover generate P & C states

DFI-DK-P45-T2RS-PLUS.zip

  • Like 1
Link to comment
Share on other sites

  • 2 years later...
 Share

×
×
  • Create New...