[Bug 267817] No sound with Intel Comet Lake PCH-LP cAVS sound card

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Nov 2022 20:42:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267817

            Bug ID: 267817
           Summary: No sound with Intel Comet Lake PCH-LP cAVS sound card
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: iouip@anche.no

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.