Hallo an alle,
nachdem ich auf meinen Lenovo Thinkpad X12 Detachable Gen1 Kubuntu vom Stick ausprobiert hatte und zufrieden feststellte, dass alle wichtigen Dinge out-of-the-box liefen, habe ich Ubuntu Server (im Dualbootbetrieb) auf einer verschlüsselten Partition installiert und dann kubuntu-desktop nachinstalliert. Soweit so gut.
Da ich auch gerne mein Display drahtlos an unsere Microsoft-Irgendwas-Network-Adapter in meiner Arbeit übetragen möchte, habe ich erfolglos versucht, das Paket gnome-network-diplays zu übersetzen und zu installieren. Aber egal. Das Problem ist aber nun, dass es bei den Plasma-Einstellungen keine Audiogeräte mehr gibt.
Da nach meiner Erinnerung vor meinem Installationsversuch der Ton noch lief und danach nicht mehr, gehe ich davon aus, dass ich beim Installieren und anschließenden Deinstallieren irgendwelcher Abhängigkeiten mein System zerschossen habe. Wenn ich Kubuntu wieder vom Stick starte, funktioniert der Ton einwandfrei.
Natürlich habe ich viele Threads gelesen und darin beschriebene Dinge (Gruppe audio, speziellen Treiber mit Grub aktivieren, pulseaudio confs löschen usw.) probiert, aber leider alles ohne Erfolg. Kann mir jemand helfen?
Hier ein paar Systeminfos:
root@thinkpad:~# lsb_release -d
Description: Ubuntu 22.04.1 LTS
-------------------------------------------------------------------
root@thinkpad:~# uname -a
Linux thinkpad 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
-------------------------------------------------------------------
root@thinkpad:~# cat /proc/asound/cards
0 [sofhdadsp ]: sof-hda-dsp - sof-hda-dsp
LENOVO-20UVS23U00-ThinkPadX12DetachableGen1
-------------------------------------------------------------------
root@thinkpad:~# inxi -A
Audio:
Device-1: Intel driver: intel-ipu6
Device-2: Intel Tiger Lake-LP Smart Sound Audio
driver: sof-audio-pci-intel-tgl
Sound Server-1: ALSA v: k5.15.0-43-generic running: yes
Sound Server-2: PipeWire v: 0.3.48 running: yes
-------------------------------------------------------------------
root@thinkpad:~# hwinfo --sound
16: PCI 1f.3: 0401 Multimedia audio controller
[Created at pci.386]
Unique ID: nS1_.hXvmedQjKaA
SysFS ID: /devices/pci0000:00/0000:00:1f.3
SysFS BusID: 0000:00:1f.3
Hardware Class: sound
Model: "Intel Tiger Lake-LP Smart Sound Technology Audio Controller"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0xa0c8 "Tiger Lake-LP Smart Sound Technology Audio Controller"
SubVendor: pci 0x17aa "Lenovo"
SubDevice: pci 0x508b
Revision: 0x20
Driver: "sof-audio-pci-intel-tgl"
Driver Modules: "snd_sof_pci_intel_tgl"
Memory Range: 0x601e198000-0x601e19bfff (rw,non-prefetchable)
Memory Range: 0x601e000000-0x601e0fffff (rw,non-prefetchable)
IRQ: 164 (1695 events)
Module Alias: "pci:v00008086d0000A0C8sv000017AAsd0000508Bbc04sc01i00"
Driver Info #0:
Driver Status: snd_hda_intel is active
Driver Activation Cmd: "modprobe snd_hda_intel"
Driver Info #1:
Driver Status: snd_sof_pci_intel_tgl is active
Driver Activation Cmd: "modprobe snd_sof_pci_intel_tgl"
Config Status: cfg=new, avail=yes, need=no, active=unknown
-------------------------------------------------------------------
root@thinkpad:~# aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: sofhdadsp [sof-hda-dsp], Gerät 0: HDA Analog (*) []
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: sofhdadsp [sof-hda-dsp], Gerät 1: HDA Digital (*) []
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: sofhdadsp [sof-hda-dsp], Gerät 3: HDMI1 (*) []
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: sofhdadsp [sof-hda-dsp], Gerät 4: HDMI2 (*) []
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: sofhdadsp [sof-hda-dsp], Gerät 5: HDMI3 (*) []
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
-------------------------------------------------------------------
root@thinkpad:~# aplay /usr/share/sounds/alsa/Front_Center.wav
Wiedergabe: WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate: 48000 Hz, monoDabei ist tatsächlich "Front Center" über die Lautsprecher zu hören! Wenn ich das aber als normaler user mache leider nicht. Ich habe natürlich meinen Standarduser zur Gruppe "audio" hinzugefügt. Wenn ich mich als root einlogge und Plasma über startx starte, werden mit trotzdem keine Audiogeräte angezeigt.
root@thinkpad:~# lspci -nnk | grep -iA2 audio
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller [8086:a0c8] (rev 20)
Subsystem: Lenovo Tiger Lake-LP Smart Sound Technology Audio Controller [17aa:508b]
Kernel driver in use: sof-audio-pci-intel-tgl
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-LP SMBus Controller [8086:a0a3] (rev 20)
-------------------------------------------------------------------
root@thinkpad:~# ps -C esd
PID TTY TIME CMD
-------------------------------------------------------------------
root@thinkpad:~# ps -C arts
PID TTY TIME CMD
-------------------------------------------------------------------
root@thinkpad:~# ps -C pulseaudio
PID TTY TIME CMD
Wenn ich auf der Konsole als normaler user pulseaudio starte erhalte ich: (Ton geht allerdings trotzdem nicht)
root@thinkpad:~# ps -C pulseaudio
PID TTY TIME CMD
4933 pts/4 00:00:00 pulseaudio
-------------------------------------------------------------------
jan@thinkpad:~$ grep "^audio" /etc/group | grep "$USER" | wc -l
1
-------------------------------------------------------------------
jan@thinkpad:~$ dpkg -l | tr -s " " | grep " alsa-"
ii alsa-base 1.0.25+dfsg-0ubuntu7 all ALSA driver configuration files
ii alsa-topology-conf 1.2.5.1-2 all ALSA topology configuration files
ii alsa-ucm-conf 1.2.6.3-1ubuntu1 all ALSA Use Case Manager configuration files
ii alsa-utils 1.2.6-1ubuntu1 amd64 Utilities for configuring and using ALSA
-------------------------------------------------------------------
jan@thinkpad:~$ lsmod | grep "snd"
snd_ctl_led 24576 0
snd_soc_skl_hda_dsp 28672 6
snd_soc_intel_hda_dsp_common 20480 1 snd_soc_skl_hda_dsp
snd_soc_hdac_hdmi 36864 1 snd_soc_skl_hda_dsp
snd_soc_dmic 16384 1
snd_hda_codec_hdmi 73728 1
snd_hda_codec_realtek 151552 1
snd_hda_codec_generic 102400 1 snd_hda_codec_realtek
snd_sof_pci_intel_tgl 16384 0
snd_sof_intel_hda_common 98304 1 snd_sof_pci_intel_tgl
soundwire_intel 40960 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_tgl
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
snd_sof 143360 2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
snd_hda_ext_core 32768 4 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_acpi_intel_match 61440 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
snd_soc_core 331776 7 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_dmic,snd_soc_skl_hda_dsp
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 0
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 155648 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_intel_hda_dsp_common,snd_soc_hdac_hda,snd_soc_skl_hda_dsp
snd_hda_core 110592 11 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_intel_hda_dsp_common,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 139264 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compresssnd_soc_core,snd_hda_core,snd_pcm_dmaengine
ledtrig_audio 16384 4 snd_ctl_led,snd_hda_codec_generic,snd_sof,thinkpad_acpi
snd_seq_midi 20480 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 49152 1 snd_seq_midi
snd_seq 73728 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer 40960 2 snd_seq,snd_pcm
snd 102400 29 snd_ctl_led,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_soc_hdac_hdmi,snd_compress,thinkpad_acpi,snd_soc_core,sn_pcm,snd_soc_skl_hda_dsp,snd_rawmidi
soundcore 16384 2 snd_ctl_led,snd
-------------------------------------------------------------------
jan@thinkpad:~$ head -n 3 /proc/asound/card0/codec#0
Codec: Realtek ALC287
Address: 0
AFG Function Id: 0x1 (unsol 1)
-------------------------------------------------------------------
jan@thinkpad:~$ head -n 3 /proc/asound/card0/codec97#0/ac97#0-0
head: '/proc/asound/card0/codec97#0/ac97#0-0' kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
-------------------------------------------------------------------
jan@thinkpad:~$ head -n 3 /proc/asound/card0/codec97#0/ac97#0-0+regs
head: '/proc/asound/card0/codec97#0/ac97#0-0+regs' kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
-------------------------------------------------------------------
jan@thinkpad:~$ cat ~/.asoundrc
cat: /home/jan/.asoundrc: Datei oder Verzeichnis nicht gefunden
-------------------------------------------------------------------
jan@thinkpad:~$ cat ~/.asoundrc.asoundconf
cat: /home/jan/.asoundrc.asoundconf: Datei oder Verzeichnis nicht gefunden
-------------------------------------------------------------------
root@thinkpad:~# cat /etc/asound.conf
cat: /etc/asound.conf: Datei oder Verzeichnis nicht gefundenLasse ich Kubuntu direkt vom Stick laufen (Ton geht) erhalte ich:
kubuntu@kunbuntu:~$ sudo inxi -A
Audio:
Device-1: Intel driver: N/A
Device-2: Intel Tiger Lake-LP Smart Sound Audio
driver: sof-audio-pci-intel-tgl
Sound Server-1: ALSA v: k5.15.0-25-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yesScheint so, als ob pulseaudio bei mir irgendwie nicht richtig läuft.
Kann mir jemand einen Tipp geben? Ich hoffe, dass ich nicht alles platt machen und neu installieren muss.