我的ThinkBook 14 s-IWL笔记本电脑已经没有声音运行Ubuntu22.04.1了。
我已经尝试了一切:重新启动,定期关机,apt更新,更新GRUB,尝试安装pipewire/wireplumber/pipewire会话媒体,看看这是否有效,没有任何进展。
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: Generic Digital [Generic Digital]
Subdevices: 0/1
Subdevice #0: subdevice #0
$ cat /proc/asound/modules
0 snd_hda_intel
$ lspci -v | grep -A7 -i "audio"
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30) (prog-if 80)
Subsystem: Lenovo Cannon Point-LP High Definition Audio Controller
Flags: bus master, fast devsel, latency 64, IRQ 16
Memory at c131c000 (64-bit, non-prefetchable) [size=16K]
Memory at c1000000 (64-bit, non-prefetchable) [size=1M]
Capabilities:
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_cnl
$ systemctl --user status pipewire-session-manager.service
Warning: The unit file, source configuration file or drop-ins of pipewire-session-manager.service changed on disk. Run 'systemctl --user daemon-reload' to reload units.
○ pipewire-session-manager.service
Loaded: error (Reason: Unit pipewire-session-manager.service failed to load properly, please adjust/correct and reload service manager: File exists)
Active: inactive (dead)
Aug 11 08:58:40 thinkbook systemd[2609]: pipewire-session-manager.service: Cannot add dependency job, ignoring: Unit pipewire-session-manager.service failed to load properly, please adjust/correct and reload service manager: File exists
Aug 11 19:27:44 thinkbook systemd[2609]: pipewire-session-manager.service: Cannot add dependency job, ignoring: Unit pipewire-session-manager.service failed to load properly, please adjust/correct and reload service manager: File exists
$ systemctl --user daemon-reload
好像什么都没做。终端没有抱怨,但我仍然没有音频。
$ pactl info | grep '^Server Name'
Server Name: PulseAudio (on PipeWire 0.3.48)
$ aplay -l | grep HDMI
什么都不回。
编辑:在把我的3.5mm耳机插入耳机插孔并重新启动后,我的耳机就能发出声音。但如果我拔掉耳机,我就没有声音了。
编辑2:现在我没有声音了。我一直在更新和升级Ubuntu,但仍然没有修复。
发布于 2022-09-20 10:09:28
我也遇到了同样的问题,我从从21.10升级到22.04之后没有列出声音输出设备那里找到了一个解决方案:
sudo touch /usr/share/pipewire/media-session.d/with-pulseaudio
systemctl --user restart pipewire-session-manager
发布于 2022-08-21 09:17:02
升级后我也犯了同样的错误。对我来说,一个临时的解决方案是
$ systemctl --user restart pipewire pipewire-pulse
每次穿靴子之后。最后我发现/usr/share/pipewire/media-session.d
失踪了
$ ls -ld /usr/share/pipewire/media-session.d
ls: cannot access '/usr/share/pipewire/media-session.d': No such file or directory
和
$ sudo apt --reinstall install pipewire-media-session
帮我解决了这个问题。因特网上的一些报告说,您可能希望在重新安装之前创建这个目录(可能不需要IMHO )。
编辑:尽管音频在此之后为我工作,但错误消息
mod.rt: could not set nice-level to -11: Permission denied
留下,最后我也不得不追加
@audio - nice -20
以/etc/security/limits.conf
(作为在这里看到的)从日志中删除任何错误消息。(重新安装rtkit
也不适合我)
我检查了日志是否干净:
journalctl -b 0 --user-unit=pipewire --user-unit=pipewire-pulse --user-unit=pipewire-media-session --user-unit=init.scope
发布于 2023-03-24 10:10:47
在从Ubuntu20.04LTS升级到Ubuntu22.04LTS之后,我也犯了类似的错误。内部扬声器和内部麦克风都不能工作,外部设备也不能工作。
What为我工作过
我可以通过安装firmware-sof-signed
来使扬声器工作:
sudo apt install firmware-sof-signed
通过安装alsa-ucm-conf
(来自https://ubuntuforums.org/showthread.php?t=2479854&p=14127685#post14127685,Post #7),我可以让麦克风再次工作:
sudo apt install alsa-ucm-conf
我也尝试了很多其他的东西(见下文)。虽然我总是很小心地恢复我所做的更改,当结果证明它们不起作用时,我不完全确定上面的更改是否足够,或者它是否只与我尝试过的其他事情结合使用。
System信息
联想瑜伽7i 15 (15IMH 05)
Ubuntu 22.04.2 LTS
内核: Linux 5.19.0-35-泛型
音频编解码器
Codec: Nvidia GPU 94 HDMI/DP
Codec: Realtek ALC287
Codec: Intel Kabylake HDMI
Things --我试过让我的扬声器工作,而不是麦克风
options snd-hda-intel dmic_detect=0
添加到/etc/modprobe.d/alsa-base.conf
并重新启动cat /proc/asound/card*/codec* | grep Codec
获取音频编解码器/etc/modprobe.d/alsa-base.conf
文件,并添加以下行,将替换为来自https://kernel.org:options snd-hda-intel model=
的自己的模型<#>Things --我试过--这对我来说不起作用--
https://askubuntu.com/questions/1423121
复制相似问题