RehabMan
Moderator
- Joined
- May 2, 2012
- Messages
- 181,058
- Motherboard
- Intel DH67BL
- CPU
- i7-2600K
- Graphics
- HD 3000
- Mac
- Mobile Phone
Hey, RehabMan, I changed the layout-id to 13, according to your suggestion, I am at CX20724_HDEF.asl:
Code:// Mirone version #define LAYOUT_MIRONE 3 // InsanelyDeepak version #define LAYOUT_INSANELYDEEPAK 13 #define LAYOUTID 3 // inject properties for audio External(_SB.PCI0.HDEF, DeviceObj) Method(_SB.PCI0.HDEF._DSM, 4) { If (!Arg2) { Return (Buffer() { 0x13 } ) } Return(Package() { "layout-id", Buffer(4) { LAYOUTID, 0, 0, 0 }, "hda-gfx", Buffer() { "onboard-1" }, "PinConfigurations", Buffer() { }, "RM,disable_FakePCIID", 1, }) } // CodecCommander configuration Name(_SB.PCI0.HDEF.RMCF, Package() { "//CodecCommanderProbeInit", Package() { "Version", 0x020600, "14f1_50f4", Package() { "PinConfigDefault", Package() { Package(){}, Package() // alternate Mirone version { "LayoutID", LAYOUT_MIRONE, "PinConfigs", Package() { Package(){}, 0x16, 0x02211010, 0x17, 0x91170020, 0x19, 0x02811030, 0x1a, 0x90a60040, }, }, Package() // InsanelyDeepak version { "LayoutID", LAYOUT_INSANELYDEEPAK, "PinConfigs", Package() { Package(){}, 0x17, 0x91170110, 0x19, 0x048b1030, 0x1a, 0x95a00120, 0x1d, 0x042b1040, }, }, }, }, }, }) //EOF
Then execute ./build.sh, rebuild aml. Then execute install_acpi.sh, restart the cache and restart to find that the sound card is not able to drive properly. I can't confirm if I modified it correctly, I modify SSDT-8x0G3s.dsl:
Code:// SSDT for EliteBook 8x0 G3 (Skylake) DefinitionBlock("", "SSDT", 2, "hack", "_8x0G3s", 0) { #define OVERRIDE_XPEE 1 #include "SSDT-RMCF.asl" #include "SSDT-RP05_PEGP_RDSS.asl" #include "SSDT-HACK.asl" #include "include/disable_HECI.asl" #include "include/key86_PS2K.asl" #include "SSDT-KEY102.asl" #include "SSDT-USB-8x0-G3.asl" #include "SSDT-XHC.asl" #include "SSDT-BATT-G4.asl" //REVIEW: using SSDT-BATT-G4 instead of SSDT-BATT-G3 #include "SSDT-USBX.asl" #include "SSDT-USWE.asl" } //EOF
Deleted CX20724_HDEF.asl, after rebuilding aml, in config.plist/Devices/Audio/inject=13, then restart the computer. After the test, the speaker and headphone sounds working normally. I can confirm that the layout-id of the 840g3 sound card cx20724 is working properly. 13, I will give you this result and attach my ioreg file, thank you again.
Audio layout-id injection is done by way of SSDT in this guide, not config.plist.
Please follow as written (easy to change the layout-id in the .asl).
If you have an issue, attach PR files, as per FAQ.