Administrators Hervé Posted April 5, 2016 Administrators Share Posted April 5, 2016 Do you use a SSD or HDD? If SSD, did you activate Trim? It's probably safer not to... Enabling Trim also caused same systematic KP on my E6440 after basic upgrade to 10.11.4 through Apple menu (no Recovery or Thunderbolt update). Link to comment Share on other sites More sharing options...
Moderators Jake Lo Posted April 5, 2016 Moderators Share Posted April 5, 2016 thanks for that tip .. Well OSX 10.11.4 is running ok (i did not install the recovery update) .. sleep works, audio works when it wants too.. sometimes it will stay, sometimes its there briefly and then stops working. other times the Audio hardware is not detected.. Would editing DSDT or SSDT files to accomodate the audio be better then relying on kexts? Are you using your own DSDT/Config.plist? Also have not tried HDMI output yet .. just tried it.. none of the HDMI Audio outputs appear to work.. video is great tho I did a new install with 10.11.4, just replacing VoodooPS2Controller with ApplePS2Controller found in the Updates section. No issue with KP, audio and HDMI audio all working. Link to comment Share on other sites More sharing options...
Sorcerer Posted April 5, 2016 Author Share Posted April 5, 2016 Are you using your own DSDT/Config.plist?Yes using my DSDT and SSDT i created back when El Cap was first released.. (maybe needs an overhaul) Also using the config.plist from your bootpack. I did a new install with 10.11.4, just replacing VoodooPS2Controller with ApplePS2Controller found in the Updates section. No issue with KP, audio and HDMI audio all working. Hmm i may need to update the HDMI and Display Port kext files then (use the ones on the Vietnam tool perhaps). at the moment not overly concerned with HDMI audio.. Oh system does not freeze or crash when plugging in or removing HDMI so i am stoked about that,, it also detected the TV i plugged it in to so again pleasantly surprised. r.e. trim support.. most modern SSD's i.e. the Samsung eve series have their own internal Trim operations, that way OS does not need to be concerned about it. Not sure if the LITEON SSD that came with the Dell has internal Trim.. but hmm Link to comment Share on other sites More sharing options...
Moderators Jake Lo Posted April 5, 2016 Moderators Share Posted April 5, 2016 No need to use the VietnamTool for HDMI, it's already patched in my Config file. Trim is also enabled in the Config, so no need to use the command Trimforce. Link to comment Share on other sites More sharing options...
Sorcerer Posted April 5, 2016 Author Share Posted April 5, 2016 Hmm not overly concerned about trim. Ok so why would HDMI audio not be working for me ??? Link to comment Share on other sites More sharing options...
Moderators Jake Lo Posted April 5, 2016 Moderators Share Posted April 5, 2016 Issue could be with your custom DSDT. Did you patch it for HDMI audio ( renaming B0D3 to HDAU) and adding _dsm? Link to comment Share on other sites More sharing options...
Sorcerer Posted April 5, 2016 Author Share Posted April 5, 2016 Honestly i can not remember.. it was patched almost 12 months ago when 10.11 first came out. so likely not as i used the Yosemite guide to patch it.. which was outdated at the time.. However i did make a fresh dump from clover last night. so if need be i can patch it.. is a guide available for 10.11.x? Link to comment Share on other sites More sharing options...
Moderators Jake Lo Posted April 5, 2016 Moderators Share Posted April 5, 2016 I assume you are taking about pokenguyen's Yosemite guide? Patch with this. Afterward do a search for B0D3 and rename all to HDAU. Save file # for HDMI audio into method label _WAK code_regex B0D3 replaceall_matched begin HDAU end; into definitionblock code_regex B0D3 replaceall_matched begin HDAU end; # inject "hda-gfx"="onboard-1" into HDAU (B0D3 originally) into method label _DSM parent_adr 0x00030000 remove_entry; into device name_adr 0x00030000 insert begin Method (_DSM, 4, NotSerialized)\n {\n If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n Return (Package()\n {\n "layout-id", Buffer() { 12, 0x00, 0x00, 0x00 },\n "hda-gfx", Buffer() { "onboard-1" },\n })\n }\n end; into device label B0D3 set_label begin HDAU end; into method label SBCB code_regex B0D3 replaceall_matched begin HDAU end; Link to comment Share on other sites More sharing options...
Administrators Hervé Posted April 5, 2016 Administrators Share Posted April 5, 2016 HDMI audio will work with: 1) patched AppleHDA kext 2) DSDT patch For patched AppleHDA kext, you can use either the attached 10.11.4 patched kext (replace the vanilla AppleHDA kext in /S/L/E) or use the HVT ALC292 patch, then repair permissions + rebuild cache. Patched_AppleHDA_ALC292.kext.zip sudo chmod -Rf 755 /S*/L*/E* sudo chown -Rf 0:0 /S*/L*/E* sudo touch -f /S*/L*/E* sudo kextcache -Boot -U / ` For DSDT Patch, check that your DSDT is set as follows: Device (HDEF) { Method (_DSM, 4, Serialized) { If (LEqual (Arg2, Zero)) { Return (Buffer (One) { 0x03 }) } Return (Package (0x10) { "layout-id", // specific to HDEF for patched AppleHDA Buffer (0x04) // specific to HDEF for patched AppleHDA { // specific to HDEF for patched AppleHDA 0x01, 0x00, 0x00, 0x00 // specific to HDEF for patched AppleHDA }, // specific to HDEF for patched AppleHDA "AAPL,clock-id", Buffer (One) { 0x01 }, "built-in", Buffer (One) { 0x00 }, "AAPL,current-available", 0x0834, "AAPL,current-extra", 0x0898, "AAPL,current-extra-in-sleep", 0x0640, "AAPL,device-internal", 0x02, "AAPL,max-port-current-in-sleep", 0x0834 }) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } and Device (HDAU) { Name (_ADR, 0x00030000) Name (BARA, 0x80000000) Name (TBAR, Zero) Name (TCMD, Zero) Name (MODB, Zero) Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "hda-gfx", Buffer (0x0A) { "onboard-1" } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Link to comment Share on other sites More sharing options...
Sorcerer Posted April 5, 2016 Author Share Posted April 5, 2016 I assume you are taking about pokenguyen's Yosemite guide? Patch with this. Afterward do a search for B0D3 and rename all to HDAU. Save file # for HDMI audio into method label _WAK code_regex B0D3 replaceall_matched begin HDAU end; into definitionblock code_regex B0D3 replaceall_matched begin HDAU end; # inject "hda-gfx"="onboard-1" into HDAU (B0D3 originally) into method label _DSM parent_adr 0x00030000 remove_entry; into device name_adr 0x00030000 insert begin Method (_DSM, 4, NotSerialized)\n {\n If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n Return (Package()\n {\n "layout-id", Buffer() { 12, 0x00, 0x00, 0x00 },\n "hda-gfx", Buffer() { "onboard-1" },\n })\n }\n end; into device label B0D3 set_label begin HDAU end; into method label SBCB code_regex B0D3 replaceall_matched begin HDAU end; Yes Pokenguyen's yosemite guide. do not have the time to sit down and go through the guide now, but i'll attempt it when i have a few hours to spare later on. Hopefully patching the DSDT will also fix the intermittent Audio issue (sometimes audio not working at all (no device detected) and sometime works then stops after about 4 seconds).. Link to comment Share on other sites More sharing options...
Recommended Posts