I installed Debian Main in september on a Minisforum Z83-F, and everything works except for the sound (earphones).
The soundcard is not usable. The HDMI output is the only one. The audio mixer shows me only the dummy output. I have checked in a bunch of forums what people with similar problems did.
Here is what i have found out:
Code: Select all
/proc/asound/cards shows only: Intel HDMI/DP LPE Audio
Code: Select all
HDaudio controller not detected, using LPE audio instead
Code: Select all
sudo lsmod | grep -Ei "snd|sound|audio|multi"
Result:
snd_seq_dummy 16384 0
snd_hrtimer 16384 1
snd_seq 90112 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
snd_hdmi_lpe_audio 32768 1
snd_soc_rt5645 180224 0
snd_soc_rl6231 20480 1 snd_soc_rt5645
snd_soc_core 352256 1 snd_soc_rt5645
snd_compress 28672 1 snd_soc_core
snd_pcm 159744 4
snd_compress,snd_hdmi_lpe_audio,snd_soc_core,snd_soc_rt5645
snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm
snd 126976 11
snd_seq,snd_seq_device,snd_timer,snd_compress,snd_hdmi_lpe_audio,snd_soc_core,snd_pcm
soundcore 16384 1 snd
The driver seems to be there, too:
Code: Select all
ls -l /lib/modules/`uname -r`/kernel/sound/soc/codecs/snd-soc-rt5645*
-rw-r--r-- 1 root root 298699 30. Sep 21:08
/lib/modules/6.1.0-26-amd64/kernel/sound/soc/codecs/snd-soc-rt5645.ko
Code: Select all
/usr/share/alsa/ucm2/codecs/rt5645/
https://elrepo.org/bugs/view.php?id=900
In 2017 somebody posted this:
I have found the solution which makes audio work on my T102HA. The problem is actually in the HDMI audio driver and it can be worked around by preventing that driver from loading. This should be doable by adding the following like to /etc/modprobe.d/blacklist.conf:
blacklist snd_hdmi_lpe_audio
Once you have that, reboot and verify that module snd_hdmi_lpe_audio is not loaded (lsmod |grep snd_hdmi_lpe_audio) (if it is then find a working approach to blacklist it, I don't have Ubuntu actually). After you get it to not load, pulseaudio should run without crashing and audio should work. You may need to use pavucontrol to select speakers instead of headphones.
https://ubuntuforums.org/showthread.php?t=2358027
I have tried that, but it doesn't work.
This related thread about firmware and old kernels sounds interesting:
viewtopic.php?t=157908
In 2021 somebody posted:
Make sure alsa-ucm-conf and sof-firmware are installed. I don't think any of these HDMI devices are your real sound card and you need sof-firmware to get your analog output running. Should you still want to try you can try to force a profile manually with e.g. pacmd set-card-profile
alsa_card.pci-0000_00_02.0-platform-hdmi-lpe-audio output:hdmi-stereo
but I still rather think that your real card is hidden by the lack of sof-firmware (check dmesg)
https://bbs.archlinux.org/viewtopic.php?id=267492
But that didn't work in that case. I can't even install sof-firmware, to my understanding because it is not included in Debian Main: https://packages.debian.org/bullseye/fi ... sof-signed
In the BIOS i can only choose between two variants of the HDMI/DP LPE Audio thing. One is pci and the other acpi. Switching there hasn't changed anything. In the forums some people were successful with setting
it to pci. Then the other sound card showed up. I don't seet it, tough, neither in alsamixer.
Here is some background info that seems relevant:
https://thesofproject.github.io/latest/ ... ction.html
One of the first things i did was to exchange pulseaudio for pipewire, as somebody suggested that that is a current package that replaces pulseaudio and might make things work. No success here, though.
Any hints anybody?