Jump to content
hannibal1969

DSDT request for HP8560W Elitebook

Recommended Posts

Hi all,


I just bought a HP elitebook 8560W (exchange for MBP 15 inch :-))

I have most things running:


Audio VoodooHda

Intel NIC 82579LM by modified AppleIntelE1000E.kext

Wireless not working (Advanced Centrino N-6205)

Nvidia Quadro 1000M working in native resolution but feels laggy (reported as unknown)

Using GraphicsEnabler = Yes


Can someone tell me what to send in so an expert can recompile the clean source dsdt ?

Because I tried to use the new auto patcher but i can't compile the original clean source dsdt.


I saw a "runme" attachment in the past made by mald0n to collect all specific information of the system. I think the system needs to be adjusted by dsdt because there is some lag (IRQ's) and also USB issues.


Enourmus thx in advance !

Link to comment
Share on other sites

Please read this http://Olarila.com/forum/viewtopic.php?f=23&t=602&p=5713#p5713


The patches are here http://Olarila.com/Patches/


You can look patches for other laptops with the same chipset here http://Olarila.com/forum/viewtopic.php?f=22&t=385


Use DSDT editor and copy/paste errors from compile window http://Olarila.com/forum/viewtopic.php?f=19&t=62


The laggy video may be about AppleGraphicsPowerManagement.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

......The laggy video may be about AppleGraphicsPowerManagement.

 

Well that seems to be a good approach.

But now I have to dig into the compile errors ... and I'm totally noob at this point.


I Did this:


Extract the HP8560W.DSL from DSDT editor in windows,

Loaded that .DSL file into the DSDT editor in OSX,

I loaded the patch you mentioned on the page with all possible patches (laptops etc) "HP DV6T sandy bridge" ... did a preview lot of adjustments seen so I applied the patch.


When I want to recompile I got 8 errors 4 warnings 2 remarks and 4279 Optimizations


But I think its a better way to stay away of other "unknown" laptops because there is other hardware in. When I load in the fresh dsdt.dsl in the DSDT editor I choose compile also lot of errors.


Attached my virgin clean extracted dsdt.dsl from windows. Maybe an expert can adjust the errors in a minute...

hp8560w.dsl.zip

Link to comment
Share on other sites

Sorry, no idea on how to fix these errors

Method (WGDD, 0, NotSerialized)
{
   Store ("GetDisplayDevices", Debug)
   Store (VGDD, 0x01)
[color=#FF0000]Local1[/color]
   If (LEqual (Local1, 0xFFFF))
   {
       Return (Package (0x02)
       {
           0x04, 
           0x00
       })
   }
   Else
   {
       And (Local1, 0x1F, Local2)
       If (And (Local1, 0xFFE0))
       {
           Or (Local2, 0x20, Local2)
       }
       Store (Package (0x03)
           {
               0x00, 
               0x04, 
               Buffer (0x04) {}
           }, Local0)
       Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x00))
       Store (0x01, Index (DerefOf (Index (Local0, 0x02)), 0x01))
       Store (0x01, Index (DerefOf (Index (Local0, 0x02)), 0x02))
       Return (Local0)
   }
}

Method (WSDD, 1, NotSerialized)
{
   Store ("SETDisplayDevices", Debug)
   Store (Arg0, Debug)
   And (Arg0, 0x1F, Local0)
   If (And (Arg0, 0x20))
   {
       And (WDST, 0xFFE0, Local1)
       If (FindSetRightBit (Local1, Local2))
       {
           ShiftLeft (0x01, Decrement (Local2), Local3)
           Or (Local0, Local3, Local0)
       }
   }
   Store (Local0, Debug)
   Store (WDPE, Debug)
   If (LEqual (VSDD, Local0))
   {
[color=#FF0000]0xFFFF[/color]
       Return (Package (0x02)
       {
           0x04, 
           0x00
       })
   }
   Else
   {
       Return (Package (0x02)
       {
           0x00, 
           0x00
       })
   }
}

Method (HKFR, 0, NotSerialized)
{
   Store ("HotkeyFunctionResponse", Debug)
   Store (Package (0x03)
       {
           0x00, 
           0x04, 
           Buffer (0x04) {}
       }, Local0)
   Store (ASMB, Local2)
   Store (DerefOf (Index (Local2, 0x00)), Local1)
   If (LEqual (Local1, 0x0D))
   {
       Store (0x31, Index (DerefOf (Index (Local0, 0x02)), 0x00))
       Store (0x01, Index (DerefOf (Index (Local0, 0x02)), 0x01))
   }
   If (LEqual (Local1, 0x04))
   {
       Store ("VideoGetDisplayDevices enter", Debug)
[color=#FF0000]VGDD
       0x00[/color]
       Store (0xAE, Index (DerefOf (Index (Local0, 0x02)), 0x00))
       Store (0x01, Index (DerefOf (Index (Local0, 0x02)), 0x01))
       Store (FUF4 (WDGN), Local3)
       Store (FUF4 (WDSA), Local4)
       Store (Local3, Index (DerefOf (Index (Local0, 0x02)), 0x02))
       Store (Local4, Index (DerefOf (Index (Local0, 0x02)), 0x03))
       Store ("Next Display devices variable", Debug)
       Store (WDGN, Debug)
       Store ("Current active Display Devices Variable", Debug)
       Store (WDSA, Debug)
       Store ("VideoGetDisplayDevices exit", Debug)
   }
   If (LEqual (Local1, 0x08))
   {
       Store (0x9E, Index (DerefOf (Index (Local0, 0x02)), 0x00))
       Store (0x01, Index (DerefOf (Index (Local0, 0x02)), 0x01))
   }
   If (LOr (LEqual (Local1, 0x09), LEqual (Local1, 0x0A)))
   {
       If (LEqual (Local1, 0x09))
       {
           Store (0x09, Local1)
       }
       Else
       {
           If (LEqual (Local1, 0x0A))
           {
               Store (0x0A, Local1)
           }
       }
       \_GPE.VBRE (Local1)
       Add (0xAD, Local1, Index (DerefOf (Index (Local0, 0x02)), 0x00
           ))
       Store (0x01, Index (DerefOf (Index (Local0, 0x02)), 0x01))
       If (And (WDPE, 0x40))
       {
           Wait (\_SB.BEVT, 0x10)
       }
       Store (BRID, Index (DerefOf (Index (Local0, 0x02)), 0x02))
       Store (DerefOf (Index (Local2, 0x03)), Index (DerefOf (Index (Local0, 
           0x02)), 0x03))
   }
   If (LEqual (Local1, 0x0B))
   {
       If (ALSF)
       {
           Store (0xA9, Index (DerefOf (Index (Local0, 0x02)), 0x00))
           Store (0x01, Index (DerefOf (Index (Local0, 0x02)), 0x01))
           If (LNot (And (GPL0, 0x00020000)))
           {
               Store (0x01, Index (DerefOf (Index (Local0, 0x02)), 0x02))
           }
       }
   }
   Return (Local0)
}

 

Just guessing

dsdt.aml.zip

 

You can try a newer IASL, maybe you don't get these errors on decompile.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Ow man that's quick!


The system loads the corrected aml file so I think this is a good starting point,

Can you apply the sandy bridge notebook fixes to this corrected dsdt file ?

When I patch several things with my original dsdt my dsdt is getting smaller and smaller. Started with 25000 lines of code. When I did all sandy bridge laptop patches it ends up with 1800 lines so something goes wrong ...


I don't think the laggy video card is caused by the AGPM because the IRQ's are not fixed. Everything feels laggy. When I choose update iTunes (128MB crashes first time 2nd time ok complaints about data corruption)


Status:


Nvidia Quadro Videocard is running native terrible slow with Cinebench but it works

Card is reported as 0x0dfa10de "unknown" but cinebench knows that its a Quadro 1000M

Added 0x0dfa10de&0x00000000 to info.plist of NVDAGF100Hal.kext but is this the good Nvidia Kext because there are more NVDAxxxx kexts?


Network is working with AppleIntelE1000E.kext

Wifi with USB wifi dongle Sitecom thing

Sound works with VoodooHDA

Touchpad not working

CPU running at 800Mhz instead of 2Ghz

Link to comment
Share on other sites

You don't have to apply all the patches, read the first link in my first reply.


Which one causes the file to be truncated?

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Sorry that I'll came back a little later. After Trial and Error I think the DSDT editor / patcher is a great thing.

A patch takes a little while even on a Corei7 Sandy. That was the reason that my DSDT was truncated. You have to load the DSDT and after that you load in the first patch. The complexity of the patch determines how long it takes it is applied to your DSDT. You can see it on the right bottom of the editor. When finished the circle stops turning around.


This said I have used the IRQ fix on your corrected DSDT. Also I found in the 0.6 autpatcher of Maldon a HP DV6 Sandybridge patch file. I applied this too (complete different system) but it was accepted and in the preview I saw a lot of things to be corrected. One thing what is working now with the HP DV6 patch is sleep. Also speedstep is working (according SMC monitoring is reporting wrong values but they change under load)


The one last really annoying thing is the mouse lag. I have a mouse lag (actually its a mouse bump / jump problem)


I think it has something to do with a wrong IRQ patch / USB problem (USBBusFix=Yes) I have also 2 USB 3 ports (unable to disable) . I also tried removing AppleUpstreamClient but it didn't help. I also adjusted AppleGraphicsPowerManagement enabled / disabled by injecting video card properties.


System is performing marvelous (Geekbench 9950 64bit / Cinebench GPU 27.3 fps / CPU 5,03) but that mouse jumping is annoying.

Link to comment
Share on other sites

In AGPM, try to set the 4th value of both Threshold_High and Threshold_Low as 100, so it never engages state 3.


Example:

Threshold_High

57
70
88
[color=#FF0000]100[/color]

Threshold_Low

0
68
75
[color=#FF0000]100[/color]

I have this problem in my laptop, when it switches between states 2 and 3 I have a mouse lag.


About wrong values in SMC Monitor, check if FSB in Chameleon is right (bdmesg).

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Thanks a lot that helped:


I have now:

 

<key>MacBookPro8,2</key>
		<dict>
.... removed IGP section.....
			<key>Vendor10deDevice0dfa</key> <---Quadro 1000M id>
			<dict>
				<key>Heuristic</key>
				<dict>
					.....ld_High</key>
					<array>
						<integer>88</integer>
						<integer>88</integer>
						<integer>88</integer>
						<integer>100</integer>
					</array>
					<key>Threshold_Low</key>
					<array>
						<integer>0</integer>
						<integer>95</integer>
						<integer>95</integer>
						<integer>100</integer>
					</array>
				</dict>

 

I removed the IGP section, My values are they good ? You have lower values 57-70-88-100 and 0-68-75-100. Doe it mean that your settings are better power safe or are my settings better for power safe ?


I also got this message with DSDT editor while compiling the HP DV6 patch of Autopatcher 0.6 "object does not exist (\_SB.PWRB)", found the line, removed the line and after that it compiled.

 

Method (_L0D, 0, NotSerialized)
       {
           If (\_SB.PCI0.EHC1.PMES)
           {
               Store (One, \_SB.PCI0.EHC1.PMES)
               Notify (\_SB.PCI0.EHC1, 0x02)
           }
           If (\_SB.PCI0.EHC2.PMES)
           {
               Store (One, \_SB.PCI0.EHC2.PMES)
               Notify (\_SB.PCI0.EHC2, 0x02)
           }
           If (\_SB.PCI0.HDEF.PMES)
           {
               Store (One, \_SB.PCI0.HDEF.PMES)
               Notify (\_SB.PCI0.HDEF, 0x02)
           }
           Notify (\_SB.PCI0.LANC, 0x02)
          [b]Notify (\_SB.PWRB...... <- it was here so I removed [/b]

Link to comment
Share on other sites

I didn't test many values, just copied the ones from MacBookPro6,2 which is the model I use, and changed the last value in Threshold_Low to avoid mouse lag.


I see you copied thresholds from a MacPro, I would copy from a MacBookPro instead.


Check the legacy I use, it's attached to this post http://Olarila.com/forum/viewtopic.php?f=3&t=629

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...