Jump to content
vit9696

AppleALC — dynamic AppleHDA patching

4,856 posts in this topic

Recommended Posts

21 hours ago, Denisuu said:

 

I was too fast with saying that it works, the internal speakers don't work. I didn't notice since I always have external speakers connected through AUX.

My internal speakers do show up, but no sound. Audio over AUX, HDMI, USB-C > HDMI and microphone all work.

 

I tried reverting back to the custom 1.3.3 attached to the previous post and changing Layout-ID back to 3, that didn't bring sound back either. (Internal speakers still work in Windows)

I remember I had this problem in the past, I solved it by updating my kext cache and a reboot but that doesn't work this time. (I did make a CloneZilla backup I could revert to worst case scenario)

 

Any idea why it stopped working?

Screenshot 2019-12-29 at 20.14.29 1.png


Try to shutdown your notebook, after that turn on again and check your audio

Share this post


Link to post
Share on other sites
Advertisement

Cant seem to get sound working with my system. The device is never detected. I am using OpenCore for booting. (Clover with similar configuration also doesn't work). I have attached the EFI folder for reference. If you look at the kextstat output you will notice that there is no AppleHDAController.kext loaded. In case of Clover, the AppleHDAController loads up but there is still no device. I have attached the gen_debug output.

1. Laptop model/Motherboard model: HP Pavilion x360 14-dh1351ng
2. Codec name: ALC295
3. Layout used with the info what works for you (ideally if you try them all): Have tried all available layouts. Nothing works.
4. OS X versions you tried: Catalina
5. Autogenerated Info.plist made with the help of 
this utility. (Got ERROR 404 on that link)

debug_23510.zip -> AppleALC 1.4.2

EFI.zip

debug_13033.zip -> AppleALC 1.4.4

Edited by therealarik
added debug files for latest AppleALC

Share this post


Link to post
Share on other sites
On 12/29/2019 at 12:39 PM, fewtarius said:

Howdy!  I'm working on a Lenovo Yoga C740 laptop and I'm having trouble with custom layouts.  I think I might need to add a controller since it's a Comet Lake machine but I'm not sure.  Here is all of the data I have available if you could provide a bit of guidance that would be incredibly helpful.

 

The report is meant to contain:

1. Laptop model/Motherboard model

 

Lenovo Yoga C740 (i5-10210u Comet Lake)


2. Codec name

 

ALC285


3. Layout used with the info what works for you (ideally if you try them all)

 

I've tried them all (11, 21, 31)


4. OS X versions you tried

 

Catalina 10.15.2


5. Autogenerated Info.plist made with the help of this utility.

 

I'm still unable to download this for whatever reason.

 

Audio Controller:

 


00:1f.3 Multimedia audio controller: Intel Corporation Device 02c8
	Subsystem: Lenovo Device 3803
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 32, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 149
	Region 0: Memory at b121c000 (64-bit, non-prefetchable) [size=16K]
	Region 4: Memory at b1000000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl, sof_pci_dev

PCI Dump (Linux):

  Reveal hidden contents
 
 
 
 
Spoiler


00:00.0 Host bridge: Intel Corporation Device 9b61 (rev 0c)
	Subsystem: Lenovo Device 380a
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: <access denied>

00:02.0 VGA compatible controller: Intel Corporation Device 9b41 (rev 02) (prog-if 00 [VGA controller])
	Subsystem: Lenovo Device 3f12
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 146
	Region 0: Memory at b0000000 (64-bit, non-prefetchable) [size=16M]
	Region 2: Memory at a0000000 (64-bit, prefetchable) [size=256M]
	Region 4: I/O ports at 3000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
	Subsystem: Lenovo Device 3832
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at b1210000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: <access denied>
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device

00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
	Subsystem: Lenovo Device 3869
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 255
	Region 0: Memory at b1226000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>

00:12.0 Signal processing controller: Intel Corporation Device 02f9
	Subsystem: Lenovo Device 3804
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 255
	Region 0: Memory at b1227000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>

00:13.0 Serial controller: Intel Corporation Device 02fc (prog-if 00 [8250])
	Subsystem: Lenovo Device 3804
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 20
	Region 0: Memory at b1220000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: intel_ish_ipc
	Kernel modules: intel_ish_ipc

00:14.0 USB controller: Intel Corporation Device 02ed (prog-if 30 [XHCI])
	Subsystem: Lenovo Device 380a
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 124
	Region 0: Memory at b1200000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

00:14.2 RAM memory: Intel Corporation Device 02ef
	Subsystem: Lenovo Device 3805
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Region 0: Memory at b1222000 (64-bit, non-prefetchable) [size=8K]
	Region 2: Memory at b1228000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>

00:14.3 Network controller: Intel Corporation Device 02f0
	Subsystem: Intel Corporation Device 0034
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at b1218000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

00:15.0 Serial bus controller [0c80]: Intel Corporation Device 02e8
	Subsystem: Lenovo Device 3807
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: [virtual] Memory at 9b800000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:15.1 Serial bus controller [0c80]: Intel Corporation Device 02e9
	Subsystem: Lenovo Device 3802
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin B routed to IRQ 17
	Region 0: [virtual] Memory at 9b801000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation Device 02e0
	Subsystem: Lenovo Device 3803
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 134
	Region 0: Memory at b122b000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Device 02d3 (prog-if 01 [AHCI 1.0])
	Subsystem: Lenovo Device 3802
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 123
	Region 0: Memory at b1224000 (32-bit, non-prefetchable) [size=8K]
	Region 1: Memory at b1231000 (32-bit, non-prefetchable) [size=256]
	Region 2: I/O ports at 3080 [size=8]
	Region 3: I/O ports at 3088 [size=4]
	Region 4: I/O ports at 3060 [size=32]
	Region 5: Memory at b1230000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:19.0 Serial bus controller [0c80]: Intel Corporation Device 02c5
	Subsystem: Lenovo Device 3802
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 32
	Region 0: Memory at 9b802000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:19.2 Communication controller: Intel Corporation Device 02c7
	Subsystem: Lenovo Device 3801
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin C routed to IRQ 34
	Region 0: [virtual] Memory at b122d000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:1d.0 PCI bridge: Intel Corporation Device 02b4 (rev f0) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 122
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000f000-00000fff [empty]
	Memory behind bridge: b1100000-b11fffff [size=1M]
	Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [empty]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Device 0284
	Subsystem: Lenovo Device 3802
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:1f.3 Multimedia audio controller: Intel Corporation Device 02c8
	Subsystem: Lenovo Device 3803
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 32, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 149
	Region 0: Memory at b121c000 (64-bit, non-prefetchable) [size=16K]
	Region 4: Memory at b1000000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl, sof_pci_dev

00:1f.4 SMBus: Intel Corporation Device 02a3
	Subsystem: Lenovo Device 3803
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at b122e000 (64-bit, non-prefetchable) [size=256]
	Region 4: I/O ports at 3040 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 02a4
	Subsystem: Lenovo Device 3804
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: Memory at fe010000 (32-bit, non-prefetchable) [size=4K]

01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 (prog-if 02 [NVM Express])
	Subsystem: Samsung Electronics Co Ltd Device a801
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	NUMA node: 0
	Region 0: Memory at b1100000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: nvme
	Kernel modules: nvme

 

 

Codec Data (Linux):

 

  Reveal hidden contents
 
 
 
 
Spoiler


Codec: Realtek ALC285
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0285
Subsystem Id: 0x17aa3818
Revision Id: 0x100002
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 D3cold CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x3c 0x3c]
  Converter: stream=0, channel=0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC285 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x00 0x00]
  Converter: stream=0, channel=0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC285 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x27 0x27]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0d [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40000000: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010014: OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x02
Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x02* 0x03 0x06
Node 0x18 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x19 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00003724: IN Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x04a11040: [Jack] Mic at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00003724: IN Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00013734: IN OUT EAPD Detect
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40600001: [N/A] Modem Line at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0x0, Sequence = 0x1
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400501: Stereo
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=142
Node 0x21 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x04211020: [Jack] HP Out at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x02 0x03*
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 5
     0x19 0x1a 0x1b 0x1d 0x13
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 5
     0x19 0x1a 0x1b 0x1d 0x12
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x12* 0x13 0x18

 

 

Text files of above + IOReg data attached (I'm using version 3.0.3).

 

Thanks again for any guidance you can provide!
 

Lenovo C740.zip

 

Just to add a bit of information to this, it looks like it's identified as a Intel 400 Series controller hub in Windows device manager.

Share this post


Link to post
Share on other sites

I updated my AppleALC using the Hackintool from version 1.4.1 to 1.4.4  and the audio despite showing the volume up and down display, the sound would not work.

I downgraded back to version 1.4.1 and the audio works fine again.

I'm using a HP Pavilion 14"laptop with Realtek ALC295, Layout ID 28 . The controller says it is Sunrise Port-LP HD Audio, vendor: Realtek (0x10EC), Codec: Realtek ALC295 (0x0295), Min Kernel 13, max kernel 15.


Hope this info is helpful to someone!

Screenshot 2019-12-31 at 18.01.29.png

Edited by sluisga
screenshot added

Share this post


Link to post
Share on other sites
5 hours ago, fewtarius said:

 

Just to add a bit of information to this, it looks like it's identified as a Intel 400 Series controller hub in Windows device manager.

 

I was able to add the 400 series controller (see PR 490) and using layout 11 I can see the codec, and it gives the appearance of working but there's no audio in or out via any combination of speakers/headphones/mic.  Comparing my codec dump to the layouts, it looks like 11 would be correct.  I have the usual IRQ fixes etc in config.plist as well.  I used codecgrapher to visualize the codec dump and it looks correct but I'm obviously missing something.  Any advice would be most appreciated.

 

1442080523_ScreenShot2019-12-31at7_54_55AM.thumb.png.1ccfd5ce9aed5e4f638c7f8eb024e189.png

 

Zip with screenshots, codec dump, and codec graph attached.

 

Thanks!

C740-LAYOUT11.zip

Share this post


Link to post
Share on other sites
Posted (edited)
16 hours ago, fewtarius said:

 

I was able to add the 400 series controller (see PR 490) and using layout 11 I can see the codec, and it gives the appearance of working but there's no audio in or out via any combination of speakers/headphones/mic.  Comparing my codec dump to the layouts, it looks like 11 would be correct.  I have the usual IRQ fixes etc in config.plist as well.  I used codecgrapher to visualize the codec dump and it looks correct but I'm obviously missing something.  Any advice would be most appreciated.

 

1442080523_ScreenShot2019-12-31at7_54_55AM.thumb.png.1ccfd5ce9aed5e4f638c7f8eb024e189.png

 

Zip with screenshots, codec dump, and codec graph attached.

 

Thanks!

C740-LAYOUT11.zip


Thanks for the heads up on this. I compiled from your PR and device was recognized. But did you also notice the internal mic seemed to work properly? At least it can pick up something when I speak and I can see the Input Level bar moving. The only difference for me is that DPCIManager shows Realtek (Codec Unknown) although I don't know if that matters. and I am yet to make a codec dump on linux.


image.png.60f08fa22e59f07cad3643daf58910ee.png

Edited by therealarik

Share this post


Link to post
Share on other sites
Posted (edited)
On 12/30/2019 at 5:44 PM, Andres ZeroCross said:


Try to shutdown your notebook, after that turn on again and check your audio

 

I had 2 custom kexts (1.3.2 by u/overnightmare and 1.3.3 by xdevillived666). I reverted back to the oldest one by u/Overnightmare and changed my Layout-ID to 3 and internal speakers are working again.

 

The debug I attached contains the working custom AppleALC 1.3.2 kext for the ASUS Vivobook N580VD, can I extract the information I need from this to make 1.4.5 work or do I need to make a new codec dump in Linux?

 

debug_16417.zip

Edited by Denisuu

Share this post


Link to post
Share on other sites
 
Ok so I had 2 custom kexts (1.3.2 by u/overnightmare and 1.3.3 by xdevillived666). I reverted back to the oldest one by u/Overnightmare and changed my Layout-ID to 3 and internal speakers are working again.
The debug I attached contains the working custom AppleALC 1.3.2 kext for the ASUS Vivobook N580VD, can I extract the information I need from this to make 1.4.5 work or do I need to make a new codec dump in Linux?
 
debug_16417.zip



Now try using layoutid = 21.

Prebuilt custom applealc is useless,


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites
Just now, Andres ZeroCross said:

 

 


Now try using layoutid = 21.

Prebuilt custom applealc is useless,


Sent from my iPhone using Tapatalk

 

 

 

If I use custom 1.3.2 everything works with Layout-ID 3, no devices are found when using Layout-ID 21.

When I use the official 1.4.4 release I have to use Layout-ID 21 or no devices are found, but internal speakers don't work.

 

Should I make a debug dump on both the check the differences?

Share this post


Link to post
Share on other sites
 
If I use custom 1.3.2 everything works with Layout-ID 3, no devices are found when using Layout-ID 21.
When I use the official 1.4.4 release I have to use Layout-ID 21 or no devices are found, but internal speakers don't work.
 
Should I make a debug dump on both the check the differences?

If you need help, then you must upload your codec dump from linux


Sent from my iPhone using Tapatalk
 
If I use custom 1.3.2 everything works with Layout-ID 3, no devices are found when using Layout-ID 21.
When I use the official 1.4.4 release I have to use Layout-ID 21 or no devices are found, but internal speakers don't work.
 
Should I make a debug dump on both the check the differences?

If you need help, then you must upload your codec dump from linux


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites
9 hours ago, Andres ZeroCross said:

If you need help, then you must upload your codec dump from linux

 

Ok the codec dump is in the attachment. Is there a good guide on what to do next?

N580VDCodecDump.zip

Share this post


Link to post
Share on other sites
Posted (edited)
On 1/1/2020 at 2:08 PM, Andres ZeroCross said:

 

Can you help me correct the sound please

alc294 asus ux433fa Intel WhiskeyLake

 

I need a personal Command to CodecCommander.kext for ALC294

codec_dump.txt

Edited by khalidthami

Share this post


Link to post
Share on other sites
7 hours ago, khalidthami said:

Can you help me correct the sound please

alc294 asus ux433fa Intel WhiskeyLake

 

I need a personal Command to CodecCommander.kext for ALC294

codec_dump.txt

 

Download CodecCommander.kext from Rehabman BitBucker, put it in Library/Extensions not System/Library/Extensions. Then put this SSDT-ALC294.aml to EFI/CLOVER/ACPI/Patched then rebuild kext cache and permissions, then reboot. Your audio should work

SSDT-ALC294.aml

Share this post


Link to post
Share on other sites
Posted (edited)
On 1/2/2020 at 5:46 AM, Denisuu said:

 

Ok the codec dump is in the attachment. Is there a good guide on what to do next?

N580VDCodecDump.zip


I have checked your codec_dump. Your internal speaker node is is 0x1D (29 Decimal). You must use layoutID = 21. Btw, what's your notebook model??

Edited by Andres ZeroCross

Share this post


Link to post
Share on other sites
On 12/31/2019 at 6:22 PM, therealarik said:

Cant seem to get sound working with my system. The device is never detected. I am using OpenCore for booting. (Clover with similar configuration also doesn't work). I have attached the EFI folder for reference. If you look at the kextstat output you will notice that there is no AppleHDAController.kext loaded. In case of Clover, the AppleHDAController loads up but there is still no device. I have attached the gen_debug output.

1. Laptop model/Motherboard model: HP Pavilion x360 14-dh1351ng
2. Codec name: ALC295
3. Layout used with the info what works for you (ideally if you try them all): Have tried all available layouts. Nothing works.
4. OS X versions you tried: Catalina
5. Autogenerated Info.plist made with the help of 
this utility. (Got ERROR 404 on that link)

debug_23510.zip -> AppleALC 1.4.2

EFI.zip

debug_13033.zip -> AppleALC 1.4.4


You should upload IOREG output,, use layoutID = 1 and upload IOREG Ouput. Use IOREGExplorer v2.1

Share this post


Link to post
Share on other sites
Posted (edited)
6 hours ago, Andres ZeroCross said:


You should upload IOREG output,, use layoutID = 1 and upload IOREG Ouput. Use IOREGExplorer v2.1

Both the debug zips had ioreg. (maybe with different layout ids) Uploaded ioreg for layout-id 1. Also attached the codec dumps.


Although didn't get much time look into anything yet.

codec_dump2.txt

codec_dump0.txt

ioreg_layout_1.ioreg

NOTE: This ioreg is when the device is detected with the Comet Lake PR490 applied.

Edited by therealarik
clarification

Share this post


Link to post
Share on other sites
9 hours ago, Andres ZeroCross said:


I have checked your codec_dump. Your internal speaker node is is 0x1D (29 Decimal). You must use layoutID = 21. Btw, what's your notebook model??

 

It's working! I tried layoutID=21 before but that didn't work... Maybe it's because I still had the -alcbeta parameter or because my kextcache wasn't updated properly.

I upgraded to Catalina I didn't realise 'sudo kextcache -i /' doesn't work anymore, I used Hackintool to update my kextcache and it works!

 

Laptop model: ASUS N580VD-DB74T

 

Thanks mate!

Share this post


Link to post
Share on other sites
Posted (edited)
15 hours ago, therealarik said:

Both the debug zips had ioreg. (maybe with different layout ids) Uploaded ioreg for layout-id 1. Also attached the codec dumps.


Although didn't get much time look into anything yet.

codec_dump2.txt

codec_dump0.txt

ioreg_layout_1.ioreg

NOTE: This ioreg is when the device is detected with the Comet Lake PR490 applied.

Was able to take a look at the codec dumps today and noticed that the layout-id 13 perfectly matches my laptop, but I am still not getting any audio out of it. Installed CodecCommander as well but without any result. Will add debug info later.

debug_20613.zip

Edited by therealarik
added debug files

Share this post


Link to post
Share on other sites

@Andres ZeroCross, can you help me find out the best config for my audio ? Tried all layouts for my codec but sound form headphones is missing or missing when waking from sleep (layout 11). I use applealc 1.4.2 because with applealc 1.4.4 i lose HDMI audio.

 

1. Laptop model/Motherboard model: Dell 5570
2. Codec name: ALC256
3. Layout used with the info what works for you (ideally if you try them all): tried all.
4. OS X versions you tried: Catalina and High Sierra
5. Autogenerated Info.plist made with the help of 
this utility. (ERROR 404)

 

debug files (i cannot upload here a file bigger than 0,2mb) : https://mega.nz/#!PFI3USxQ!wHtE6lVPjOB5Um8ySlFsoKUyq77HEgzcKb5rhD5Cs-s

codec_dump.txt

codec_dump1.txt

Share this post


Link to post
Share on other sites

hello @vandroiy2012

 

I have a new codec.


ALC292 - LayoutID 15 (0F) for for LENOVO THINKPAD T450 - ManualMode

 

new_Resources_alc292.zip

 

Headphones do not work with other IDs.
Only with this configuration (headphones as LineOut and ManualMode) do both connections of the combination socket work.
Now all devices work internally and externally.

 

can you please added the new codec?
 
many thanks

Share this post


Link to post
Share on other sites
On 12/31/2019 at 1:20 PM, fewtarius said:

 

I was able to add the 400 series controller (see PR 490) and using layout 11 I can see the codec, and it gives the appearance of working but there's no audio in or out via any combination of speakers/headphones/mic.  Comparing my codec dump to the layouts, it looks like 11 would be correct.  I have the usual IRQ fixes etc in config.plist as well.  I used codecgrapher to visualize the codec dump and it looks correct but I'm obviously missing something.  Any advice would be most appreciated.

 

1442080523_ScreenShot2019-12-31at7_54_55AM.thumb.png.1ccfd5ce9aed5e4f638c7f8eb024e189.png

 

Zip with screenshots, codec dump, and codec graph attached.

 

Thanks!

C740-LAYOUT11.zip

 

Is there any documentation on how to properly create a new layout?  I'm wondering if the problem that I'm having with layout 11 is related to the pin configuration, but I can't seem to locate anything that describes how to generate one from a codec dump.

Share this post


Link to post
Share on other sites
22 hours ago, fewtarius said:

 

Is there any documentation on how to properly create a new layout?  I'm wondering if the problem that I'm having with layout 11 is related to the pin configuration, but I can't seem to locate anything that describes how to generate one from a codec dump.



take a look at https://github.com/F0x1c/AppleALC_Instructions

In my case, editing the PinConfiguration even didn't work. You might be able to find something. ( Haven't been able to look at the other parts due to Uni work :( )

Share this post


Link to post
Share on other sites

hi all, on my Dell XPS 9343 Catalina work well except i have no sounds when I wake up from sleep. I tested with alchda and Lilu or woodoo .I change on clover layout 3 or 13 or 23 same result no sound on speaker ,headphones and microphone work ok, when wake .I have to restart for sound work. 

1. Laptop model/Motherboard model: Dell XPS 9343
2. Codec name: ALC288
3. Layout used with the info what works for you 13 on use, 3 or 23
4. OS X versions you tried: Catalina 10.15.2

my config.plist IORegistry folder alc288 ALC288.zip

someone helps me

 

332873945_Schermata2020-01-10alle15_38_03.thumb.png.d7fa435235f17e2ca90951f5cbccc70d.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×