Hello everybody,
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:journalctl -k | grep -Ei "snd|sound|audio|multi" gets me:To check what soundcard there is, i did:That seems to indicate the soundcard is rt5645. rt should stand for Realtek.
The driver seems to be there, too:There are some codecs / config files, too:In 2019, the kernel was lacking something for this soundcard, but that should have been fixed:
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?
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:
/proc/asound/cards shows only: Intel HDMI/DP LPE Audio
Code:
HDaudio controller not detected, using LPE audio instead
Code:
sudo lsmod | grep -Ei "snd|sound|audio|multi"Result:snd_seq_dummy 16384 0snd_hrtimer 16384 1snd_seq 90112 7 snd_seq_dummysnd_seq_device 16384 1 snd_seqsnd_hdmi_lpe_audio 32768 1snd_soc_rt5645 180224 0snd_soc_rl6231 20480 1 snd_soc_rt5645snd_soc_core 352256 1 snd_soc_rt5645snd_compress 28672 1 snd_soc_coresnd_pcm 159744 4 snd_compress,snd_hdmi_lpe_audio,snd_soc_core,snd_soc_rt5645snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcmsnd 126976 11 snd_seq,snd_seq_device,snd_timer,snd_compress,snd_hdmi_lpe_audio,snd_soc_core,snd_pcmsoundcore 16384 1 snd
The driver seems to be there, too:
Code:
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:
/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?
Statistics: Posted by rara — 2024-11-26 22:14 — Replies 4 — Views 100