Date: Wed, 3 Jul 2024 10:29:47 -0400 From: Steven Friedrich <freebsdlouisville@gmail.com> To: FreeBSD Drivers <freebsd-drivers@FreeBSD.org> Subject: No sound from HDMI port Message-ID: <aea08091-c507-4c7d-aa22-bf272d84b115@gmail.com>
next in thread | raw e-mail | index | archive | help
Systems are: Dell Inspiron 3668 4 × Intel® Core™ i3-7100 CPU @ 3.90GHz Kaby Lake (Core i3) HP Slimline Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz Coffee Lake (Core i7) HP Envy Intel© Core™ i7-10700 CPU @ 2.90GHz × 8 Comet Lake (Core i7) kldstat: Id Refs Address Size Name 1 123 0xffffffff80200000 14544f8 kernel 2 1 0xffffffff81655000 11d580 if_re.ko 3 1 0xffffffff81773000 4a060 snd_hda.ko 4 2 0xffffffff817be000 77c08 sound.ko 5 1 0xffffffff83fb4000 1b3920 i915kms.ko 6 2 0xffffffff84168000 7c050 drm.ko 7 1 0xffffffff841e5000 22b8 iic.ko 8 3 0xffffffff841e8000 3080 linuxkpi_hdmi.ko 9 3 0xffffffff841ec000 6350 dmabuf.ko 10 3 0xffffffff841f3000 3378 lindebugfs.ko 11 1 0xffffffff841f7000 b360 ttm.ko 12 1 0xffffffff84203000 c768 agp.ko 13 1 0xffffffff84210000 3390 acpi_wmi.ko 14 1 0xffffffff84214000 3250 ichsmb.ko 15 1 0xffffffff84218000 2178 smbus.ko 16 1 0xffffffff8421b000 e1cf0 if_rtw88.ko 17 1 0xffffffff842fd000 5f90 ig4.ko 18 1 0xffffffff84303000 2110 pchtherm.ko 19 1 0xffffffff84306000 32f58 rtw8822c_fw.bin.ko 20 1 0xffffffff84339000 b6e0 if_lagg.ko 21 1 0xffffffff84345000 20c0 if_infiniband.ko 22 1 0xffffffff84348000 3360 uhid.ko 23 1 0xffffffff8434c000 33c0 usbhid.ko 24 1 0xffffffff84350000 3380 hidbus.ko 25 1 0xffffffff84354000 3360 wmt.ko 26 1 0xffffffff84358000 4364 ums.ko 27 1 0xffffffff8435d000 4d20 ng_ubt.ko 28 6 0xffffffff84362000 abb8 netgraph.ko 29 2 0xffffffff8436d000 a250 ng_hci.ko 30 4 0xffffffff84378000 2670 ng_bluetooth.ko 31 1 0xffffffff8437b000 e268 ng_l2cap.ko 32 1 0xffffffff8438a000 1bf68 ng_btsocket.ko 33 1 0xffffffff843a6000 38f8 ng_socket.ko 34 1 0xffffffff843aa000 2a68 mac_ntpd.ko test script: cat testSound #!/bin/sh echo "Begin `uname -s` `basename -s .sh $0` on `uname -n`" echo "************************************************************" cat /dev/sndstat default_unit=`sysctl hw.snd.default_unit|awk '{print $2}'` echo -e "\nDefault Sound device=$default_unit\n" echo /dev/dsp$default_unit mixer -f /dev/mixer0 vol=100 rec=0 mixer -f /dev/mixer1 vol=100 mic=0 rec=0 mixer -f /dev/mixer2 vol=100 # beep -g 100 -D 2000 -d /dev/dsp$default_unit # beep -g 100 -D 2000 -d /dev/dsp0 # beep -g 100 -D 2000 -d /dev/dsp1 # beep -g 100 -D 2000 -d /dev/dsp2 for dsp in /dev/dsp* do echo $dsp beep -g 100 -D 2000 -d $dsp done echo "End `uname -s` `basename -s .sh $0` on `uname -n`" echo "************************************************************" Result: Sound emits from rear or front 1/8" audio jacks, no sound from HDMI port. dmesg: hdacc0: <Realtek ALC671 HDA CODEC> at cad 0 on hdac0 hdaa0: <Realtek ALC671 Audio Function Group> at nid 1 on hdacc0 pcm0: <Realtek ALC671 (Rear Analog)> at nid 20 and 27 on hdaa0 pcm1: <Realtek ALC671 (Analog)> at nid 33 and 24 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 cat /dev/sndstat FreeBSD Audio Driver Installed devices: pcm0: <Realtek ALC671 (Rear Analog)> on hdaa0 (1p:1v/1r:1v) snddev flags=0x2e2<AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VPC> [pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000004 interrupts 386, underruns 0, feed 386, ready 0 [b:2048/1024/2|bs:2048/1024/2] channel flags=0x2100<BUSY,HAS_VCHAN> {userland} -> feeder_mixer(0x00200010) -> {hardware} pcm0:play:dsp0.p0[pcm0:virtual_play:dsp0.vp0]: spd 48000, fmt 0x00101000/0x00200010, flags 0x10000000, 0x00000063 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8] channel flags=0x10000000<VIRTUAL> {userland} -> feeder_root(0x00101000) -> feeder_format(0x00101000 -> 0x00100010) -> feeder_matrix(1.0 -> 2.0) -> feeder_volume(0x00200010) -> {hardware} [pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000005 interrupts 0, overruns 0, feed 0, hfree 512, sfree 512 [b:512/256/2|bs:512/256/2] channel flags=0x2100<BUSY,HAS_VCHAN> {hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> {userland} pcm0:record:dsp0.r0[pcm0:virtual_record:dsp0.vr0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000 interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0] channel flags=0x10000000<VIRTUAL> {hardware} -> feeder_root(0x00000000) -> {userland} pcm1: <Realtek ALC671 (Analog)> on hdaa0 (1p:1v/1r:1v) snddev flags=0x2e2<AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VPC> [pcm1:play:dsp1.p0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000004 interrupts 386, underruns 0, feed 386, ready 0 [b:2048/1024/2|bs:2048/1024/2] channel flags=0x2100<BUSY,HAS_VCHAN> {userland} -> feeder_mixer(0x00200010) -> {hardware} pcm1:play:dsp1.p0[pcm1:virtual_play:dsp1.vp0]: spd 48000, fmt 0x00101000/0x00200010, flags 0x10000000, 0x00000063 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8] channel flags=0x10000000<VIRTUAL> {userland} -> feeder_root(0x00101000) -> feeder_format(0x00101000 -> 0x00100010) -> feeder_matrix(1.0 -> 2.0) -> feeder_volume(0x00200010) -> {hardware} [pcm1:record:dsp1.r0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000005 interrupts 0, overruns 0, feed 0, hfree 512, sfree 512 [b:512/256/2|bs:512/256/2] channel flags=0x2100<BUSY,HAS_VCHAN> {hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> {userland} pcm1:record:dsp1.r0[pcm1:virtual_record:dsp1.vr0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000 interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0] channel flags=0x10000000<VIRTUAL> {hardware} -> feeder_root(0x00000000) -> {userland} pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> on hdaa1 (1p:1v/0r:0v) default snddev flags=0x200002e7<SIMPLEX,AUTOVCHAN,SOFTPCMVOL,BUSY,MPSAFE,REGISTERED,VPC,PRIO_WR> [pcm2:play:dsp2.p0]: spd 48000, fmt 0x00200010, flags 0x00006100, 0x00000004 interrupts 386, underruns 0, feed 386, ready 0 [b:2048/1024/2|bs:2048/1024/2] channel flags=0x6100<BUSY,HAS_VCHAN,VCHAN_PASSTHROUGH> {userland} -> feeder_mixer(0x00200010) -> {hardware} pcm2:play:dsp2.p0[pcm2:virtual_play:dsp2.vp0]: spd 48000, fmt 0x00101000/0x00200010, flags 0x10000000, 0x00000063 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8] channel flags=0x10000000<VIRTUAL> {userland} -> feeder_root(0x00101000) -> feeder_format(0x00101000 -> 0x00100010) -> feeder_matrix(1.0 -> 2.0) -> feeder_volume(0x00200010) -> {hardware} No devices installed from userspace.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aea08091-c507-4c7d-aa22-bf272d84b115>