Getting Sound Working

From: Joe B <jcb2023az_at_gmail.com>
Date: Thu, 30 Nov 2023 21:15:54 UTC
Hello,

I know this is impossible but this list is my last resort. IF it doesn't
work i have another laptop that works out of the box but i really like this
laptop (Chromebook Hp x360 14c)

Everything works except sound that does work when connected to HDMI. Here
is what I have to work with.

Sndstat

cat /dev/sndstat
Installed devices:
pcm0: <Intel Kaby Lake (HDMI/DP 8ch)> (play) default

Verbose Boot

hdac0: <Intel Comet Lake-LP HDA Controller> mem
0x9f914000-0x9f917fff,0x9f800000-0x9f8fffff at device 31.3 on pci0
hdacc0: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa0: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc0
pcm0: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa0
hdac0: <Intel Comet Lake-LP HDA Controller> mem
0x9f914000-0x9f917fff,0x9f800000-0x9f8fffff at device 31.3 on pci0
hdac0: PCI card vendor: 0x8086, device: 0x7270
hdac0: HDA Driver Revision: 20120126_0002
hdac0: Config options: on=0x00000000 off=0x00000000
hdac0: Caps: OSS 9, ISS 7, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256
hdac0: attempting to allocate 1 MSI vectors (1 supported)
hdac0: using IRQ 130 for MSI
hdacc0: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa0: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc0
hdaa0: Subsystem ID: 0x80860101
hdaa0: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa0: 1 associations found:
hdaa0: Association 0 (1) out:
hdaa0:  Pin nid=3 seq=0
hdaa0: Tracing association 0 (1)
hdaa0:  Pin 3 traced to DAC 2
hdaa0: Association 0 (1) trace succeeded
hdaa0: Looking for additional DAC for association 0 (1)
hdaa0: Tracing input monitor
hdaa0: Tracing other input monitors
hdaa0: Tracing beeper
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa0

sysctl -a |grep hda

hdac0: <Intel Comet Lake-LP HDA Controller> mem
0x9f914000-0x9f917fff,0x9f800000-0x9f8fffff at device 31.3 on pci0
hdacc0: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa0: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc0
pcm0: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa0
device	snd_hda
irq130: hdac0:263 @cpu0(domain0): 7
dev.pcm.0.%parent: hdaa0
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:
dev.hdaa.0.gpio_state:
dev.hdaa.0.gpi_state:
dev.hdaa.0.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
dev.hdaa.0.nid3_original: 0x18560010 as=1 seq=0 device=Digital-out
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.0.nid3_config: 0x18560010 as=1 seq=0 device=Digital-out
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.0.nid3: pin: Digital-out (Jack)
dev.hdaa.0.nid2: audio output
dev.hdaa.0.%parent: hdacc0
dev.hdaa.0.%pnpinfo: type=0x01 subsystem=0x80860101
dev.hdaa.0.%location: nid=1
dev.hdaa.0.%driver: hdaa
dev.hdaa.0.%desc: Intel Kaby Lake Audio Function Group
dev.hdaa.%parent:
dev.hdacc.0.%parent: hdac0
dev.hdacc.0.%pnpinfo: vendor=0x8086 device=0x280b revision=0x00 stepping=0x00
dev.hdacc.0.%location: cad=2
dev.hdacc.0.%driver: hdacc
dev.hdacc.0.%desc: Intel Kaby Lake HDA CODEC
dev.hdacc.%parent:
dev.hdac.0.polling: 0
dev.hdac.0.pindump: 0
dev.hdac.0.%parent: pci0
dev.hdac.0.%pnpinfo: vendor=0x8086 device=0x02c8 subvendor=0x8086
subdevice=0x7270 class=0x040100
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:

Here is a thread with the exact same issue that didn't get resolved

https://forums.freebsd.org/threads/no-sound-with-sound-card-intel-comet-lake-pch-lp-cavs.87085/

Like I said it's probably impossible but I'm ready for that. I was
advised here that since there are no other nids or pcm's that they
can't do anything

https://forums.freebsd.org/threads/trying-to-get-headphones-working-on-a-laptop.91214/#post-630964

Thanks for looking at it

~ Joe B