Bug 267817 - No sound with Intel Comet Lake PCH-LP cAVS sound card
Summary: No sound with Intel Comet Lake PCH-LP cAVS sound card
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-16 20:42 UTC by Moli
Modified: 2026-02-21 10:36 UTC (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moli 2022-11-16 20:42:39 UTC
Hello everyone,

With FreeBSD 13.1-RELEASE-p3 on a PC which has an Intel Comet Lake PCH-LP cAVS sound card the sound doesn't work.

From the hardware ID returned by pciconf -lv | grep -B3 multimedia , and in accordance with this file (https://github.com/freebsd/freebsd-src/blob/master/sys/dev/sound/pci/hda/hdac.h) I have the impression that the card could be taken into account (HDA_INTEL_CMLKLP).

#  pciconf -lv | grep -B3 multimedia
hdac0@pci0:0:31:3:      class=0x040100 rev=0x00 hdr=0x00 vendor=0x8086 device=0x02c8 subvendor=0x1e39 subdevice=0xb993
    vendor     = 'Intel Corporation'
    device     = 'Comet Lake PCH-LP cAVS'
    class      = multimedia



Here is the return of cat /dev/sndstat:
# cat /dev/sndstat
Installed devices:
pcm0: <Intel Kaby Lake (HDMI/DP 8ch)> (play) default
No devices installed from userspace.


From mpv --audio-device=help:
# mpv --audio-device=help
List of detected audio devices:
  'auto' (Autoselect device)
  'oss//dev/dsp' (Default)
  'oss//dev/dsp0' (Intel Kaby Lake (HDMI/DP 8ch))


From dmesg | grep pcm:
# dmesg | grep pcm
pcm0: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa0


From # ls -al /dev/ds*:
# ls -al /dev/ds*
crw-rw-rw-  1 root  wheel  0x180 Nov 16 21:02 /dev/dsp0.0
crw-rw-rw-  1 root  wheel  0x182 Nov 16 21:18 /dev/dsp0.1
crw-rw-rw-  1 root  wheel  0x184 Nov 16 21:29 /dev/dsp0.2


From dmesg | grep hda:
# dmesg | grep hda
hdac0: <Intel Comet Lake-LP HDA Controller> mem 0xb1218000-0xb121bfff,0xb1000000-0xb10fffff at device 31.3 on pci0
hdacc0: <Intel Kaby Lake HDA CODEC>GEOM_ELI: Encryption: AES-XTS 256
 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


And here is the line I have in /etc/rc.conf: 
kld_list="fusefs i915kms"


I don't know what other information might be relevant, but feel free to ask me if any other information might be useful.
Comment 1 Joe B 2023-11-29 11:26:44 UTC
Friendly ping for whoever has looked at this bug. Can someone take a second look. I have the same exact setup as the bug reporter and i have found no resolution for it yet.

Thanks
Comment 2 Alexander Ziaee freebsd_committer freebsd_triage 2024-09-18 22:22:07 UTC
^Triage:

Reporters: Could you give us the output of `mixer` please? If an old bug is still affecting you, please report the supported version your using. 

Christos: Seems like your wheelhouse? Please forgive and let me know if I made any errors, I'm new to triage. Thanks!
Comment 3 Joe B 2024-09-19 00:13:01 UTC
(In reply to Alexander Ziaee from comment #2)

Hello,

Here you go

[joe@freebsd1 ~]$ mixer
pcm0:mixer: <Intel Kaby Lake (HDMI/DP 8ch)> on hdaa0 (play) (default)
    vol       = 1.00:1.00     pbk
    pcm       = 1.00:1.00     pbk


Tell me if you need anything else.

Also i've tried mixer -s pcm 100 and nothing

Joe
Comment 4 Christos Margiolis freebsd_committer freebsd_triage 2024-10-17 11:53:42 UTC
Can you post the dmesg output after you run:
# sysctl dev.hdac.0.pindump=1
Comment 5 Newton Terry 2024-10-18 06:53:20 UTC
(In reply to Joe B from comment #3)

> pcm0:mixer: <Intel Kaby Lake (HDMI/DP 8ch)> on hdaa0 (play) (default)

HDMI sound on Intel Kaby Lake is known not to work:

Unable to make HDMI sound works with HD630, PR reported 2019-04-17:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237340

No sound over HDMI, issue opened Jul 4, 2022:
https://github.com/freebsd/drm-kmod/issues/187
Comment 6 Joe B 2024-10-31 06:05:42 UTC
(In reply to Newton Terry from comment #5)

Hi

Does that mean there is no point to persue this anymore ?

Thanks

Joe
Comment 7 Alexander Ziaee freebsd_committer freebsd_triage 2025-01-04 20:36:14 UTC
(In reply to Joe B from comment #6)

I believe this can be resolved if we get the information needed to wire it in.

(Christos said in comment #4)
> Can you post the dmesg output after you run:
> # sysctl dev.hdac.0.pindump=1
Comment 8 Christos Margiolis freebsd_committer freebsd_triage 2025-01-10 22:13:22 UTC
On 283793 markj@ posted that this card works for him. Moli, can you let me know if the issue still exists?
Comment 9 Joe B 2025-01-11 01:46:21 UTC
(In reply to Alexander Ziaee from comment #7)

For some reason when i run that command then run cat /dev/sndstat i get 0 >0 meaning it didn't do anything and dmesg dosen't show anything. Here is sysctl -a |grep hda

joe@freeBSD:~ $ 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): 5
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: 

Hope this helps