Jump to content

DSDT Patcher


fassl
 Share

752 posts in this topic

Recommended Posts

ill get the same output with trashed debug folder and -newHPET command

 

 

ASL Input: ./dsdt_fixed.txt - 1555 lines, 45356 bytes, 444 keywords

AML Output: ././dsdt.aml - 4626 bytes, 223 named objects, 221 executable opcodes

 

Compilation complete. 0 Errors, 11 Warnings, 0 Remarks, 225 Optimizations

 

 

seems to be the crappy dsdt in hp bios

 

any help fassl or mackerintel????

 

Have you tried to use the the dsdt.aml file anyway despite the warnings? the -newHPET is if your computer crashes even when you have generated a dsdt.aml file. I thought the problem was you where getting a kernel panic when trying to boot thats why I suggested this. If you get no kernel panic then you can remove -newHPET.

Link to comment
Share on other sites

I tried DSDT on my MSI Wind, but I can't run AICPUPM without a kernel panic. The patcher did say it patched the HPET and it mentioned the IRQs, etc. Any ideas? I'll post more info later, as I'm currently not at the Wind.

Link to comment
Share on other sites

I tried DSDT on my MSI Wind, but I can't run AICPUPM without a kernel panic. The patcher did say it patched the HPET and it mentioned the IRQs, etc. Any ideas? I'll post more info later, as I'm currently not at the Wind.

first,

boot in verbose mode, if you got some "Package 0 didnt get an HPET"

 

run the fassl patcher with the '-newHPET' option

Link to comment
Share on other sites

When running the DSDT patcher, i get this as result

 

 

We are done patching, press any key to try to compile the fixed DSDT

 

 

Intel ACPI Component Architecture

ASL Optimizing Compiler version 20080926 [Oct 4 2008]

Copyright © 2000 - 2008 Intel Corporation

Supports ACPI Specification Revision 3.0a

 

./dsdt_fixed.txt 9367: Method (VGET, 1, NotSerialized)

Warning 1087 - ^ Not all control paths return a value (VGET)

 

./dsdt_fixed.txt 9412: Method (TGET, 1, NotSerialized)

Warning 1087 - ^ Not all control paths return a value (TGET)

 

./dsdt_fixed.txt 9465: Method (FGET, 1, NotSerialized)

Warning 1087 - ^ Not all control paths return a value (FGET)

 

./dsdt_fixed.txt 9496: Store (VGET (Local0), Local1)

Warning 1092 - ^ Called method may not always return a value

 

./dsdt_fixed.txt 9538: Store (TGET (Local0), Local1)

Warning 1092 - ^ Called method may not always return a value

 

./dsdt_fixed.txt 9571: Store (FGET (Local0), Local1)

Warning 1092 - ^ Called method may not always return a value

 

ASL Input: ./dsdt_fixed.txt - 9803 lines, 327572 bytes, 4782 keywords

AML Output: ././dsdt.aml - 37167 bytes, 1054 named objects, 3728 executable opcodes

 

Compilation complete. 0 Errors, 6 Warnings, 0 Remarks, 47 Optimizations

 

 

 

Isthis normal, or i shouldi fix this

venimklilly.tar

Link to comment
Share on other sites

Hi!

 

I have HP 8530w and i probe to compile my DSDT get this error:

./dsdt_fixed.txt	 1: ACPI))
Error	4095 -			^ syntax error, unexpected PARSEOP_NAMESEG, expecting PARSEOP_DEFINITIONBLOCK

 

Please help me how to fix this?

I need Vanilla and AppleIntelCPU..... :rolleyes:

 

dsdt_fixed.txt

 

Remove the first 2 lines from dsdt_fixed.txt and then recompile.

Link to comment
Share on other sites

I installed the patcher along with but AppleIntelCPUPowerManagement.kext, but getting kernel panic. What should I do?

 

Try running the patcher with the argument -newHPET. I assume you copy your dsdt.aml to your root directory and rename it DSDT.aml? Not sure if it needs to be caps or not but just to be on the safe side.

Link to comment
Share on other sites

Hi guys I used to have 200+ errors on compiling my dsdt. I changed ^CPU0 into CPU0 in one of the first lines and now I get 'only' 7 errors, without having a dsdt.aml output. here's what comes out and attached the original hpet_fixed with 200+ errors and dsdt_fixed with CPU0 instead of ^CPU0 with 7 errors (but is it correct to change it this way?). any suggestion would be highly appreciated, thankyou

 

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct  4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

./dsdt_fixed.txt  1096:			 Store (Zero, OSCS)
Error	4095 -						 ^ syntax error, unexpected PARSEOP_STORE

./dsdt_fixed.txt  1100:				 If (LAnd (LEqual (Arg0, GUID), NEXP))
Error	4063 -							  Object does not exist ^  (GUID)

./dsdt_fixed.txt  1571:					 ShiftLeft (^^MCHC.MHBR, 0x0E, MBR0)
Error	4064 -	Object not found or not accessible from scope ^  (^^MCHC.MHBR)

./dsdt_fixed.txt  1573:					 ShiftLeft (^^MCHC.DIBR, 0x0C, DBR0)
Error	4064 -	Object not found or not accessible from scope ^  (^^MCHC.DIBR)

./dsdt_fixed.txt  1575:					 ShiftLeft (^^MCHC.EPBR, 0x0C, EBR0)
Error	4064 -	Object not found or not accessible from scope ^  (^^MCHC.EPBR)

./dsdt_fixed.txt  1577:					 ShiftLeft (^^MCHC.PXBR, 0x1A, XBR0)
Error	4064 -	Object not found or not accessible from scope ^  (^^MCHC.PXBR)

./dsdt_fixed.txt  1579:					 ShiftRight (0x10000000, ^^MCHC.PXSZ, XSZ0)
Error	4064 -				 Object not found or not accessible from scope ^  (^^MCHC.PXSZ)

ASL Input:  ./dsdt_fixed.txt - 6294 lines, 211692 bytes, 2495 keywords
Compilation complete. 7 Errors, 0 Warnings, 0 Remarks, 12 Optimizations

hpet_fixed.txt

dsdt_fixed.txt

Link to comment
Share on other sites

I've done a DSDT patch for my HP DC7100 desktop. Although I did this on a small form factor, it should also work for those with the mini tower DC7100. I'm using the latest BIOS.

hp.dc7100.dsdt.zip

 

I'm using the Voodoo Kernel which blacklists AppleIntelCPUPowerManagement from loading, and I cannot see a way to unblacklist this. Vanilla kernels do not work due to having a P4.

 

However, AppleRTC is loaded. Does this mean my DSDT is working correctly? Any other ways to check?

Link to comment
Share on other sites

When I compile my DSDT I get about 47 of this warning:

 

./dsdt_fixed.txt  4925:		 Acquire (MTX0, 0x0000)
Warning  1104 -									 ^ Possible operator timeout is ignored

 

I would like to eliminate the warnings - a carryover from old programming days :) Does anyone know how to code this line to eliminate the warning? I tried just removing the ", 0x0000" but that turns it into a syntax error.

 

 

./dsdt_fixed.txt 2250: Acquire (MUT0, 0x0FFF)

Warning 1104 - Possible operator timeout is ignored ^

 

What's this warning ?

 

Thank's

Acquire (MTX0, 0x0000)->Acquire (MTX0, 0xFFFF)

Acquire (MUT0, 0x0FFF)->Acquire (MUT0, 0xFFFF)

http://ubuntu-virginia.ubuntuforums.org/sh...ad.php?t=869249

Link to comment
Share on other sites

I've done a DSDT patch for my HP DC7100 desktop. Although I did this on a small form factor, it should also work for those with the mini tower DC7100. I'm using the latest BIOS.

hp.dc7100.dsdt.zip

 

I'm using the Voodoo Kernel which blacklists AppleIntelCPUPowerManagement from loading, and I cannot see a way to unblacklist this. Vanilla kernels do not work due to having a P4.

 

However, AppleRTC is loaded. Does this mean my DSDT is working correctly? Any other ways to check?

 

hi fibblesan....i got the same dc7100

 

please check if AppleHPET is loading correctly

also check your shellscript output when runnind dsdt patcher

is should report a patched dsdt device with someting irq blabla

and it should find a hpet device....

 

when running the patcher on my desk there no irq output on dsdt device neiter found a hpet device

i think we are out of business with that

 

im running voodoo voodo rc1 for better testing and without the disabler im running into kernelpanic

so dsdt is not patched correctly even the AppleHPET isnt loading....

 

we need some help here guys...

Link to comment
Share on other sites

hi fibblesan....i got the same dc7100

 

please check if AppleHPET is loading correctly

also check your shellscript output when runnind dsdt patcher

is should report a patched dsdt device with someting icq blabla

and it should find a hpet device....

 

when running the patcher on my desk there no icq output on dsdt device neiter found a hpet device

i think we are out of business with that

 

Same here:

 

DSDT Patcher -- report Bugs to superfassl@gmail.com

Getting the DSDT...
ACPI contains 8 values
Failed to get DSDT


Decompiling the DSDT...

Intel ACPI Component Architecture
AML Disassembler version 20080926 [Oct  4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

Loading Acpi table from file ./dsdt.dat
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
................................................................................
................................................................................
...........
Parsing completed
Disassembly completed, written to "./dsdt.dsl"




Done, now start the Patching!

Patching RTC...

Patching HPET...

No HPET Device found, adding one
New HPET written


We are done patching, press any key to try to compile the fixed DSDT



Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct  4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

./dsdt_fixed.txt   350:			 Method (_S5D, 0, NotSerialized)
Warning  1098 -		  Unknown reserved name ^  (_S5D)

./dsdt_fixed.txt   394:				 Method (_S5D, 0, NotSerialized)
Warning  1098 -			  Unknown reserved name ^  (_S5D)

./dsdt_fixed.txt   529:				 Method (_S5D, 0, NotSerialized)
Warning  1098 -			  Unknown reserved name ^  (_S5D)

./dsdt_fixed.txt   664:				 Method (_S5D, 0, NotSerialized)
Warning  1098 -			  Unknown reserved name ^  (_S5D)

./dsdt_fixed.txt   799:				 Method (_S5D, 0, NotSerialized)
Warning  1098 -			  Unknown reserved name ^  (_S5D)

./dsdt_fixed.txt   906:				 Method (_S5D, 0, NotSerialized)
Warning  1098 -			  Unknown reserved name ^  (_S5D)

./dsdt_fixed.txt   950:				 Method (_S5D, 0, NotSerialized)
Warning  1098 -			  Unknown reserved name ^  (_S5D)

./dsdt_fixed.txt   969:				 Method (_S5D, 0, NotSerialized)
Warning  1098 -			  Unknown reserved name ^  (_S5D)

./dsdt_fixed.txt   988:				 Method (_S5D, 0, NotSerialized)
Warning  1098 -			  Unknown reserved name ^  (_S5D)

./dsdt_fixed.txt  1007:				 Method (_S5D, 0, NotSerialized)
Warning  1098 -			  Unknown reserved name ^  (_S5D)

./dsdt_fixed.txt  1026:				 Method (_S5D, 0, NotSerialized)
Warning  1098 -			  Unknown reserved name ^  (_S5D)

ASL Input:  ./dsdt_fixed.txt - 1557 lines, 45358 bytes, 444 keywords
AML Output: ././dsdt.aml - 4626 bytes, 223 named objects, 221 executable opcodes

Compilation complete. 0 Errors, 11 Warnings, 0 Remarks, 225 Optimizations



Compiling done, if it worked, you have now a patched DSDT in dsdt.aml
If the compiling went wrong, you could force to build it with ./DSDT\ Patcher -f (try this DSDT at your own risk)

 

I have attached my ioregdump, my dsdt.dat file and my dsdt.dsl file in the hope that somebody can find out why we do not have it working.

 

ioregdump.txt

dsdt.dat.zip

dsdt.dsl.zip

Link to comment
Share on other sites

I have attached my ioregdump, my dsdt.dat file and my dsdt.dsl file in the hope that somebody can find out why we do not have it working.

 

ioregdump.txt

dsdt.dat.zip

dsdt.dsl.zip

 

 

hi fibblesan i compared the uploaded files with my stuff...

they are identical...

 

i also manually delete the warnings and recompile but without success...same behavior

 

so i hope anyone can help us here...

Link to comment
Share on other sites

Hello,

I still get "Package 0 didn't get a HPET" after using patch DSDT.aml

now i have edit my DSDT.aml to get AppleHDA working w/o efi, or injector and some what working brightness control

now only thing i can't make it work after weeks of reading and trying is "Package 0 didn't get a HPET"

 

i have attached my dsdt.dsl, if you need anything else my let me know.

so if anyone have free time, please help me

 

thanks,

noch

dsdt.dsl.zip

Link to comment
Share on other sites

Hi and thx for the work,

 

I managed to patch my DSDT (Dell studio laptop with Intel ICH8), evrything seems OK except this 9 warning :

 

./dsdt_fixed.txt  4311:							 And (Local0, 0x0F)
Warning  1105 -	Result is not used, operator has no effect ^ 

./dsdt_fixed.txt  4369:							 And (Local0, 0x0F)
Warning  1105 -	Result is not used, operator has no effect ^ 

./dsdt_fixed.txt  4427:							 And (Local0, 0x0F)
Warning  1105 -	Result is not used, operator has no effect ^ 

./dsdt_fixed.txt  4485:							 And (Local0, 0x0F)
Warning  1105 -	Result is not used, operator has no effect ^ 

./dsdt_fixed.txt  4543:							 And (Local0, 0x0F)
Warning  1105 -	Result is not used, operator has no effect ^ 

./dsdt_fixed.txt  4601:							 And (Local0, 0x0F)
Warning  1105 -	Result is not used, operator has no effect ^ 

./dsdt_fixed.txt  4659:							 And (Local0, 0x0F)
Warning  1105 -	Result is not used, operator has no effect ^ 

./dsdt_fixed.txt  4717:							 And (Local0, 0x0F)
Warning  1105 -	Result is not used, operator has no effect ^ 

./dsdt_fixed.txt  5089:				 Or (WMI1, Arg0)
Warning  1105 -								^ Result is not used, operator has no effect

 

It doens't seem to be very important, however, i'd like to know what can i do to fix this,

Thanks in advance

Jim

Link to comment
Share on other sites

Failed to get the DSDT seems to be an Error from the GetDSDT Tool, thats not mine so i cant help you with that, what you could do to obtain your DSDT is:

 

ioreg -lw0 | grep DSDT > Desktop/ioregdump.txt

 

This will write the ACPI Tables to ioregdump.txt, remove all other tables except the DSDT, then copy the hex values to a HEX Editor like 0xED and save it as dsdt.dat

 

then do this to decompile your DSDT:

 

cd /PATH/TO/DSDT\ Patcher
 ./Tools/iasl -d dsdt.dat

To patch it do

./DSDT\ Patcher dsdt.dsl

 

greetz

Excuse me,I read the post #29,and I don't understand this step how to do:

 

"then copy the hex values to a HEX Editor like 0xED and save it as dsdt.dat"

 

How to save it as dsdt.dat?

 

Would you please explain more detail?Thank you very much!

 

Here is my ioregdump.txt,is this file correct?if yes,please teach me how to do,Thank you again!

ioregdump.txt

Link to comment
Share on other sites

 Share

×
×
  • Create New...