Need help with snd_hda

I installed FreeBSD 13.2 on a ThinkPad E15 gen 2 laptop together with pre-installed Windows 10 (double boot UEFI using rEFInd Boot Manager).

I have a strange problem with sound (the card is detected as Conexant (0x1f86) HDA CODEC). The card needs one boot into Windows to work correctly for some time. It means that if I boot to Windows - I can boot into FreeBSD (even after shutting down the laptop!!) for some time, and the sound works correctly. Then after one boot everything remains as before (I see the sound output in pulseaudio mixer), but I have no sound. This situation concerns the internal speakers only. The jack output works for the right channel only, I hear the noise only in the left channel. This situation is constant (does not matter boot into Windows).

I tried to dump the configuration it these two situations with the following commands:

Code:
sysctl hw.snd
sysctl dev.pcm
sysctl hw.snd.default_unit
sysctl dev.hdaa.0

...but there is no difference.

I've read several forum posts and man snd_hda but I still don't understand how can I debug this problem. BTW, I cannot find even a method to boot the driver in verbose mode. The nearest recommendation is in man snd_hda but it does not give me a real hints:

Some Hardware/OEM vendors tend to screw up BIOS settings or use custom unusual CODEC wiring that create problems to the driver. This may result in missing pcm devices, or a state where the snd_hda driver seems to attach and work, but no sound is played. Some cases can be solved by tuning loader.conf variables.

Please, help me or point me to some resource that can help me in debugs.
 
This is no FreeBSD issue.
It's a NID wiring thing, as you yourself noted in your bug report.

Lenovo is the culprit.
If you do not want to waste time with that garbage, because they screwed up the NID wiring matrix, return the laptop to Lenovo and get another one, preferably from a different manufacturer.
 
Lenovo is the culprit.
If you do not want to waste time with that garbage, because they screwed up the NID wiring matrix, return the laptop to Lenovo and get another one, preferably from a different manufacturer.

Lenovo is the leader on laptop market:
https://fortunly.com/articles/lap-top-market-share/
If FreeBSD cannot support even Lenovo laptops - we need to forget about FreeBSD on laptops completely.
Even if it is not really the problem of driver - it should be fixed in FreeBSD, like it was fixed in Linux.

As for me - I did not pay the laptop, it is the professional one, and the choice of manufacturer is completely out of my responsibility. And I would like to use the laptop under FreeBSD.

BTW, other manufacturer's laptops have the same problem:
https://github.com/thesofproject/linux/issues/3350

...but Linux guys fixed it.
 
As stated, it really looks like NID are not automatically setup correctly, it can happen and it's definitely not related to X or Y brand (got same issue on Realtek device).
Sysctl is very helpful to manually create the binds but it's time consuming and it's not sure it will work...
 
As stated, it really looks like NID are not automatically setup correctly, it can happen and it's definitely not related to X or Y brand (got same issue on Realtek device).
Sysctl is very helpful to manually create the binds but it's time consuming and it's not sure it will work...
Any detailed information about testing creation of the binds will be really appreciated ;)
 
I installed FreeBSD 13.2 on a ThinkPad E15 gen 2 laptop together with pre-installed Windows 10 (double boot UEFI using rEFInd Boot Manager).

I have a strange problem with sound (the card is detected as Conexant (0x1f86) HDA CODEC). The card needs one boot into Windows to work correctly for some time. It means that if I boot to Windows - I can boot into FreeBSD (even after shutting down the laptop!!) for some time, and the sound works correctly. Then after one boot everything remains as before (I see the sound output in pulseaudio mixer), but I have no sound. This situation concerns the internal speakers only. The jack output works for the right channel only, I hear the noise only in the left channel. This situation is constant (does not matter boot into Windows).

I tried to dump the configuration it these two situations with the following commands:

Code:
sysctl hw.snd
sysctl dev.pcm
sysctl hw.snd.default_unit
sysctl dev.hdaa.0

...but there is no difference.

I've read several forum posts and man snd_hda but I still don't understand how can I debug this problem. BTW, I cannot find even a method to boot the driver in verbose mode. The nearest recommendation is in man snd_hda but it does not give me a real hints:

Some Hardware/OEM vendors tend to screw up BIOS settings or use custom unusual CODEC wiring that create problems to the driver. This may result in missing pcm devices, or a state where the snd_hda driver seems to attach and work, but no sound is played. Some cases can be solved by tuning loader.conf variables.

Please, help me or point me to some resource that can help me in debugs.
I don't know the answer i'm a n00b to freebsd but cant you post some stuff?

1. Verbose boot then sudo dmesg |grep hda
2. cat /dev/sndstat
3. sysctl -a |grep hda

Step 3 is redundant but i was always asked to provide that when i was having sound issues

Paste all that here using code tags

Look here for the code tags

It would help us all out if we see what you are actually working with. we might be able to fix your issue. I see the bug report your reported but just so we have that information to check out.
 
1. Verbose boot then sudo dmesg |grep hda
2. cat /dev/sndstat
3. sysctl -a |grep hda

sudo dmesg |grep hda

Code:
hdac0: <Intel Comet Lake-LP HDA Controller> mem 0xc131c000-0xc131ffff,0xc1000000-0xc10fffff at device 31.3 on pci0
hdacc0: <Conexant (0x1f86) HDA CODEC> at cad 0 on hdac0
hdaa0: <Conexant (0x1f86) Audio Function Group> at nid 1 on hdacc0
pcm0: <Conexant (0x1f86) (Analog)> at nid 23 and 26 on hdaa0
pcm1: <Conexant (0x1f86) (Left Analog Headphones)> at nid 22 on hdaa0
hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1
hdac0: <Intel Comet Lake-LP HDA Controller> mem 0xc131c000-0xc131ffff,0xc1000000-0xc10fffff at device 31.3 on pci0
hdac0: PCI card vendor: 0x17aa, device: 0x5079
hdac0: HDA Driver Revision: 20120126_0002
hdac0: Config options: on=0x00000000 off=0x00000000
hdac0: attempting to allocate 1 MSI vectors (1 supported)
hdac0: using IRQ 136 for MSI
hdac0: Caps: OSS 9, ISS 7, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256
hdacc0: <Conexant (0x1f86) HDA CODEC> at cad 0 on hdac0
hdaa0: <Conexant (0x1f86) Audio Function Group> at nid 1 on hdacc0
hdaa0: Subsystem ID: 0x17aa507a
hdaa0: NumGPIO=5 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1
hdaa0:  GPIO0: battery0: units = 0
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0:  GPIO3: disabled
hdaa0:  GPIO4: input unsol state=0
hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 22 03211040 4  0  Headphones    Jack  1/8     Left       Black   0
hdaa0: 23 91170110 1  0  Speaker       Fixed Analog  0x11       Unknown 1
hdaa0: 24 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1
hdaa0: 25 03a11030 3  0  Mic           Jack  1/8     Left       Black   0
hdaa0: 26 95a60120 2  0  Mic           Fixed Digital 0x15       Unknown 1
hdaa0: 33 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 22 03211040 4  0  Headphones    Jack  1/8     Left       Black   0
hdaa0: 23 91170110 1  0  Speaker       Fixed Analog  0x11       Unknown 1
hdaa0: 24 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1 DISA
hdaa0: 25 03a11030 3  0  Mic           Jack  1/8     Left       Black   0
hdaa0: 26 95a60120 2  0  Mic           Fixed Digital 0x15       Unknown 1
hdaa0: 33 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1 DISA
hdaa0: 4 associations found:
hdaa0: Association 0 (1) out:
hdaa0:  Pin nid=23 seq=0
hdaa0: Association 1 (2) in:
hdaa0:  Pin nid=26 seq=0
hdaa0: Association 2 (3) in:
hdaa0:  Pin nid=25 seq=0
hdaa0: Association 3 (4) out:
hdaa0:  Pin nid=22 seq=0
hdaa0: Tracing association 0 (1)
hdaa0:  Pin 23 traced to DAC 16
hdaa0: Association 0 (1) trace succeeded
hdaa0: Tracing association 1 (2)
hdaa0:  Pin 26 traced to ADC 19
hdaa0: Association 1 (2) trace succeeded
hdaa0: Tracing association 2 (3)
hdaa0:  Unable to trace pin 25 to ADC 20, undo traces
hdaa0: Association 2 (3) trace failed
hdaa0: Tracing association 3 (4)
hdaa0:  Pin 22 traced to DAC 17
hdaa0: Association 3 (4) trace succeeded
hdaa0: Looking for additional DAC for association 0 (1)
hdaa0: Looking for additional ADC for association 1 (2)
hdaa0: Looking for additional DAC for association 3 (4)
hdaa0: Tracing input monitor
hdaa0: Tracing other input monitors
hdaa0:  Tracing nid 26 to out
hdaa0: Tracing beeper
hdaa0: GPIO commit
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0:  GPIO3: disabled
hdaa0:  GPIO4: input unsol state=0
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0: <Conexant (0x1f86) (Analog)> at nid 23 and 26 on hdaa0
pcm1: <Conexant (0x1f86) (Left Analog Headphones)> at nid 22 on hdaa0
hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1
hdaa1: Subsystem ID: 0x80860101
hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa1: Original pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1: Patched pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1: 1 associations found:
hdaa1: Association 0 (1) out:
hdaa1:  Pin nid=3 seq=0
hdaa1: Tracing association 0 (1)
hdaa1:  Pin 3 traced to DAC 2
hdaa1: Association 0 (1) trace succeeded
hdaa1: Looking for additional DAC for association 0 (1)
hdaa1: Tracing input monitor
hdaa1: Tracing other input monitors
hdaa1: Tracing beeper
hdaa1: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1

cat /dev/sndstat

Code:
Installed devices:
pcm0: <Conexant (0x1f86) (Analog)> (play/rec) default
pcm1: <Conexant (0x1f86) (Left Analog Headphones)> (play)
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play)
pcm3: <USB audio> (rec)
No devices installed from userspace.

sysctl -a |grep hda

Code:
hdac0: <Intel Comet Lake-LP HDA Controller> mem 0xc131c000-0xc131ffff,0xc1000000-0xc10fffff at device 31.3 on pci0
hdacc0: <Conexant (0x1f86) HDA CODEC> at cad 0 on hdac0
hdaa0: <Conexant (0x1f86) Audio Function Group> at nid 1 on hdacc0
pcm0: <Conexant (0x1f86) (Analog)> at nid 23 and 26 on hdaa0
pcm1: <Conexant (0x1f86) (Left Analog Headphones)> at nid 22 on hdaa0
hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1
hdac0: <Intel Comet Lake-LP HDA Controller> mem 0xc131c000-0xc131ffff,0xc1000000-0xc10fffff at device 31.3 on pci0
hdac0: PCI card vendor: 0x17aa, device: 0x5079
hdac0: HDA Driver Revision: 20120126_0002
hdac0: Config options: on=0x00000000 off=0x00000000
hdac0: attempting to allocate 1 MSI vectors (1 supported)
hdac0: using IRQ 136 for MSI
hdac0: Caps: OSS 9, ISS 7, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256
hdacc0: <Conexant (0x1f86) HDA CODEC> at cad 0 on hdac0
hdaa0: <Conexant (0x1f86) Audio Function Group> at nid 1 on hdacc0
hdaa0: Subsystem ID: 0x17aa507a
hdaa0: NumGPIO=5 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1
hdaa0:  GPIO0: battery0: units = 0
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0:  GPIO3: disabled
hdaa0:  GPIO4: input unsol state=0
hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 22 03211040 4  0  Headphones    Jack  1/8     Left       Black   0
hdaa0: 23 91170110 1  0  Speaker       Fixed Analog  0x11       Unknown 1
hdaa0: 24 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1
hdaa0: 25 03a11030 3  0  Mic           Jack  1/8     Left       Black   0
hdaa0: 26 95a60120 2  0  Mic           Fixed Digital 0x15       Unknown 1
hdaa0: 33 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 22 03211040 4  0  Headphones    Jack  1/8     Left       Black   0
hdaa0: 23 91170110 1  0  Speaker       Fixed Analog  0x11       Unknown 1
hdaa0: 24 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1 DISA
hdaa0: 25 03a11030 3  0  Mic           Jack  1/8     Left       Black   0
hdaa0: 26 95a60120 2  0  Mic           Fixed Digital 0x15       Unknown 1
hdaa0: 33 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1 DISA
hdaa0: 4 associations found:
hdaa0: Association 0 (1) out:
hdaa0:  Pin nid=23 seq=0
hdaa0: Association 1 (2) in:
hdaa0:  Pin nid=26 seq=0
hdaa0: Association 2 (3) in:
hdaa0:  Pin nid=25 seq=0
hdaa0: Association 3 (4) out:
hdaa0:  Pin nid=22 seq=0
hdaa0: Tracing association 0 (1)
hdaa0:  Pin 23 traced to DAC 16
hdaa0: Association 0 (1) trace succeeded
hdaa0: Tracing association 1 (2)
hdaa0:  Pin 26 traced to ADC 19
hdaa0: Association 1 (2) trace succeeded
hdaa0: Tracing association 2 (3)
hdaa0:  Unable to trace pin 25 to ADC 20, undo traces
hdaa0: Association 2 (3) trace failed
hdaa0: Tracing association 3 (4)
hdaa0:  Pin 22 traced to DAC 17
hdaa0: Association 3 (4) trace succeeded
hdaa0: Looking for additional DAC for association 0 (1)
hdaa0: Looking for additional ADC for association 1 (2)
hdaa0: Looking for additional DAC for association 3 (4)
hdaa0: Tracing input monitor
hdaa0: Tracing other input monitors
hdaa0:  Tracing nid 26 to out
hdaa0: Tracing beeper
hdaa0: GPIO commit
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0:  GPIO3: disabled
hdaa0:  GPIO4: input unsol state=0
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0: <Conexant (0x1f86) (Analog)> at nid 23 and 26 on hdaa0
pcm1: <Conexant (0x1f86) (Left Analog Headphones)> at nid 22 on hdaa0
hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1
hdaa1: Subsystem ID: 0x80860101
hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa1: Original pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1: Patched pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1: 1 associations found:
hdaa1: Association 0 (1) out:
hdaa1:  Pin nid=3 seq=0
hdaa1: Tracing association 0 (1)
hdaa1:  Pin 3 traced to DAC 2
hdaa1: Association 0 (1) trace succeeded
hdaa1: Looking for additional DAC for association 0 (1)
hdaa1: Tracing input monitor
hdaa1: Tracing other input monitors
hdaa1: Tracing beeper
hdaa1: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1
device    snd_hda
irq136: hdac0:279 @cpu0(domain0): 8288
dev.pcm.2.%parent: hdaa1
dev.pcm.1.%parent: hdaa0
dev.pcm.0.%parent: hdaa0
dev.hdaa.1.init_clear: 0
dev.hdaa.1.reconfig: 0
dev.hdaa.1.gpo_config: 
dev.hdaa.1.gpo_state: 
dev.hdaa.1.gpio_config: 
dev.hdaa.1.gpio_state: 
dev.hdaa.1.gpi_state: 
dev.hdaa.1.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
dev.hdaa.1.nid3_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid3_config: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid3: pin: Digital-out (Jack)
dev.hdaa.1.nid2: audio output
dev.hdaa.1.%parent: hdacc1
dev.hdaa.1.%pnpinfo: type=0x01 subsystem=0x80860101
dev.hdaa.1.%location: nid=1
dev.hdaa.1.%driver: hdaa
dev.hdaa.1.%desc: Intel Kaby Lake Audio Function Group
dev.hdaa.0.init_clear: 0
dev.hdaa.0.reconfig: 0
dev.hdaa.0.gpo_config: 
dev.hdaa.0.gpo_state: 
dev.hdaa.0.gpio_config: 0=disable 1=keep 2=keep 3=keep 4=keep
dev.hdaa.0.gpio_state: 0=disabled 1=disabled 2=disabled 3=disabled 4=input(0)
dev.hdaa.0.gpi_state: 
dev.hdaa.0.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
dev.hdaa.0.nid33_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.0.nid33_config: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.0.nid33: pin: Other (None) [DISABLED]
dev.hdaa.0.nid32: audio output [DISABLED]
dev.hdaa.0.nid31: vendor widget [DISABLED]
dev.hdaa.0.nid30: vendor widget [DISABLED]
dev.hdaa.0.nid29: vendor widget [DISABLED]
dev.hdaa.0.nid28: vendor widget [DISABLED]
dev.hdaa.0.nid27: vendor widget [DISABLED]
dev.hdaa.0.nid26_original: 0x95a60120 as=2 seq=0 device=Mic conn=Fixed ctype=Digital loc=0x15 color=Unknown misc=1
dev.hdaa.0.nid26_config: 0x95a60120 as=2 seq=0 device=Mic conn=Fixed ctype=Digital loc=0x15 color=Unknown misc=1
dev.hdaa.0.nid26: pin: Mic (Fixed)
dev.hdaa.0.nid25_original: 0x03a11030 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Left color=Black misc=0
dev.hdaa.0.nid25_config: 0x03a11030 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Left color=Black misc=0
dev.hdaa.0.nid25: pin: Mic (Black Jack) [DISABLED]
dev.hdaa.0.nid24_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.0.nid24_config: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.0.nid24: pin: Other (None) [DISABLED]
dev.hdaa.0.nid23_original: 0x91170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=0x11 color=Unknown misc=1
dev.hdaa.0.nid23_config: 0x91170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=0x11 color=Unknown misc=1
dev.hdaa.0.nid23: pin: Speaker (Fixed)
dev.hdaa.0.nid22_original: 0x03211040 as=4 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Left color=Black misc=0
dev.hdaa.0.nid22_config: 0x03211040 as=4 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Left color=Black misc=0
dev.hdaa.0.nid22: pin: Headphones (Black Jack)
dev.hdaa.0.nid21: vendor widget [DISABLED]
dev.hdaa.0.nid20: audio input [DISABLED]
dev.hdaa.0.nid19: audio input
dev.hdaa.0.nid18: beep widget
dev.hdaa.0.nid17: audio output
dev.hdaa.0.nid16: audio output
dev.hdaa.0.%parent: hdacc0
dev.hdaa.0.%pnpinfo: type=0x01 subsystem=0x17aa507a
dev.hdaa.0.%location: nid=1
dev.hdaa.0.%driver: hdaa
dev.hdaa.0.%desc: Conexant (0x1f86) Audio Function Group
dev.hdaa.%parent: 
dev.hdacc.1.%parent: hdac0
dev.hdacc.1.%pnpinfo: vendor=0x8086 device=0x280b revision=0x00 stepping=0x00
dev.hdacc.1.%location: cad=2
dev.hdacc.1.%driver: hdacc
dev.hdacc.1.%desc: Intel Kaby Lake HDA CODEC
dev.hdacc.0.%parent: hdac0
dev.hdacc.0.%pnpinfo: vendor=0x14f1 device=0x1f86 revision=0x01 stepping=0x00
dev.hdacc.0.%location: cad=0
dev.hdacc.0.%driver: hdacc
dev.hdacc.0.%desc: Conexant (0x1f86) HDA CODEC
dev.hdacc.%parent: 
dev.hdac.0.polling: 0
dev.hdac.0.pindump: 0
dev.hdac.0.wake: 0
dev.hdac.0.%parent: pci0
dev.hdac.0.%pnpinfo: vendor=0x8086 device=0x02c8 subvendor=0x17aa subdevice=0x5079 class=0x040380
dev.hdac.0.%location: slot=31 function=3 dbsf=pci0:0:31:3 handle=\_SB_.PCI0.HDAS
dev.hdac.0.%driver: hdac
dev.hdac.0.%desc: Intel Comet Lake-LP HDA Controller
dev.hdac.%parent:
 
sudo dmesg |grep hda

Code:
hdac0: <Intel Comet Lake-LP HDA Controller> mem 0xc131c000-0xc131ffff,0xc1000000-0xc10fffff at device 31.3 on pci0
hdacc0: <Conexant (0x1f86) HDA CODEC> at cad 0 on hdac0
hdaa0: <Conexant (0x1f86) Audio Function Group> at nid 1 on hdacc0
pcm0: <Conexant (0x1f86) (Analog)> at nid 23 and 26 on hdaa0
pcm1: <Conexant (0x1f86) (Left Analog Headphones)> at nid 22 on hdaa0
hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1
hdac0: <Intel Comet Lake-LP HDA Controller> mem 0xc131c000-0xc131ffff,0xc1000000-0xc10fffff at device 31.3 on pci0
hdac0: PCI card vendor: 0x17aa, device: 0x5079
hdac0: HDA Driver Revision: 20120126_0002
hdac0: Config options: on=0x00000000 off=0x00000000
hdac0: attempting to allocate 1 MSI vectors (1 supported)
hdac0: using IRQ 136 for MSI
hdac0: Caps: OSS 9, ISS 7, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256
hdacc0: <Conexant (0x1f86) HDA CODEC> at cad 0 on hdac0
hdaa0: <Conexant (0x1f86) Audio Function Group> at nid 1 on hdacc0
hdaa0: Subsystem ID: 0x17aa507a
hdaa0: NumGPIO=5 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1
hdaa0:  GPIO0: battery0: units = 0
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0:  GPIO3: disabled
hdaa0:  GPIO4: input unsol state=0
hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 22 03211040 4  0  Headphones    Jack  1/8     Left       Black   0
hdaa0: 23 91170110 1  0  Speaker       Fixed Analog  0x11       Unknown 1
hdaa0: 24 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1
hdaa0: 25 03a11030 3  0  Mic           Jack  1/8     Left       Black   0
hdaa0: 26 95a60120 2  0  Mic           Fixed Digital 0x15       Unknown 1
hdaa0: 33 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 22 03211040 4  0  Headphones    Jack  1/8     Left       Black   0
hdaa0: 23 91170110 1  0  Speaker       Fixed Analog  0x11       Unknown 1
hdaa0: 24 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1 DISA
hdaa0: 25 03a11030 3  0  Mic           Jack  1/8     Left       Black   0
hdaa0: 26 95a60120 2  0  Mic           Fixed Digital 0x15       Unknown 1
hdaa0: 33 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1 DISA
hdaa0: 4 associations found:
hdaa0: Association 0 (1) out:
hdaa0:  Pin nid=23 seq=0
hdaa0: Association 1 (2) in:
hdaa0:  Pin nid=26 seq=0
hdaa0: Association 2 (3) in:
hdaa0:  Pin nid=25 seq=0
hdaa0: Association 3 (4) out:
hdaa0:  Pin nid=22 seq=0
hdaa0: Tracing association 0 (1)
hdaa0:  Pin 23 traced to DAC 16
hdaa0: Association 0 (1) trace succeeded
hdaa0: Tracing association 1 (2)
hdaa0:  Pin 26 traced to ADC 19
hdaa0: Association 1 (2) trace succeeded
hdaa0: Tracing association 2 (3)
hdaa0:  Unable to trace pin 25 to ADC 20, undo traces
hdaa0: Association 2 (3) trace failed
hdaa0: Tracing association 3 (4)
hdaa0:  Pin 22 traced to DAC 17
hdaa0: Association 3 (4) trace succeeded
hdaa0: Looking for additional DAC for association 0 (1)
hdaa0: Looking for additional ADC for association 1 (2)
hdaa0: Looking for additional DAC for association 3 (4)
hdaa0: Tracing input monitor
hdaa0: Tracing other input monitors
hdaa0:  Tracing nid 26 to out
hdaa0: Tracing beeper
hdaa0: GPIO commit
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0:  GPIO3: disabled
hdaa0:  GPIO4: input unsol state=0
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0: <Conexant (0x1f86) (Analog)> at nid 23 and 26 on hdaa0
pcm1: <Conexant (0x1f86) (Left Analog Headphones)> at nid 22 on hdaa0
hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1
hdaa1: Subsystem ID: 0x80860101
hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa1: Original pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1: Patched pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1: 1 associations found:
hdaa1: Association 0 (1) out:
hdaa1:  Pin nid=3 seq=0
hdaa1: Tracing association 0 (1)
hdaa1:  Pin 3 traced to DAC 2
hdaa1: Association 0 (1) trace succeeded
hdaa1: Looking for additional DAC for association 0 (1)
hdaa1: Tracing input monitor
hdaa1: Tracing other input monitors
hdaa1: Tracing beeper
hdaa1: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1

cat /dev/sndstat

Code:
Installed devices:
pcm0: <Conexant (0x1f86) (Analog)> (play/rec) default
pcm1: <Conexant (0x1f86) (Left Analog Headphones)> (play)
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play)
pcm3: <USB audio> (rec)
No devices installed from userspace.

sysctl -a |grep hda

Code:
hdac0: <Intel Comet Lake-LP HDA Controller> mem 0xc131c000-0xc131ffff,0xc1000000-0xc10fffff at device 31.3 on pci0
hdacc0: <Conexant (0x1f86) HDA CODEC> at cad 0 on hdac0
hdaa0: <Conexant (0x1f86) Audio Function Group> at nid 1 on hdacc0
pcm0: <Conexant (0x1f86) (Analog)> at nid 23 and 26 on hdaa0
pcm1: <Conexant (0x1f86) (Left Analog Headphones)> at nid 22 on hdaa0
hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1
hdac0: <Intel Comet Lake-LP HDA Controller> mem 0xc131c000-0xc131ffff,0xc1000000-0xc10fffff at device 31.3 on pci0
hdac0: PCI card vendor: 0x17aa, device: 0x5079
hdac0: HDA Driver Revision: 20120126_0002
hdac0: Config options: on=0x00000000 off=0x00000000
hdac0: attempting to allocate 1 MSI vectors (1 supported)
hdac0: using IRQ 136 for MSI
hdac0: Caps: OSS 9, ISS 7, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256
hdacc0: <Conexant (0x1f86) HDA CODEC> at cad 0 on hdac0
hdaa0: <Conexant (0x1f86) Audio Function Group> at nid 1 on hdacc0
hdaa0: Subsystem ID: 0x17aa507a
hdaa0: NumGPIO=5 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1
hdaa0:  GPIO0: battery0: units = 0
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0:  GPIO3: disabled
hdaa0:  GPIO4: input unsol state=0
hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 22 03211040 4  0  Headphones    Jack  1/8     Left       Black   0
hdaa0: 23 91170110 1  0  Speaker       Fixed Analog  0x11       Unknown 1
hdaa0: 24 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1
hdaa0: 25 03a11030 3  0  Mic           Jack  1/8     Left       Black   0
hdaa0: 26 95a60120 2  0  Mic           Fixed Digital 0x15       Unknown 1
hdaa0: 33 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 22 03211040 4  0  Headphones    Jack  1/8     Left       Black   0
hdaa0: 23 91170110 1  0  Speaker       Fixed Analog  0x11       Unknown 1
hdaa0: 24 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1 DISA
hdaa0: 25 03a11030 3  0  Mic           Jack  1/8     Left       Black   0
hdaa0: 26 95a60120 2  0  Mic           Fixed Digital 0x15       Unknown 1
hdaa0: 33 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1 DISA
hdaa0: 4 associations found:
hdaa0: Association 0 (1) out:
hdaa0:  Pin nid=23 seq=0
hdaa0: Association 1 (2) in:
hdaa0:  Pin nid=26 seq=0
hdaa0: Association 2 (3) in:
hdaa0:  Pin nid=25 seq=0
hdaa0: Association 3 (4) out:
hdaa0:  Pin nid=22 seq=0
hdaa0: Tracing association 0 (1)
hdaa0:  Pin 23 traced to DAC 16
hdaa0: Association 0 (1) trace succeeded
hdaa0: Tracing association 1 (2)
hdaa0:  Pin 26 traced to ADC 19
hdaa0: Association 1 (2) trace succeeded
hdaa0: Tracing association 2 (3)
hdaa0:  Unable to trace pin 25 to ADC 20, undo traces
hdaa0: Association 2 (3) trace failed
hdaa0: Tracing association 3 (4)
hdaa0:  Pin 22 traced to DAC 17
hdaa0: Association 3 (4) trace succeeded
hdaa0: Looking for additional DAC for association 0 (1)
hdaa0: Looking for additional ADC for association 1 (2)
hdaa0: Looking for additional DAC for association 3 (4)
hdaa0: Tracing input monitor
hdaa0: Tracing other input monitors
hdaa0:  Tracing nid 26 to out
hdaa0: Tracing beeper
hdaa0: GPIO commit
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0:  GPIO3: disabled
hdaa0:  GPIO4: input unsol state=0
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0: <Conexant (0x1f86) (Analog)> at nid 23 and 26 on hdaa0
pcm1: <Conexant (0x1f86) (Left Analog Headphones)> at nid 22 on hdaa0
hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1
hdaa1: Subsystem ID: 0x80860101
hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa1: Original pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1: Patched pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1: 1 associations found:
hdaa1: Association 0 (1) out:
hdaa1:  Pin nid=3 seq=0
hdaa1: Tracing association 0 (1)
hdaa1:  Pin 3 traced to DAC 2
hdaa1: Association 0 (1) trace succeeded
hdaa1: Looking for additional DAC for association 0 (1)
hdaa1: Tracing input monitor
hdaa1: Tracing other input monitors
hdaa1: Tracing beeper
hdaa1: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1
device    snd_hda
irq136: hdac0:279 @cpu0(domain0): 8288
dev.pcm.2.%parent: hdaa1
dev.pcm.1.%parent: hdaa0
dev.pcm.0.%parent: hdaa0
dev.hdaa.1.init_clear: 0
dev.hdaa.1.reconfig: 0
dev.hdaa.1.gpo_config:
dev.hdaa.1.gpo_state:
dev.hdaa.1.gpio_config:
dev.hdaa.1.gpio_state:
dev.hdaa.1.gpi_state:
dev.hdaa.1.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
dev.hdaa.1.nid3_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid3_config: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid3: pin: Digital-out (Jack)
dev.hdaa.1.nid2: audio output
dev.hdaa.1.%parent: hdacc1
dev.hdaa.1.%pnpinfo: type=0x01 subsystem=0x80860101
dev.hdaa.1.%location: nid=1
dev.hdaa.1.%driver: hdaa
dev.hdaa.1.%desc: Intel Kaby Lake Audio Function Group
dev.hdaa.0.init_clear: 0
dev.hdaa.0.reconfig: 0
dev.hdaa.0.gpo_config:
dev.hdaa.0.gpo_state:
dev.hdaa.0.gpio_config: 0=disable 1=keep 2=keep 3=keep 4=keep
dev.hdaa.0.gpio_state: 0=disabled 1=disabled 2=disabled 3=disabled 4=input(0)
dev.hdaa.0.gpi_state:
dev.hdaa.0.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
dev.hdaa.0.nid33_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.0.nid33_config: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.0.nid33: pin: Other (None) [DISABLED]
dev.hdaa.0.nid32: audio output [DISABLED]
dev.hdaa.0.nid31: vendor widget [DISABLED]
dev.hdaa.0.nid30: vendor widget [DISABLED]
dev.hdaa.0.nid29: vendor widget [DISABLED]
dev.hdaa.0.nid28: vendor widget [DISABLED]
dev.hdaa.0.nid27: vendor widget [DISABLED]
dev.hdaa.0.nid26_original: 0x95a60120 as=2 seq=0 device=Mic conn=Fixed ctype=Digital loc=0x15 color=Unknown misc=1
dev.hdaa.0.nid26_config: 0x95a60120 as=2 seq=0 device=Mic conn=Fixed ctype=Digital loc=0x15 color=Unknown misc=1
dev.hdaa.0.nid26: pin: Mic (Fixed)
dev.hdaa.0.nid25_original: 0x03a11030 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Left color=Black misc=0
dev.hdaa.0.nid25_config: 0x03a11030 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Left color=Black misc=0
dev.hdaa.0.nid25: pin: Mic (Black Jack) [DISABLED]
dev.hdaa.0.nid24_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.0.nid24_config: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.0.nid24: pin: Other (None) [DISABLED]
dev.hdaa.0.nid23_original: 0x91170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=0x11 color=Unknown misc=1
dev.hdaa.0.nid23_config: 0x91170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=0x11 color=Unknown misc=1
dev.hdaa.0.nid23: pin: Speaker (Fixed)
dev.hdaa.0.nid22_original: 0x03211040 as=4 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Left color=Black misc=0
dev.hdaa.0.nid22_config: 0x03211040 as=4 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Left color=Black misc=0
dev.hdaa.0.nid22: pin: Headphones (Black Jack)
dev.hdaa.0.nid21: vendor widget [DISABLED]
dev.hdaa.0.nid20: audio input [DISABLED]
dev.hdaa.0.nid19: audio input
dev.hdaa.0.nid18: beep widget
dev.hdaa.0.nid17: audio output
dev.hdaa.0.nid16: audio output
dev.hdaa.0.%parent: hdacc0
dev.hdaa.0.%pnpinfo: type=0x01 subsystem=0x17aa507a
dev.hdaa.0.%location: nid=1
dev.hdaa.0.%driver: hdaa
dev.hdaa.0.%desc: Conexant (0x1f86) Audio Function Group
dev.hdaa.%parent:
dev.hdacc.1.%parent: hdac0
dev.hdacc.1.%pnpinfo: vendor=0x8086 device=0x280b revision=0x00 stepping=0x00
dev.hdacc.1.%location: cad=2
dev.hdacc.1.%driver: hdacc
dev.hdacc.1.%desc: Intel Kaby Lake HDA CODEC
dev.hdacc.0.%parent: hdac0
dev.hdacc.0.%pnpinfo: vendor=0x14f1 device=0x1f86 revision=0x01 stepping=0x00
dev.hdacc.0.%location: cad=0
dev.hdacc.0.%driver: hdacc
dev.hdacc.0.%desc: Conexant (0x1f86) HDA CODEC
dev.hdacc.%parent:
dev.hdac.0.polling: 0
dev.hdac.0.pindump: 0
dev.hdac.0.wake: 0
dev.hdac.0.%parent: pci0
dev.hdac.0.%pnpinfo: vendor=0x8086 device=0x02c8 subvendor=0x17aa subdevice=0x5079 class=0x040380
dev.hdac.0.%location: slot=31 function=3 dbsf=pci0:0:31:3 handle=\_SB_.PCI0.HDAS
dev.hdac.0.%driver: hdac
dev.hdac.0.%desc: Intel Comet Lake-LP HDA Controller
dev.hdac.%parent:
Can you also edit your post and use code tags and run pciconf -lv
 
pciconf -lv

Code:
hostb0@pci0:0:0:0:    class=0x060000 rev=0x0c hdr=0x00 vendor=0x8086 device=0x9b61 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake-U v1 4c Host Bridge/DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:    class=0x030000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x9b41 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'CometLake-U GT2 [UHD Graphics]'
    class      = display
    subclass   = VGA
none0@pci0:0:4:0:    class=0x118000 rev=0x0c hdr=0x00 vendor=0x8086 device=0x1903 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem'
    class      = dasp
none1@pci0:0:8:0:    class=0x088000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x1911 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model'
    class      = base peripheral
pchtherm0@pci0:0:18:0:    class=0x118000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x02f9 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake Thermal Subsytem'
    class      = dasp
xhci0@pci0:0:20:0:    class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x8086 device=0x02ed subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake PCH-LP USB 3.1 xHCI Host Controller'
    class      = serial bus
    subclass   = USB
none2@pci0:0:20:2:    class=0x050000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x02ef subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake PCH-LP Shared SRAM'
    class      = memory
    subclass   = RAM
iwlwifi0@pci0:0:20:3:    class=0x028000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x02f0 subvendor=0x8086 subdevice=0x0034
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake PCH-LP CNVi WiFi'
    class      = network
none3@pci0:0:22:0:    class=0x078000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x02e0 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake Management Engine Interface'
    class      = simple comms
ahci0@pci0:0:23:0:    class=0x010601 rev=0x00 hdr=0x00 vendor=0x8086 device=0x02d3 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake SATA AHCI Controller'
    class      = mass storage
    subclass   = SATA
pcib1@pci0:0:29:0:    class=0x060400 rev=0xf0 hdr=0x01 vendor=0x8086 device=0x02b0 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:29:4:    class=0x060400 rev=0xf0 hdr=0x01 vendor=0x8086 device=0x02b4 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:    class=0x060100 rev=0x00 hdr=0x00 vendor=0x8086 device=0x0284 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake PCH-LP LPC Premium Controller/eSPI Controller'
    class      = bridge
    subclass   = PCI-ISA
hdac0@pci0:0:31:3:    class=0x040380 rev=0x00 hdr=0x00 vendor=0x8086 device=0x02c8 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake PCH-LP cAVS'
    class      = multimedia
    subclass   = HDA
ichsmb0@pci0:0:31:4:    class=0x0c0500 rev=0x00 hdr=0x00 vendor=0x8086 device=0x02a3 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake PCH-LP SMBus Host Controller'
    class      = serial bus
    subclass   = SMBus
none4@pci0:0:31:5:    class=0x0c8000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x02a4 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake SPI (flash) Controller'
    class      = serial bus
re0@pci0:4:0:0:class=0x020000 rev=0x10 hdr=0x00 vendor=0x10ec device=0x8168 subvendor=0x17aa subdevice=0x5079
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet
nvme0@pci0:7:0:0:    class=0x010802 rev=0x01 hdr=0x00 vendor=0x2646 device=0x5013 subvendor=0x2646 subdevice=0x5013
    vendor     = 'Kingston Technology Company, Inc.'
    device     = 'KC3000/Renegade NVMe SSD'
    class      = mass storage
    subclass   = NVM
 
This is for me the "magic code" (you can copy/paste the result in a text editor for easier reading...) :
Code:
 sysctl dev.hdaa

This thread helped me a lot :

I'm sorry I can't help more, I'm not in front of my computer...
 
Yea, Weird that it was working then stopped working. Everything on google or BSD Hardware says it's supported. I would just wait. I have a little bit of knowledge but not a lot I'm always asking for help

Looks like there is an update on the bug kinda Update looks like it was moved to the correct group where you can get better help or somebody here on the forums can help out

There is also the list Subscribe then send an email to the group while waiting for an answer here. there is also the IRC Channel and join #Freebsd Fast way to connect you can post the link to this thread. There is also Discord and join the #helpdesk and tell them your issue link them this thread

Hope you get this resolved
 
Weird that it was working then stopped working
I've analyzed a huge volume of info during the last days.
The most interesting thing I saw is the following chapter from linux kernel notes :

The speaker (and the headphone, too) output often requires the external amplifier. This can be set usually via EAPD verb or a certain GPIO. If the codec pin supports EAPD, you have a better chance via SET_EAPD_BTL verb (0x70c). On others, GPIO pin (mostly it's either GPIO0 or GPIO1) may turn on/off EAPD.

At the same time I see
Code:
codec->pin_amp_workaround = 1;
in linux sources.
Code:
pin out-amp takes index (e.g. Conexant codecs)
This option is active for all Conexant codecs.

It seems that the solution is somewhere here...
 
I've browsed the archive of freebsd-multimedia@FreeBSD.org, and I have the impression that nobody from this list can help me. Several questions of the same type are not answered, one user who found a solution using device.hints asked to add his solution to the driver's code - nobody could do it, the ticket remains open.
There are many discussions about applications there (ffmpeg, vlc, ...)

I have the impression that the sound subsystem of FreeBSD is not maintained anymore :(
 
Back
Top