Jump to content

DSDT Patcher


fassl
 Share

752 posts in this topic

Recommended Posts

Could someone help me with it? I couldn't get it patched properly. Many many thanks!

the patcher reported that there is an error at line

 

./dsdt_fixed.txt  5477:						 Store (GAHS (0x00), Local6)
Error	4060 -			Called method returns no value ^

 

What do i do with that line?

 

 

The rest of the patch text output:

Patching RTC...

	RTC Device found :				 Device (RTC)
Found IRQ in RTC Device, removing it
						IRQNoFlags ()
RTC patched

Patching HPET...

HPET Device will be overwritten...
No HPET Device found, adding one
RTC Device found :				 Device (RTC)
New HPET written

Which OS to emulate? [0=Darwin,1=WinXP, 2=WinVista]
0
Fixing various Issues...

Found an issue
Found			   Store (Local0, Local0)
Fixed   Store ("Local0", Local0)
Found an issue
Found			   Store (Local0, Local0)
Fixed   Store ("Local0", Local0)
Found an issue
Found						   Store (Local0, Local0)
Fixed   Store ("Local0", Local0)
Done


./dsdt_fixed.txt   381:	 Method (\_WAK, 1, NotSerialized)
Warning  1080 -						 ^ Reserved method must return a value (_WAK)

./dsdt_fixed.txt  5291:		 Store (GAHC (Arg0, Arg1), Local4)
Warning  1092 -						   ^ Called method may not always return a value

./dsdt_fixed.txt  5329:	 Method (GAHC, 2, NotSerialized)
Warning  1087 -						^ Not all control paths return a value (GAHC)

./dsdt_fixed.txt  5477:						 Store (GAHS (0x00), Local6)
Error	4060 -			Called method returns no value ^ 

ASL Input:  ./dsdt_fixed.txt - 5541 lines, 179529 bytes, 1972 keywords
Compilation complete. 1 Errors, 3 Warnings, 0 Remarks, 619 Optimizations

pita.tar

Link to comment
Share on other sites

Hi, I have an HP dv6626us on F58.A bios. I tried to run also ./DSDT\ Patcher -f but I get an empty file....PLEASE HELP!!!

 

 

Maximum error count (200) exceeded

ASL Input: ./dsdt_fixed.txt - 8809 lines, 311548 bytes, 4441 keywords

Compilation complete. 201 Errors, 0 Warnings, 0 Remarks, 5 Optimizations

 

Maximum error count (200) exceeded

dsdt.dat.zip

Debug.zip

Link to comment
Share on other sites

O.K. used DSDT Patcher GUI and i think everything went fine, THX for this great Tool :D !

 

Intel ACPI Component Architecture

AML Disassembler version 20080926 [Oct 4 2008]

Copyright © 2000 - 2008 Intel Corporation

Supports ACPI Specification Revision 3.0a

 

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 222: Method (\_WAK, 1, NotSerialized)

Warning 1080 - ^ Reserved method must return a value (_WAK)

 

ASL Input: ./dsdt_fixed.txt - 5620 lines, 187618 bytes, 2315 keywords

AML Output: ././dsdt.aml - 17979 bytes, 657 named objects, 1658 executable opcodes

 

Compilation complete. 0 Errors, 1 Warnings, 0 Remarks, 650 Optimizations

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

enclose "DSDT Patcher/Debug/USER.tar"

 

Press any key to continue...

 

Getting the DSDT through ioreg...

 

Decompiling the DSDT...

 

Done, now start the Patching!

 

Patching RTC...

 

RTC Device found : Device (RTC)

Found IRQ in RTC Device, removing it

IRQNoFlags ()

RTC patched

 

Patching HPET...

 

HPET Device found : Device (HPET)

IRQ's written to HPET

HPET patched

Fixing various Issues...

 

Found an issue

Found Store (Local0, Local0)

Fixed Store ("Local0", Local0)

Found an issue

Found Store (Local0, Local0)

Fixed Store ("Local0", Local0)

Done

 

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

 

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)

 

is this warning harmless?

 

./dsdt_fixed.txt 222: Method (\_WAK, 1, NotSerialized)

Warning 1080 - ^ Reserved method must return a value (_WAK)

And installed the Bootloader.pkg from the Tools folder :( !

 

What should i do before i restart to test it?

Remove the " IntelCPUPowerManagementDisabler.kext " ? or " Disabler.kext " ?

 

Until now using WinXP " chain0 " method to boot OSX!

 

Sorry for the Noobish questions :) !

 

CooSee ' Ya

coosee.tar

Link to comment
Share on other sites

I just installed AppleIntelCPUPowermanagement.kext to test my newly made DSDT and guess what? Got kernel panic..

 

Removed the AICPM.kext with boot-132 CD.

 

 

No 10.5.6 for me then. :(

 

Did you try with the -newHPET option the default compiled one did not work for me.

 

:yoji: Thanks to All, Update worked!!!

 

Quartz working, Sound working only System Profiler gives me an error and the Disk Icons are Orange ;):) !

 

But never mind Thanks!

 

 

CooSee ' Ya

 

Try the AHCI attached you copy the Info.plist files into the /System/Library/Extensions/ .kext files with the same directory structure except the .dir on them you will see in the extracted archive and if you have not used a SMBIOS enabler/efi then try putting this one in the Extensions directory for System Profiler problem. You need to remove the caches then reboot hitting the F8 key to get to the Darwin boot loader when the drive first gets accesed then type in -f and hit the enter key to force the reloading/caching of the .kext on the system for the changes to be seen., use the below as root in Terminal before the reboot for cache removal.

 

 rm -r /System/Library/Extensions/Caches
rm -r /System/Library/Caches
rm /System/Library/Extensions.mkext

AppleSMBIOSEFI_28.zip

AHCIFixICH10.zip

Link to comment
Share on other sites

Hi Everybody,

 

I'm using PCEFI V9 aka Chameleon V1.0.12 by netkas. Boot loader seems to work fine.

 

But I have a problem with DSDT Patcher V1.0.1e , I go no dsdt.aml generated.

 

I got some errors in the terminal Window :

 

 

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 1021: Method (_OSC, 5, NotSerialized)

 

Warning 1076 - ^ Reserved method has too many arguments (_OSC requires 4)

 

./dsdt_fixed.txt 1032: CreateDWordField (BUF1, Local2, CAPB)

 

Error 4111 - Creating a named object in a While loop ^

 

./dsdt_fixed.txt 1037: And (CAPB, 0xFFFFFFFC)

 

Warning 1105 - Result is not used, operator has no effect ^

 

./dsdt_fixed.txt 6839: Method (_GTM, 0, NotSerialized)

 

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

 

./dsdt_fixed.txt 6839: Method (_GTM, 0, NotSerialized)

 

Warning 1080 - Reserved method must return a value ^ (_GTM)

 

./dsdt_fixed.txt 6999: Method (_GTF, 0, NotSerialized)

 

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

 

./dsdt_fixed.txt 6999: Method (_GTF, 0, NotSerialized)

 

Warning 1080 - Reserved method must return a value ^ (_GTF)

 

./dsdt_fixed.txt 7067: Method (_GTF, 0, NotSerialized)

 

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

 

./dsdt_fixed.txt 7067: Method (_GTF, 0, NotSerialized)

 

Warning 1080 - Reserved method must return a value ^ (_GTF)

 

./dsdt_fixed.txt 7140: Method (_GTM, 0, NotSerialized)

 

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

 

./dsdt_fixed.txt 7140: Method (_GTM, 0, NotSerialized)

 

Warning 1080 - Reserved method must return a value ^ (_GTM)

 

./dsdt_fixed.txt 7314: Method (_GTF, 0, NotSerialized)

 

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

 

./dsdt_fixed.txt 7314: Method (_GTF, 0, NotSerialized)

 

Warning 1080 - Reserved method must return a value ^ (_GTF)

 

./dsdt_fixed.txt 7382: Method (_GTF, 0, NotSerialized)

 

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

 

./dsdt_fixed.txt 7382: Method (_GTF, 0, NotSerialized)

 

Warning 1080 - Reserved method must return a value ^ (_GTF)

 

./dsdt_fixed.txt 7489: Method (_GTF, 0, NotSerialized)

 

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

 

./dsdt_fixed.txt 7489: Method (_GTF, 0, NotSerialized)

 

Warning 1080 - Reserved method must return a value ^ (_GTF)

 

./dsdt_fixed.txt 7535: Method (_GTF, 0, NotSerialized)

 

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

 

./dsdt_fixed.txt 7535: Method (_GTF, 0, NotSerialized)

 

Warning 1080 - Reserved method must return a value ^ (_GTF)

 

./dsdt_fixed.txt 7981: Method (OEMN, 0, NotSerialized)

 

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

 

./dsdt_fixed.txt 8616: Method (_WED, 1, NotSerialized)

 

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

 

./dsdt_fixed.txt 8616: Method (_WED, 1, NotSerialized)

 

Warning 1080 - ^ Reserved method must return a value (_WED)

 

./dsdt_fixed.txt 8622: Return (OEMN ())

 

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

 

./dsdt_fixed.txt 8660: Method (WMBD, 3, NotSerialized)

 

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

 

ASL Input: ./dsdt_fixed.txt - 8832 lines, 327754 bytes, 3822 keywords

 

Compilation complete. 1 Errors, 23 Warnings, 0 Remarks, 934 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)

 

logout

 

[Opération terminée]

 

 

Could you please help me with this ? Thanks in advance,

 

Alain.

Link to comment
Share on other sites

Hello.

First thanks to all the contributors for the great work.

 

@fassl (or anyone that could give me an help)

 

My config is pretty different from the others described here in the thread, so I haven't tried with the files of the other users:

 

ABIT AW9D-MAX

Chipset i975

CPU Core 2 Duo 6600

 

I had an issue using the patcher. Attached is the Debug folder compressed in zip format (sorry but zip was the only method to transfer the files in the office).

 

./dsdt_fixed.txt   381:     Method (\_WAK, 1, NotSerialized)
Warning  1080 -                         ^ Reserved method must return a value (_WAK)

./dsdt_fixed.txt  5291:         Store (GAHC (Arg0, Arg1), Local4)
Warning  1092 -                           ^ Called method may not always return a value

./dsdt_fixed.txt  5329:     Method (GAHC, 2, NotSerialized)
Warning  1087 -                        ^ Not all control paths return a value (GAHC)

./dsdt_fixed.txt  5477:                         Store (GAHS (0x00), Local6)
Error    4060 -            Called method returns no value ^

ASL Input:  ./dsdt_fixed.txt - 5541 lines, 179529 bytes, 1972 keywords
Compilation complete. 1 Errors, 3 Warnings, 0 Remarks, 619 Optimizations

 

Can you give me an help, please?

 

I tried to force the compilation with the -f flag and it succeded, but it only worked in 10.5.5. Once I tried with 10.5.6, AppleIntelCPU.....kext went in error and caused a panic asserting to not having found an HPET timer.

 

Please, if you can, give me an help.

 

Thanks a lot.

Ginosky

Debug.zip

Link to comment
Share on other sites

@MacUser2525

 

Try the AHCI attached you copy the Info.plist files into the /System/Library/Extensions/ .kext files with the same directory structure except the .dir on them you will see in the extracted archive and if you have not used a SMBIOS enabler/efi then try putting this one in the Extensions directory for System Profiler problem. You need to remove the caches then reboot hitting the F8 key to get to the Darwin boot loader when the drive first gets accesed then type in -f and hit the enter key to force the reloading/caching of the .kext on the system for the changes to be seen., use the below as root in Terminal before the reboot for cache removal.

 

The AHCI Fix work but SystemProfiler problem not :( !

 

Thanks anyway, its not a big prob.

 

EDIT: replaced " AppleSMBIOS.kext " from 10.5.5 and SystemProfiler works :):D !

 

CooSee ' Ya

Link to comment
Share on other sites

Hi Everybody,

 

I'm using PCEFI V9 aka Chameleon V1.0.12 by netkas. Boot loader seems to work fine.

 

But I have a problem with DSDT Patcher V1.0.1e , I got no dsdt.aml generated.

 

I got some errors in the terminal Window : here's my debug folder

 

Thanks a lot for helping :rolleyes:

 

Alain.

Debug.zip

Link to comment
Share on other sites

EDIT: replaced " AppleSMBIOS.kext " from 10.5.5 and SystemProfiler works :angel::D !

 

CooSee ' Ya

 

Must have been a modified one you had installed causing problems in System Profiler mine shows up as version 1.1.1 and I don't remember replacing it with any other one and checked my notes which confirms no replacement done.

Link to comment
Share on other sites

Must have been a modified one you had installed causing problems in System Profiler mine shows up as version 1.1.1 and I don't remember replacing it with any other one and checked my notes which confirms no replacement done.

 

replaced one shows 1.0.13 ;) and the new one from the update 1.1.1, but with the new one i get SystemProfile error!

 

should i change back?

 

what should i do with " IntelCPUPowerManagementDisabler.kext " and " Disabler.kext ", remove it?

 

and how can i read the temperatur of my CPU, because since Update my Case Temp shows me 2 degree Celsius more?

 

THX!

 

CooSee ' Ya

Link to comment
Share on other sites

replaced one shows 1.0.13 :wacko: and the new one from the update 1.1.1, but with the new one i get SystemProfile error!

 

should i change back?

 

Weird no problems here go back to the one that works then make sure to save it somewhere for future upgrades so you having working one to use.

what should i do with " IntelCPUPowerManagementDisabler.kext " and " Disabler.kext ", remove it?

 

You don't really need them with a working DSDT.aml but I would leave them there or rename the IntelCPU to prevent them loading as it will raise the temperature a good 10c when loaded.

 

and how can i read the temperatur of my CPU, because since Update my Case Temp shows me 2 degree Celsius more?

 

Get the Temperature Monitor program it works fairly well with my Q6600 G0 revision chip it shows the same temperatures as in either Linux or windows my E6750 however shows about 10-15c lower for some reason.

 

http://www.bresink.de/osx/TemperatureMonitor.html

Link to comment
Share on other sites

Hi guys

can someone help me

 

Intel ACPI Component Architecture
AML Disassembler version 20080926 [Oct  4 2008]
Copyright © 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...

RTC Device found :                 Device (RTC)
Found IRQ in RTC Device, removing it
                       IRQNoFlags ()
RTC patched

Patching HPET...

HPET Device found :                 Device (HPET)
IRQ's written to HPET
HPET patched
Which OS to emulate? [0=Darwin,1=WinXP, 2=WinVista]
0
Fixing various Issues...

Done




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   433:     Method (\_WAK, 1, NotSerialized)
Warning  1080 -                         ^ Reserved method must return a value (_WAK)

./dsdt_fixed.txt  5215:                 Name (_HID, "_NVRAIDBUS")
Error    4001 -           String must be entirely alphanumeric ^  (_NVRAIDBUS)

./dsdt_fixed.txt  5467:                 Method (RVLT, 1, NotSerialized)
Warning  1087 -                                    ^ Not all control paths return a value (RVLT)

./dsdt_fixed.txt  5587:                 Method (RTMP, 1, NotSerialized)
Warning  1087 -                                    ^ Not all control paths return a value (RTMP)

./dsdt_fixed.txt  5797:                 Method (OCOP, 1, NotSerialized)
Warning  1087 -                                    ^ Not all control paths return a value (OCOP)

./dsdt_fixed.txt  6770:                 Method (GCQV, 1, NotSerialized)
Warning  1087 -                                    ^ Not all control paths return a value (GCQV)

ASL Input:  ./dsdt_fixed.txt - 8621 lines, 281624 bytes, 3583 keywords
Compilation complete. 1 Errors, 5 Warnings, 0 Remarks, 1090 Optimizations

 

I tried with -newHPET and has the same result

DSDT.tar

Link to comment
Share on other sites

what should i do with " IntelCPUPowerManagementDisabler.kext " and " Disabler.kext ", remove it?

 

You don't really need them with a working DSDT.aml but I would leave them there or rename the IntelCPU to prevent them loading as it will raise the temperature a good 10c when loaded.

Noooooooo ;) with out the " IntelCPUPowerManagementDisabler.kext " getting Kernel Panic :) !

 

Apple_SMC_PlatformPlugin::push CPU_CSTData - _CST evaluation failed / no HPET CPUs found

something like that!

 

In BIOS " HPET " is enabled " 32bit Mode " should it be " 64bit Mode ???!!!

 

What can i do, trying to rebuild DSDT with " new HPET Option " and what about this Warning ?

 

./dsdt_fixed.txt 222: Method (\_WAK, 1, NotSerialized)

Warning 1080 - ^ Reserved method must return a value (_WAK)

THX

 

CooSee ' Ya

Link to comment
Share on other sites

Noooooooo :blink: with out the " IntelCPUPowerManagementDisabler.kext " getting Kernel Panic :wacko: !

 

Your DSDT is not working properly then.

 

 

In BIOS " HPET " is enabled " 32bit Mode " should it be " 64bit Mode ???!!!

 

What can i do, trying to rebuild DSDT with " new HPET Option " and what about this Warning ?

 

 

THX

 

CooSee ' Ya

 

You want 64bit mode and I would build a copy of the dsdt with both options so you can have them handy to try, mine only would work with the -newHPET one otherwise I got the waiting for HPET boot error.

Link to comment
Share on other sites

 Share

×
×
  • Create New...