Jump to content
752 posts in this topic

Recommended Posts

Ok!

With the DSDT Patcher1.0.1e this is what I get:

 

Fixing various Issues...

Found an issue
Found			   Acquire (MUTE, 0x03E8)
Fixed   Acquire (MUTE, 0xFFFF)

Found an issue
Found			   Acquire (MUTE, 0x03E8)
Fixed   Acquire (MUTE, 0xFFFF)

Found an issue
Found			   Acquire (MUTE, 0x03E8)
Fixed   Acquire (MUTE, 0xFFFF)

Found an issue
Found			   Acquire (MUTE, 0x0FFF)
Fixed   Acquire (MUTE, 0xFFFF)

Found an issue
Found			   Acquire (MUTE, 0x03E8)
Fixed   Acquire (MUTE, 0xFFFF)

Found an issue
Found			   Acquire (MUTE, 0x03E8)
Fixed   Acquire (MUTE, 0xFFFF)

Found an issue
Found			   Acquire (MUTE, 0x03E8)
Fixed   Acquire (MUTE, 0xFFFF)

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 (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

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

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

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

./dsdt_fixed.txt  9515:			 Store (VGET (Local0), Local1)
Warning  1092 -							   ^ Called method may not always return a value

./dsdt_fixed.txt  9557:			 Store (TGET (Local0), Local1)
Warning  1092 -							   ^ Called method may not always return a value

./dsdt_fixed.txt  9590:			 Store (FGET (Local0), Local1)
Warning  1092 -							   ^ Called method may not always return a value

ASL Input:  ./dsdt_fixed.txt - 9821 lines, 327092 bytes, 4765 keywords
AML Output: ././dsdt.aml - 37117 bytes, 1045 named objects, 3720 executable opcodes

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

 

Also I had used the Foxconn mobo "trick" to fix the mute warnings, but what's about the VGET, TGET and FGET?. Any idea?

Hi!

 

With the 1.0.1e patcher I get the following warnings during DSDT compile:

 

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  2657:                                 ShiftLeft (C13C, 0x10)
Warning  1105 -            Result is not used, operator has no effect ^ 

./dsdt_fixed.txt  2910:                         Method (_BCQ, 0, Serialized)
Warning  1098 -                      Unknown reserved name ^  (_BCQ)

./dsdt_fixed.txt 10134:                         If (LEqual (C2D0 (0x00), 0x01))
Warning  1092 -    Called method may not always return a value ^ 

./dsdt_fixed.txt 10158:                         If (LEqual (C2D0 (0x01), 0x01))
Warning  1092 -    Called method may not always return a value ^ 

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

ASL Input:  ./dsdt_fixed.txt - 14442 lines, 527575 bytes, 6811 keywords
AML Output: ././dsdt.aml - 64529 bytes, 1165 named objects, 5646 executable opcodes

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

 

I cannot get both cores to work reliable and dont know if these warnings are my problem. Please find attached my personal DSDT patcher archive.

 

Thanks for any help.

Chris

root.tar

i think everything is ok here, with pcefiv9

i can see : 11/17/08 3:18:32 PM kernel AppleIntelCPUPowerManagement: initialization complete

(yes for me even is like 8C hotter)

but something else..

i know that xbench is a {censored} but the tests give me lower scores

specially in RAM (i had 260 now it is 160)

i'll keep testing, tell me if u need to post anything

 

ASUS P5K PREMIUM WIFI

Q6600 oc ->3.0GHZ

4GB ram

Hello fassl,

 

i've dumped my dsdt under linux, and wanted to patch it with your patcher, but i get an error:

 

 

DSDT Patcher 1.0.1e -- report Bugs to superfassl@gmail.com
enclose "DSDT Patcher/Debug/USER.tar"


Press any key to continue...




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 will be overwritten...
HPET Device found :				 Device (HPET)
HPET Device found :				 Device (HPET)
1:				 {

1:					 Name (_HID, EisaId ("PNP0103"))

1:					 Name (BUF0, ResourceTemplate ()

2:					 {

2:						 Memory32Fixed (ReadOnly,

2:							 0xFED00000,		 // Address Base

2:							 0x00000400,		 // Address Length

2:							 _Y1C)

1:					 })

1:					 Method (_STA, 0, NotSerialized)

2:					 {

2:						 If (LGreaterEqual (OSYS, 0x07D1))

3:						 {

3:							 If (HPAE)

4:							 {

4:								 Return (0x0F)

3:							 }

2:						 }

2:						 Else

3:						 {

3:							 If (HPAE)

4:							 {

4:								 Return (0x0B)

3:							 }

2:						 }

2: 

2:						 Return (Zero)

1:					 }

1: 

1:					 Method (_CRS, 0, Serialized)

2:					 {

2:						 If (HPAE)

3:						 {

3:							 CreateDWordField (BUF0, \_SB.PCI0.LPCB.HPET._Y1C._BAS, HPT0)

3:							 If (LEqual (HPAS, One))

4:							 {

4:								 Store (0xFED01000, HPT0)

3:							 }

3: 

3:							 If (LEqual (HPAS, 0x02))

4:							 {

4:								 Store (0xFED02000, HPT0)

3:							 }

3: 

3:							 If (LEqual (HPAS, 0x03))

4:							 {

4:								 Store (0xFED03000, HPT0)

3:							 }

2:						 }

2: 

2:						 Return (BUF0)

1:					 }

New HPET written

Which OS to emulate? [0=Darwin,1=WinXP, 2=WinVista]
1
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 (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

Error	4068 - Could not open file ".//Volumes/Data/Downloads/DSDT_Patcher1.0.1e/dsdt.aml" (No such file or directory)




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)


rm: dsdt.dat: No such file or directory

 

 

Any idea? Or can you try to patch it plz(xp+vista)?

 

 

THX! :D

dsdt.dsl.zip

fassl,

 

Is there anywhere you can point me to learn about the options/settings available in the DSDT?

 

Thanks,

SMF

DSDT is normally between 5000 and 15000 lines. Additionally it's not just a list of options but something written in programming language (ASL, compiled to AML). The information about DSDT is available in ACPI specification (http://acpi.info/). It's 624 pages. So it's a lot to explore and anyone interested in it is welcome

 

Hello fassl,

 

i've dumped my dsdt under linux, and wanted to patch it with your patcher, but i get an error:

Launch patcher and have your DSDT on HFS+ partition.

 

P.S. Next two weeks I'll be occupied and probably unavailable on this forum

...

 

Launch patcher and have your DSDT on HFS+ partition.

 

...

 

It is...;)

 

 

 

EDIT: Moved patcher folder from "/volumes/data/downloads" (second part.) to "/volumes/leopard" (first part./root), both HFS+, and still this error:

 

Error	4068 - Could not open file ".//Volumes/Data/Downloads/DSDT_Patcher1.0.1e/dsdt.aml" (No such file or directory)

 

What the **** happens there lol

 

 

EDIT2: I found it out, it was this line in my dsdt.dsl:

 

DefinitionBlock ("/Volumes/Data/Downloads/DSDT_Patcher1.0.1e/Tools/dsdt.aml", "DSDT", 1, "INTEL ", "CALISTGA", 0x06040000)

 

 

I corrected it to:

 

DefinitionBlock ("./dsdt.aml", "DSDT", 1, "INTEL ", "CALISTGA", 0x06040000)

 

and run the patch again over dsdt.dsl, et voilà: it worked!

 

 

Thanks anyway :dance_24:

 

 

Anyone can tell me how to verify if DSDT.aml is loaded by v9?

Change it to
If (LOr (_OSI ("Darwin"), _OSI ("Windows 2001")))

in dsdt_fixed.txt

 

Hi,

 

If that doesn't work try this:

 

If (LOr (\_OSI ("Darwin"), \_OSI ("Windows 2001")))

 

It worked for me...

 

I'm now recompiling the kernel to get cpus=2 to work on problematic HP Notebooks (HP530).

 

Great work Fassl and MackerIntel!! This is a milestone in the OSx86 Project..

 

Thanks,

~AB~

Hi all,

 

Thanks for all the work going on here to fix the HPET problem.

 

I have tried but failed to produce a DSDT.aml file. Looking into it, it seems that iasm is dying with:

 

Maximum error count (200) exceeded

ASL Input: Debug/dsdt.dsl - 7634 lines, 265386 bytes, 2999 keywords

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

 

Maximum error count (200) exceeded

Bus error

 

This produces a file of zero length. I've tried to download and hack the iasl source, but I can't get it working.

 

I was wondering if anybody here can help.

 

If you could get a aml file it'll be great. I've attached an archive of my Debug folder.

 

Thanks,

 

Alex

Debug.zip

Version 1.0.1e

-added OSI emulation by mackerintel

-added Mute fix by mackerintel

thx for this :hysterical:

DSDT_Patcher1.0.1e.zip

 

Hi,

With this release I'm able to make my PC sleep & wake for the first time since I join OSX community. So far no problem found & performance as it should be. I choose vista emulation when compiling dsdt_fixed.txt.

 

Thanks. :angry:

 

kizwan

fassl,

 

Is there anywhere you can point me to learn about the options/settings available in the DSDT?

 

Thanks,

SMF

http://acpica.org/documentation/

 

Hello fassl,

 

i've dumped my dsdt under linux, and wanted to patch it with your patcher, but i get an error:

 

 

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

Done

Any idea? Or can you try to patch it plz(xp+vista)?

 

 

THX! :hysterical:

Strange. I use 0=Darwin and it works for me.

I have a problem while using the patcher. I cant compile the dsdt.aml file. Heres the error message:

 

./dsdt_fixed.txt 1: ACPI (Local2)

Error 4095 - ^ syntax error, unexpected PARSEOP_NAMESEG, expecting PARSEOP_DEFINITIONBLOCK

 

ASL Input: ./dsdt_fixed.txt - 16271 lines, 586089 bytes, 0 keywords

AML Output: (null) - 0 bytes, 0 named objects, 0 executable opcodes

 

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

 

Its the same problem that BlackCH had.

Is there a fix for it?

Hi,

 

First of all thanks to all are involved in this project, great job!

 

Now to Slice Do you think USB fixes can be /injected implemented in DSDT?

If so any hint?

Asking b/c I have that EHCI bug like all ASUS users, and is one of the bugs that broke my lappie sleep:

THe-KiNG kernel[0]: Wake reason = USB4 EUSB USBE HDEF USB3

Tried to add "Device (PWRB)" and "Notify (\_SB.PWRB, 0x02)" under each entry on USB devices @ Scope (_GPE) like I saw on MB vanilla one and on my ASUS desktop, no luck so far...

 

Now about Fn and hotkeys, I found some DSDT references in some ASUS user posts like for G1"

To get all hotkeys working you also need to correct DSDT file:

Edit dsdt.dsl file, and:

 

* change all _T_0 to T0 and all _T_1 to T1

* if you don't like warnings change all Acquire (MUTE, 0xSOMETHING) to Acquire (MUTE, 0xFFFF)

* change the line 4456 from 'If (LAnd (^^^P0P2.VGA.DOSF, 0x04)) {}' to 'If (LEqual (^^^P0P2.VGA.DOSF, 0x04)) {}'

AFAIK this didn't helped me to get them working just fixed some warnings on compile...

I can't even capture hotkeys events on OSX using controllermate or butler ;)

Here is my list with acpi events captured on XP using Asus notebook keys control :

Fn+F1=sleep works

Fn+F2=wifi/bt switch works

Fn+F3=mail app dosen't work

Fn+F4=launch browser dosen't work

Fn+F5/F6=brightness control works

Fn+F7=LCD on/off works

Fn+F8=LCD/VGA switch dosen't work -> Warning! dont use it! I got instant restart when I press that combination!

Fn+F9/F10/F11/F12 dosent work

Prt Sc key is not assigned

Application key(next after right alt) is not assigned

Fn+T=modem on/off dosen't work

Fn+C=dunno what does/dosen't work

Fn+V=my guess screen capture dosen't work

Fn+Space same as first hotkey button dosen't work

Fn+media play buttons(arrows keys) dosent work


Media arrows keys:
Fn +"":
->: Event: 0x41
<-: Event: 0x40
^ : Event: 0x43
v : Event: 0x45

Functions (Fn + F1-F12) That dosent work:
Fn +"":
F3: Event: 0x50
F4: Event: 0x51

F5: Event: 0x2D /*works ootb until i chose vista on OSI but they dosent print brightness bezel */
F6: Event: 0x1E /*works ootb until i chose vista on OSI but they dosent print brightness bezel */

F8: Event: 0x61
F9: Event: 0x68
F10: Event: 0x32
F11: Event: 0x31
F12: Event: 0x30

Keyboard keys that dosent work (+Fn):
Fn +"":
T: Event: 0x99
A: Event: 0x7A
C: Event: 0x8A
V: Event: 0x82
Space: Event: 0x5C

Media button key:
Button 1: Event: 0x5C ---> same function as Fn+Space=Launch Power4Gear
Button 2: Event: 0x6B
Button 3: Event: 0x5C
Button 4: Event: 0x95

Any idea?

 

Mackerintel about that OSI "emulation" default and XP one dosen't help

Darwin - no changes

XP - if i load sleepimage (sleep is broke) with netkas booter I lose brightness control and light sensor is enabled (Fn+A: Event: 0x7A dosent work to disable it) i have to go on win and disable light sensor again...and i got black screen after sleep fail, also with loaded image my lappie is very slow in performance

Vista - broke brightness control but light sensor is disabled and i got VGA back after sleep fail, no change on performance.

 

L.E. LOL if I chose sleep twice it works! hahaha first time it disable buggy USB devices then sleep fine but on wake no usb(that buggy one)

..........
Nov 18 18:03:02 THe-KiNG kernel[0]: hibernate_write_image done(0)
Nov 18 18:03:02 THe-KiNG kernel[0]: sleep
Nov 18 18:03:02 THe-KiNG kernel[0]: ACPIBattery: Battery BAT0 has _BIF property read error
Nov 18 18:03:02: --- last message repeated 1 time ---
Nov 18 18:03:02 THe-KiNG kernel[0]: Wake reason = USB4 USB3
Nov 18 18:03:02 THe-KiNG kernel[0]: System Wake
Nov 18 18:03:02 THe-KiNG kernel[0]: USB (UHCI):Port 1 on bus 0x1a connected or discUSB (UHCI):Port onnected
Nov 18 18:03:02 THe-KiNG kernel[0]: 1 on bus 0x3a connected or disconnected
Nov 18 18:03:02 THe-KiNG kernel[0]: [interruptReadHandler] Received kIODeviceNotResponding error - retrying: 1.
Nov 18 18:03:02 THe-KiNG kernel[0]: E:[AppleUSBBluetoothHCIController]WARNING !!!! [DeviceRequestCompleteHandler] error e00002ed
Nov 18 18:03:02 THe-KiNG kernel[0]: IOBluetoothHCIController::terminateWL .. done
..........
Nov 18 18:04:01 THe-KiNG kernel[0]: hibernate_write_image done(0)
Nov 18 18:04:01 THe-KiNG kernel[0]: sleep
Nov 18 18:04:01 THe-KiNG kernel[0]: Wake reason = PWRB
Nov 18 18:04:01 THe-KiNG kernel[0]: System Wake
Nov 18 18:04:01 THe-KiNG kernel[0]: AirPort: Link Up on en1

Can you help me to fix this mess?

 

Thanks.

 

Here is my modded/and vanilla DSDT plus a .diff:

M50SV_DSDT.zip

Here's sharing my experience and hoping for some feedback: Gigabyte p35 ds4, installed everything according to the posts, compiled the DSDT file, placed the new boot file from netkas in the root directory and at first glance all boots fine. Deep sleep works, but when waking usb devices, like mouse and keyboard not working, having to hard boot back into my system. Tried both OS and Vista emulation, - XP won't work. Strange. Also with the AppleIntelCPUPowerManagement.kext installed I still get HPET at 0 error, ending in a kernel panic. Tried lifting the AppleEFIRuntime.kext, no change. Seems others are having the same problems. Anyone with this motherboard have success they want to share, or any other ideas?

 

Thanks

Has anyone had any luck installing leopard on an eee 900HA? I can't find a modded bios anywhere, and I think this DSDT fix may be a bit beyond my pay grade. If anyone would be willing to offer me a bit of help, I'd be very appreciative. Hey - I might even pay for it!

 

;)

 

P.S. I have built Hackintoshes before and done vanilla installs with chameleon, so I know a bit about how things work.

I get over 200 errors and the dsdt.aml won't create. can you please explain exactly what should I do? I installed chameleon 1.0.11, replaced the boot on / with the one from 'chameleon with dsdt override' post and ran your patcher, 200 errors 5 fix no output file. if I try to force compile I get an dsdt.aml, I put it in root and no boot at all.....

Hi,

 

Now about Fn and hotkeys, I found some DSDT references in some ASUS user posts like for G1"

 

...

 

A simple solution : flipfunction prefpane, it can enable some hotkeys without having to strike Fn key...

 

On my Asus i can change volume, with bezel, on F11 and F12 keys... Brightness have always worl without bezel, no change...

×
×
  • Create New...