Contribute
Register

[solved] Get trouble when inject Audio layout-id via "hotpatch"

Status
Not open for further replies.
Joined
Dec 10, 2016
Messages
143
Motherboard
Dell Inspiron 7559-1.0.1-Clover
CPU
i5-6300HQ
Graphics
HD 530 GTX 960M,1920x1080
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hi,guys
I make my Realtek256 audio work on Dell 7559(OS is 10.13.3) by using AppleALC.kext,but it can only work when I inject layout-id "3" in Clover. It lost audio device in system if I change to use "hotpatch" method——remove the layout-id in clover config.plist,then inject it by SSDT-HDEF.aml and SSDT-RMCF.aml. The purpose here is about change all patched into "hotpatch" I attach the "Problem Reporting" files and expect your help.
Thanks.
audio.png
 

Attachments

  • crackself’s MacBook Pro.zip
    609.7 KB · Views: 50
  • CLOVER.zip
    7.6 MB · Views: 91
  • terminal_output.txt
    4.2 KB · Views: 195
  • RehabMan.zip
    59.8 KB · Views: 45
Hi,guys
I make my Realtek256 audio work on Dell 7559(OS is 10.13.3) by using AppleALC.kext,but it can only work when I inject layout-id "3" in Clover. It lost audio device in system if I change to use "hotpatch" method——remove the layout-id in clover config.plist,then inject it by SSDT-HDEF.aml and SSDT-RMCF.aml. The purpose here is about change all patched into "hotpatch" I attach the "Problem Reporting" files and expect your help.
Thanks.
View attachment 322015

Your mistake is obvious if you try to disassemble your patchmatic output: iasl -da -dl *.aml
Multiple definitions of HDEF:
Code:
ACPI Error: [HDEF] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20161210/psobject-310)
 
Your mistake is obvious if you try to disassemble your patchmatic output: iasl -da -dl *.aml
Multiple definitions of HDEF:
Code:
ACPI Error: [HDEF] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20161210/psobject-310)
Thanks RehabMan.Problem solved,it have noticed in SSDT-HDEF.dsl
// Note: If your ACPI set (DSDT+SSDTs) does not define HDEF (or AZAL or HDAS)
// add this Device definition (by uncommenting it)
//
//Device(_SB.PCI0.HDEF)
//{
// Name(_ADR, 0x001b0000)
// Name(_PRW, Package() { 0x0d, 0x05 }) // may need tweaking (or not needed)
//}
I make a wrong understanding of that.
 
Status
Not open for further replies.
Back
Top