Hallo zusammen,
ich habe hier einen Rechner mit einer Onboardsoundkarte und irgendwie finde ich das Problem nicht. Es geht dabei um ein Asus Motherboard Prime H310T. Laut Asus ist da eine Realtek ALC887 on bard Karte verbaut.
Installiert ist auf dem Rechner ein Ubuntu 22.04.4 LTS mit KDE Plasma. Irgendwie bekomme ich es nicht hin mit Youtube oder Spotify eine Tonausgabe zu bekommen.
Über diese Seite habe ich versucht an die Lösung zu kommen:
https://wiki.ubuntuusers.de/Sound_Problembehebung/
Dabei gibt es folgende Ausgaben:
cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xa1310000 irq 140
lspci | grep -i audio
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
An der Karte habe ich an dem Line Out Anschluss ein Teufel System angeschlossen. Ich nutze eine Webanwendung zum Dart spielen, welche Sprachausgabe macht und ich das wunderbar auf dem Teufelsystem hören kann. Somit sollte doch an der Hardware grundsätzlich kein Problem sein.
Mit dem alsamixer habe ich mal alle möglichen Pegel auf mehr oder weniger 100% gestellt.
Allerdings höre ich bei folgendem Befehl nichts:
aplay /usr/share/sounds/alsa/Side_Left.wav
Führe ich das allerdings aus der Console mit
sudo aplay /usr/share/sounds/alsa/Side_Left.wav
aus, dann höre ich den Sound. Aber eben nicht als normaler Benutzer aufgerufen von der Console.
Auf o.a. Seite soll man dann mittels „sudo addgroup BENUTZERNAME audio“ hinzufügen. Aber auch das bringt nichts bei Aufruf mit dem Benutzer.
Der Vergleich sieht für mich auch mal normal aus:
echo normal:; aplay -l; echo sudo:; sudo aplay -l
normal: **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 sudo: **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0
Diese Seite soll ja auch noch weiter helfen, macht sie aber nicht. ☹
https://wiki.ubuntuusers.de/Sound_Problembehebung/Audio-Fehler-Beschreibung/
lspci -nnk | grep -iA2 audio
00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10) DeviceName: Onboard - Sound Subsystem: ASUSTeK Computer Inc. Cannon Lake PCH cAVS [1043:8701]
ps -C esd
PID TTY TIME CMD
ps -C arts
PID TTY TIME CMD
ps -C pulseaudio
PID TTY TIME CMD 1784 ? 00:00:06 pulseaudio
ps -C pipewire
PID TTY TIME CMD 1782 ? 00:00:00 pipewire
grep "^audio" /etc/group | grep "$USER" | wc -l
1
dpkg -l | tr -s " " | grep " alsa-"
ii alsa-base 1.0.25+dfsg-0ubuntu7 all ALSA driver configuration files ii alsa-tools 1.2.5-2 amd64 Console based ALSA utilities for specific hardware ii alsa-topology-conf 1.2.5.1-2 all ALSA topology configuration files ii alsa-ucm-conf 1.2.6.3-1ubuntu1.11 all ALSA Use Case Manager configuration files ii alsa-utils 1.2.6-1ubuntu1 amd64 Utilities for configuring and using ALSA
lsmod | grep "snd"
snd_sof_pci_intel_cnl 16384 0 snd_hda_codec_hdmi 77824 1 snd_sof_intel_hda_common 102400 1 snd_sof_pci_intel_cnl soundwire_intel 45056 1 snd_sof_intel_hda_common snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common snd_sof_pci 20480 2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common snd_sof 147456 2 snd_sof_pci,snd_sof_intel_hda_common snd_hda_codec_realtek 159744 1 snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common snd_hda_codec_generic 102400 1 snd_hda_codec_realtek snd_hda_ext_core 32768 3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda snd_soc_acpi_intel_match 61440 2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common ledtrig_audio 16384 2 snd_hda_codec_generic,snd_sof snd_soc_core 348160 4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda snd_compress 24576 1 snd_soc_core ac97_bus 16384 1 snd_soc_core snd_pcm_dmaengine 16384 1 snd_soc_core snd_hda_intel 53248 3 snd_intel_dspcfg 28672 2 snd_hda_intel,snd_sof_intel_hda_common snd_intel_sdw_acpi 20480 2 snd_sof_intel_hda_common,snd_intel_dspcfg snd_hda_codec 163840 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda snd_hda_core 110592 9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda snd_hwdep 16384 1 snd_hda_codec snd_pcm 143360 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine snd_seq_midi 20480 0 snd_seq_midi_event 16384 1 snd_seq_midi snd_rawmidi 49152 1 snd_seq_midi snd_seq 77824 2 snd_seq_midi,snd_seq_midi_event snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi snd_timer 40960 3 snd_seq,snd_pcm snd 106496 17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compresssnd_soc_core,snd_pcm,snd_rawmidi soundcore 16384 1 snd
head -n 3 /proc/asound/card0/codec#0
Codec: Realtek ALC887-VD Address: 0 AFG Function Id: 0x1 (unsol 1)
head -n 3 /proc/asound/card0/codec97#0/ac97#0-0
head: cannot open '/proc/asound/card0/codec97#0/ac97#0-0' for reading: No such file or directory
head -n 3 /proc/asound/card0/codec97#0/ac97#0-0+regs
head: cannot open '/proc/asound/card0/codec97#0/ac97#0-0+regs' for reading: No such file or directory
cat ~/.asoundrc
cat: /home/meinuser/.asoundrc: No such file or directory
cat ~/.asoundrc.asoundconf
cat: /home/meinuser/.asoundrc.asoundconf: No such file or directory
cat /etc/asound.conf
cat: /etc/asound.conf: No such file or directory
Die ganzen „No such file or directory“ am Schluss sind bestimmt nicht hilfreich oder?
Nur was ist da falsch? Es wäre super, wenn mir jemand behilflich sein könnte. Danke schon mal für Eure Hilfe.