Jump to content

DSDT Patcher


  • Please log in to reply
743 replies to this topic

#721
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

Things to consider - With no DSDT edits, using GraphicsEnabler=Yes, I get full video support with QE/CI; however, in About This Mac, not all of the correct information is displayed.

A few question:

1) Does relying on GraphicsEnabler=Yes for full video support result in any performance degradation? In other words, if it works, is that the best?

2) How do we get all the info to appear properly if we are using GraphicsEnabler?

3) Kind of similar to 1), but, is it better to get it working fully through DSDT, which is kind of what I'm thinking?

I don't think there are any performance degradation if you use either GraphicsEnabler=Yes or DSDT injection. I like DSDT injection more because I can inject a lot more information I want.

Sorry for late reply. I'll start working on your DSDT. Can you provide me your computer specification? Also I need your codec dump for audio. Thank you. :(

#722
Mammoth

Mammoth

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 625 posts

I don't think there are any performance degradation if you use either GraphicsEnabler=Yes or DSDT injection. I like DSDT injection more because I can inject a lot more information I want.

Sorry for late reply. I'll start working on your DSDT. Can you provide me your computer specification? Also I need your codec dump for audio. Thank you. :rolleyes:


Hi Kizwan,

Great news, and always, very much appreciate your help! :D

I think at this point I would like to first concentrate on the audio as the video is working but I have no sound at all (don't want to use VoodooHDA).

What is your recommended way for generating the codec dump?

Specs are as follows:

HP DV8t-1100 (VF836AV) laptop

CPU: Intel® Core™ i7-720QM 1.6GHz, 6MB, L2C
Memory: Installed: 4GB (2GB x 2GB) [Maximum: 8GB] Type/Speed: DDR3/1333MHz
Video: NVIDIA® GeForce® GT 230M GPU w/ 1024 MB
Sound: IDT 92HD75B3 Audio Controller
LAN: Realtek RTL8168D/8111D PCI-E Gigabit
Wi-Fi: Intel Centrino Advanced-N 6200 (622ANHMW)

Thanks!

Mammoth

#723
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

What is your recommended way for generating the codec dump?

You can get it by using linux live CD, e.g. Fedora Live CD. Use this command in console to dump the codec dump:-
cat /proc/asound/card0/codec#1 > ~/Desktop/codec_dump.txt
Post the codec_dump.txt file here.

I noticed you use evoreboot.kext file. Do you have problem with restart/shutdown with this notebook? I already take a look in your FADT file & it shouldn't have problem with restart.

#724
Erigz

Erigz

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
/Users/rafal/Desktop/dsdt_fixed.txt  3083:			 Method (WMAA, 3, NotSerialized)
Warning  1087 -			  Not all control paths return a value ^  (WMAA)

ASL Input:  /Users/rafal/Desktop/dsdt_fixed.txt - 8226 lines, 270654 bytes, 2620 keywords
AML Output: /Users/rafal/Desktop/./dsdt.aml - 27134 bytes, 793 named objects, 1827 executable opcodes

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

Any ideas how to fix it ? Only warning, but still...I've searched in Google, but there are no fixes for it. Also ACPI specification says nothing about it...
My WMAA method looks like this:
Method (WMAA, 3, NotSerialized)
			{
				If (LEqual (Arg0, 0x00))
				{
					If (LOr (LOr (LNotEqual (Arg1, 0x01), LNotEqual (Arg1, 
						0x02)), LNotEqual (Arg1, 0x06)))
					{
						CreateDWordField (Arg2, 0x00, WIID)
					}

					If (LEqual (Arg1, 0x01))
					{
						Return (AM01 ())
					}
					Else
					{
						If (LEqual (Arg1, 0x02))
						{
							Return (AM02 ())
						}
						Else
						{
							If (LEqual (Arg1, 0x03))
							{
								Return (AM03 (WIID))
							}
							Else
							{
								If (LEqual (Arg1, 0x04))
								{
									CreateDWordField (Arg2, 0x04, IVAL)
									Return (AM04 (WIID, IVAL))
								}
								Else
								{
									If (LEqual (Arg1, 0x05))
									{
										Return (AM05 (WIID))
									}
									Else
									{
										If (LEqual (Arg1, 0x06))
										{
											Return (AM06 ())
										}
										Else
										{
											If (LEqual (Arg1, 0x07))
											{
												AM07 (Arg2)
											}
											Else
											{
												If (LEqual (Arg1, 0x08))
												{
													AM08 (WIID)
												}
												Else
												{
													If (LEqual (Arg1, 0x09))
													{
														Return (AM09 ())
													}
													Else
													{
														If (LEqual (Arg1, 0x0A))
														{
															Return (AM10 (Arg2))
														}
														Else
														{
															If (LEqual (Arg1, 0x0B))
															{
																Return (AM11 ())
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}


#725
ghola

ghola

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts
I've trying to make a dsdt.aml with DSDTse but can't figure out how to compile successfully. Can I send someone my dsdt.dsl for help? I have a MSI MS-1727 laptop. http://www.mediafire.com/?vgxnzezezzd

#726
wolodya

wolodya

    InsanelyMac Protégé

  • Members
  • Pip
  • 36 posts
Erigz
If (LEqual (Arg1, 0x0B))
{
Return (AM11 ())
}
Return (Zero)
}

#727
Gidi

Gidi

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 109 posts
Ghola: here is your compiled DSDT:

http://www.mediafire.com/?lmgminawwjt

Cheers!

#728
ghola

ghola

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts

Ghola: here is your compiled DSDT:

http://www.mediafire.com/?lmgminawwjt

Cheers!


OMG Thanks, Ill try it soon!

#729
sirbow2

sirbow2

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 728 posts
  • Gender:Male
could some one help me please?

i get these warning in my dsdt
/Users/xxxx/Library/ApplicationSupport/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  2554:			 
Method (WMAA, 3, NotSerialized)
Warning  1088 -						Not all control paths return a value ^  (WMAA)

/Users/xxxxx/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  2740:	 Method (\_WAK, 1, NotSerialized)
Warning  1088 -						Not all control paths return a value ^  (\_WAK)

/Users/xxxxxx/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  2740:	 Method (\_WAK, 1, NotSerialized)
Warning  1081 -						Reserved method must return a value ^  (_WAK)

EDIT: new dsdt uploaded (still has errors)

Attached Files

  • Attached File  dsdt.zip   26.33KB   10 downloads


#730
drule

drule

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 134 posts
I'm in the process of cleaning up my DSDT, so I can use vanilla kexts. I've been trying to get AppleHPET to load, but haven't had any luck so far.

Now I've just realized that my BIOS/MB probably doesn't support HPET, as it is a D945GCZ ICH7 with a Pentium D.

Given my hardware, is the following HPET code what I should be using?

Device (HPET)
			{
				Name (_HID, EisaId ("PNP0103"))
				Name (_CRS, ResourceTemplate ()
				{
					IRQNoFlags ()
						{0}
					IRQNoFlags ()
						{8}
					Memory32Fixed (ReadOnly,
						0xFED00000,		 // Address Base
						0x00000400,		 // Address Length
						)
				})
				Method (_STA, 0, NotSerialized)
				{
					If (HPEE)
					{
						Return (0x0F)
					}
					Else
					{
						Return (Zero)
					}
				}
			}

For anyone interested, I've attached my current DSDT, with all labels renamed to match Apple's, LPC device-id forced, SATA working, and other basic fixes. It has enabled me to boot OSX SL 10.6.4 with only Chameleon 2 RC4rev684, Nawcom legacy kernel, FakeSMC, NVenabler (for my 9500 GT) and VoodooHDA.

Unfortunately I haven't managed to get SLEEP working yet, but that's my next goal after cleaning up the DSDT.

Attached File  dsdt.dsl.zip   12.49KB   13 downloads

#731
EtherNomad

EtherNomad

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
I just finished up following the below guide to install Snow Leopard on my HP Mini 1030NR:
http://www.mymacnetb...ompaq-mini-700/

I received errors while compiling my DSDT.DSL file. I've attached the file in the hopes it will shed some light on the issues I'm having. Let me know if I can provide anything else. I really want to get this working!

- Sleep doesn't work (it falls asleep for a split second and then wakes back up)
- Restarting puts the netbook into a funky "Limbo" state
- The hard drive icon is not on the desktop (probably not a big deal)
- I can't verify whether QE/CI are enabled because the status does not show up under | About this Mac | More Info | Graphics/Displays |

DSDT.DSL


#732
lawtra

lawtra

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 7 posts
dear ,
Hi everybody , i try to to hack my DSDT but , something different with my main board . I followed guide line step by step but i cant find solution for my main , e.g : guide tell em find device CPU but i can't find it in DSDT i got from windows by everes or DSDT i got inside mac .
Today i will upload my DSDT to this topic , i hope someone can help me to hack my DSDT , i'll go grateful for about your help . ..
all i need is :
-Hpet hack
-Native AC Adapter fix
-Native ACHI controler
-SMBUS Controller
-PCI information
-Lan card fix
-Fix Sleep/wake, usb hack
-Native Speedtep CPU
My laptop is : F8sr with : inter dual 2 core T81 , Main asus F8P
If u dont have time , plz just leave guide for me !
many thank to ur help
( sorry , my english isnt wel . I will learning more ... ) Attached File  dsdt.zip   31.76KB   11 downloads

#733
TheHarbinger

TheHarbinger

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts
I've downloaded this and wish to patch a file I've created using Everest Lavalys under Windows. The impression I get through reading the (somewhat sparse) instructions is that the program, if simply run from the GUI, will patch a pre-existing DSDT in the disk's root directory. The instructions say it's possible to point to a particular file to patch, but implies that's done if the program is run from a terminal session. I've tried running the program that way, but I keep getting errors and the program won't run.

So, what's the proper syntax to run this thing?

#734
Bungo

Bungo

    InsanelyMac Sage

  • Coders
  • 296 posts
  • Gender:Male
Hi,

I can't compile my dsdt even without modifications (more then 200 errors). Found that FPED is a problem but I don't know what it is. There is FPED in MBP6.1's dsdt and couldn't compile it also. Would you like to help me?

Attached Files



#735
fbifido

fbifido

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 135 posts
  • Gender:Male
  • Location:Jamaica
How to know what to edit in dsdt file




Hi,

I would like to ask a question about dsdt editing
but, before that i have add my dsdt.dst and a picture of my hardware info and dsdt-edit compiler info.

i started the dsdt-editor, told it to extract my dsdt from bios or system
then compile it, no error, no warning, xx optimization.

Question1: How do you know what patch is needed?

i know we need:
DTGP - to make the patches work
HPET - to fix the slow sata
HDEF - to fix the sound


btw: link to file and pictures: http://www.mediafire...t1u99otnzysuele

Attached Files



#736
TheHarbinger

TheHarbinger

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

I've downloaded this and wish to patch a file I've created using Everest Lavalys under Windows. The impression I get through reading the (somewhat sparse) instructions is that the program, if simply run from the GUI, will patch a pre-existing DSDT in the disk's root directory. The instructions say it's possible to point to a particular file to patch, but implies that's done if the program is run from a terminal session. I've tried running the program that way, but I keep getting errors and the program won't run.

So, what's the proper syntax to run this thing?



#737
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
@TheHarbinger,

You will need to run it in Terminal program like this:-
./DSDT \Patcher
The backward slash character appear because there is space in the tool filename. No need to worry about it.

After you enter above command, it will automatically extract DSDT from computer BIOS & it will try to compile it. Usually you will see error & warning messages. What you need to do is fix these error before you can get clean dsdt.aml file. You can find the information you need to fix your DSDT in this forum.

If you're going to compile a dsdt file you extracted using Everest, make sure you decompile it first since the file is in binary format (compiled version). To do so, you will need to use Terminal program. Put your DSDT file in the DSDT Patcher directory. Change directory to DSDT Patcher directory. When you in the DSDT Patcher directory, please enter this command:-
Tools/iasl -d acpi_dsdt.bin
Change acpi_dsdt.bin with your DSDT filename. You'll get a readable DSDT file with .dsl extension, for example acpi_dsdt.dsl. Create Debug directory & copy acpi_dsdt.dsl in it. To patch your DSDT file, enter this command:-
./DSDT \Patcher Debug/acpi_dsdt.dsl
You'll get a lot of error & warning messages. Fix it first before you can get a clean dsdt file.

There are a lot of information in this forum to fix the error & warning. Please try finding it first before asking any help in here.

Good luck. :o

#738
Macin

Macin

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
Is there any step I can flow ?
No idea on how to do = ="
HELP is appreciated.

#739
rraallvv

rraallvv

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts
  • Gender:Male
Hello guys, does that patcher still work on SnowLeo (10.6.8)

Wondering whether you've got a fixed DSDT.aml for the Pavilion tx2532la

I'm getting this error when I try to compile mine:

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.dsl  2518:						 Method (_BCL, 0, NotSerialized)
Warning  1087 -									^ Not all control paths return a value (_BCL)
dsdt.dsl  2518:						 Method (_BCL, 0, NotSerialized)
Warning  1080 -									^ Reserved method must return a value (_BCL)
dsdt.dsl  2532:						 Method (_BQC, 0, NotSerialized)
Warning  1087 -									^ Not all control paths return a value (_BQC)
dsdt.dsl  2532:						 Method (_BQC, 0, NotSerialized)
Warning  1080 -									^ Reserved method must return a value (_BQC)
dsdt.dsl  2812:						 Method (_BCL, 0, NotSerialized)
Warning  1087 -									^ Not all control paths return a value (_BCL)
dsdt.dsl  2812:						 Method (_BCL, 0, NotSerialized)
Warning  1080 -									^ Reserved method must return a value (_BCL)
dsdt.dsl  2826:						 Method (_BQC, 0, NotSerialized)
Warning  1087 -									^ Not all control paths return a value (_BQC)
dsdt.dsl  2826:						 Method (_BQC, 0, NotSerialized)
Warning  1080 -									^ Reserved method must return a value (_BQC)
dsdt.dsl  8238:			 Method (_HOT, 0, Serialized)
Warning  1087 -						^ Not all control paths return a value (_HOT)
dsdt.dsl  8238:			 Method (_HOT, 0, Serialized)
Warning  1080 -						^ Reserved method must return a value (_HOT)
dsdt.dsl  8245:			 Method (_CRT, 0, Serialized)
Warning  1087 -						^ Not all control paths return a value (_CRT)
dsdt.dsl  8245:			 Method (_CRT, 0, Serialized)
Warning  1080 -						^ Reserved method must return a value (_CRT)
ASL Input:  dsdt.dsl - 8307 lines, 301040 bytes, 4052 keywords
AML Output: dsdt.aml - 37533 bytes, 803 named objects, 3249 executable opcodesCompilation complete. 0 Errors, 12 Warnings, 0 Remarks, 14 Optimizations

Any help is appreciated

Attached File  dsdt.dsl.zip   28.91KB   2 downloads

#740
Toris

Toris

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
Hi,
is there some one who can help me to fix the two error (I'm tryingto install the dual link patch)?
Thanks

Non-fixable errors:
7531 Error syntax error, unexpected PARSEOP_NAMESEG, expecting '('
7967 Error syntax error, unexpected $end and premature End-Of-File

Attached Files

  • Attached File  dsdt.zip   30.75KB   7 downloads






1 user(s) are reading this topic

1 members, 0 guests, 0 anonymous users


© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy