Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,753 posts in this topic

Recommended Posts

@mald0n,

Thanks the HDEF was already there! My bad! Now just one question which is, can you apply HDMI Fix in my DSDT? or it vary's from laptops to laptops? and also what is "Method _CRT" used fro in DSDT? i noticed you applied that patch to the HDX18 and was wondering what it is for!

Link to comment
Share on other sites

Hi Maldon

 

My quest for sorting out my Sabertooth X58 continues...

 

I have attached my DSDT for you to have a look at as I'm having issues and I really don't know how to edit / modify the DSDT. I don't understand the layout of DSDT's and the syntax of how one declares methods and devices. I wish there was a noob's guide to DSDT (can someone please write one up?)

 

Issue 1 is Firewire:

I've worked out that is must be a power management issue that's causing it not to work correctly. If I put the computer to sleep, then awaken it, then my firewire drive comes to life. I've tried editing my DSDT with DSDTSE and using this code:

 

Firewire power conservation Hack.

 

   
  It´s a nice idea to change all your firewire names on DSDT to apple´s ones, for example from FIWI to FRWR.

  Locate Scope (_GPE), add this on the end.

  Method (_L1A, 0, NotSerialized)  /* <-- Added for firewire  */
  {
   Notify (\_SB.PCI0.PCIB.FRWR, 0x00)
   Notify (\_SB.PWRB, 0x02)
  }


  Locate your Firewire device (or create it with this code if it doesn´t exist)


			   Device (FRWR) /*Add all this code if you don´t have firewire device on DSDT*/
			   {
				   Name (_ADR, 0x00070000)
				   Name (_GPE, 0x1A)
				   Method (_DSM, 4, NotSerialized) /* Add from here if you already have a firewire device on dsdt*/
				   {
					   Store (Package (0x02)
						   {
							   "fwhub",
							   Buffer (0x04)
							   {
								   0x00, 0x00, 0x00, 0x00
							   }
						   }, Local0)
					   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					   Return (Local0)
				   }	 /* End of code if you just add to a existing firewire device */
			   }

 

I couldn't find Scope(GPE), only Scope (\_GPE). I modified that and added the Device and got a compile error:

 

4518:						 Notify (\_SB.PCI0.PCIB.FRWR, 0x00)
  Error	4064 -			 Object does not exist ^  (\_SB.PCI0.PCIB.FRWR)

 

Secondly I have an issue with NullCPUPowerManagement.kext. If I delete it from /Extra/Extensions, then I get a kernel panic. Is there an issue in my DSDT causing this? Is it better to use NullCPUPowermanagement or DSDT?

 

 

dsdt.aml.zip

 

Thanks in advance for all the help.

 

Cheers

 

ManB

Link to comment
Share on other sites

Hi Maldon

 

My quest for sorting out my Sabertooth X58 continues...

 

I have attached my DSDT for you to have a look at as I'm having issues and I really don't know how to edit / modify the DSDT. I don't understand the layout of DSDT's and the syntax of how one declares methods and devices. I wish there was a noob's guide to DSDT (can someone please write one up?)

 

Issue 1 is Firewire:

I've worked out that is must be a power management issue that's causing it not to work correctly. If I put the computer to sleep, then awaken it, then my firewire drive comes to life. I've tried editing my DSDT with DSDTSE and using this code:

 

Firewire power conservation Hack.

 

   
  It´s a nice idea to change all your firewire names on DSDT to apple´s ones, for example from FIWI to FRWR.

  Locate Scope (_GPE), add this on the end.

  Method (_L1A, 0, NotSerialized)  /* <-- Added for firewire  */
  {
   Notify (\_SB.PCI0.[color="#FF0000"][b]PCIB[/b][/color].FRWR, 0x00)
   Notify (\_SB.PWRB, 0x02)
  }


  Locate your Firewire device (or create it with this code if it doesn´t exist)


			   Device (FRWR) /*Add all this code if you don´t have firewire device on DSDT*/
			   {
				   Name (_ADR, 0x00070000)
				   Name (_GPE, 0x1A)
				   Method (_DSM, 4, NotSerialized) /* Add from here if you already have a firewire device on dsdt*/
				   {
					   Store (Package (0x02)
						   {
							   "fwhub",
							   Buffer (0x04)
							   {
								   0x00, 0x00, 0x00, 0x00
							   }
						   }, Local0)
					   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					   Return (Local0)
				   }	 /* End of code if you just add to a existing firewire device */
			   }

 

I couldn't find Scope(GPE), only Scope (\_GPE). I modified that and added the Device and got a compile error:

 

4518:						 Notify (\_SB.PCI0.[color="#FF0000"][b]PCIB[/b][/color].FRWR, 0x00)
  Error	4064 -			 Object does not exist ^  (\_SB.PCI0.[b][color="#FF0000"]PCIB[/color][/b].FRWR)

 

Secondly I have an issue with NullCPUPowerManagement.kext. If I delete it from /Extra/Extensions, then I get a kernel panic. Is there an issue in my DSDT causing this? Is it better to use NullCPUPowermanagement or DSDT?

 

 

dsdt.aml.zip

 

Thanks in advance for all the help.

 

Cheers

 

ManB

 

0x001E0000

see the device name

 

KP

post a photo

Link to comment
Share on other sites

MaLd0n,

 

Wondering if you could take a look at my send_me.zip I'd really appreciate it!!!! BTW you are awesome!

 

Edit* Just including my current system specs for archival purposes in case signature changes

Gigabyte GA-P31-ES3G; Intel E2180; Sapphire Radeon HD 5770

send_me.zip

Link to comment
Share on other sites

MaLd0n,

 

Wondering if you could take a look at my send_me.zip I'd really appreciate it!!!! BTW you are awesome!

 

Edit* Just including my current system specs for archival purposes in case signature changes

Gigabyte GA-P31-ES3G; Intel E2180; Sapphire Radeon HD 5770

your DSDT is fully edited

Link to comment
Share on other sites

your DSDT is fully edited

 

OK then I did well ;) Thank you so much for looking at it for me! Great help to the community. I was having a problem with USB devices randomly unmounting (for instance copying files to a flash drive) but I've never had a problem copying all of the data to and from my iPhone when I restore. Maybe you could add the data from my DSDT to the program during the next update to help move it along. Thanks again so much I really appreciate your help.

Link to comment
Share on other sites

I don't get it? Do you mean I should replace PCIB with that Hex above?

 

Nops

 

rename device

or modify patch

 

this is the address of pcib

see what is the name of the device in your DSDT

:(

Link to comment
Share on other sites

MaLd0n, why is a topic moved? :o

Do you not continue with the project, or something else?

However, thank you for everything you've done here...

I would never manage to do things without you, like Native PowerMenagement, DSDT and many more...

Thanks MaLd0n! :( Thank You very much !

Link to comment
Share on other sites

MaLd0n, why is a topic moved? :o

Do you not continue with the project, or something else?

However, thank you for everything you've done here...

I would never manage to do things without you, like Native PowerMenagement, DSDT and many more...

Thanks MaLd0n! :( Thank You very much !

The project continues

moved to new section -> DSDT

;)

Link to comment
Share on other sites

hey there again maldon,

 

i'm trying to fix my friends dsdt with your patcher,

it's a ga-p55a-ud3 rev 2.0

 

at first, i was successful, everything worked, after i plugged a bluetooth dongle (i think this is the problem but don't know), now it won't sleep, wake up immediately. even if removed any usb beside keyboard and mouse.

 

i tried tonymacx86 dsdt but it's even worst, sending the pc to restart.

 

 

so first, i was wondering what rev is you patcher for?

and if it's for rev 2, can you try helping me find this problem?

 

thanks a lot

 

if you need any logs please ask

Link to comment
Share on other sites

hey there again maldon,

 

i'm trying to fix my friends dsdt with your patcher,

it's a ga-p55a-ud3 rev 2.0

 

at first, i was successful, everything worked, after i plugged a bluetooth dongle (i think this is the problem but don't know), now it won't sleep, wake up immediately. even if removed any usb beside keyboard and mouse.

 

i tried tonymacx86 dsdt but it's even worst, sending the pc to restart.

 

 

so first, i was wondering what rev is you patcher for?

and if it's for rev 2, can you try helping me find this problem?

 

thanks a lot

 

if you need any logs please ask

-connect the bluetooth

-use the sleep

 

after doing this

run this command in terminal

grep Wake /var/log/kernel.log

 

send me your DSDT too

Link to comment
Share on other sites

Boot with linux live cd and run in terminal

cat /proc/acpi/dsdt > dsdt.aml

 

That worked fine but got compile errors from DSDT-Auto-Patcher:

 

Line 258 type Error message Method local variable is not initialized (Local0)]

[Line 262 type Error message Method local variable is not initialized (Local0)]

[Line 428 type Error message Length is larger than Min/Max window ]

 

(again for a Gigabyte GA-EP45C-UD3R with DDR3 RAM and a Core 2 Quad Xeon Processor)

Link to comment
Share on other sites

That worked fine but got compile errors from DSDT-Auto-Patcher:

 

Line 258 type Error message Method local variable is not initialized (Local0)]

[Line 262 type Error message Method local variable is not initialized (Local0)]

[Line 428 type Error message Length is larger than Min/Max window ]

 

(again for a Gigabyte GA-EP45C-UD3R with DDR3 RAM and a Core 2 Quad Xeon Processor)

 

send me your DSDT

Link to comment
Share on other sites

This one worked perfectly on my Gigabyte EP45-UD3.

 

Thank you so much! I finally got sleep working. :(

 

Also CPU Temps went from 46 to 38 degree, which is related to the implementation of native power management i guess.

Link to comment
Share on other sites

Hi MaLd0n :) after much research I have found the dsdt with speedstep for my Intel E8400, but I can not seem to apply to dsdt edited by you (if I boot the pc with the dsdt_e8400_speedstep pc is very slow). You believe something can be done? Thanks :(

dsdt_fiox89_NO_speedstep.aml.zip

DSDT_speedstep_e8400.aml.zip

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...