我刚买了一台联想 IdeaPad Pro 5 (16ARP8),安装了 Ubuntu 22.04.3。一切运行正常,直到我尝试接听电话时才发现内置麦克风不工作,事实上系统根本无法识别。
这不是硬件缺陷,因为麦克风在 Windows 中正常工作:
patrick@patrick-IdeaPad-Pro-5-16ARP8:~$ inxi -Fxz
System:
Kernel: 6.2.0-37-generic x86_64 bits: 64 compiler: N/A Desktop: GNOME 42.9
Distro: Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Machine:
Type: Laptop System: LENOVO product: 83AS v: IdeaPad Pro 5 16ARP8
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0T76463 WIN
serial: <superuser required> UEFI: LENOVO v: L0CN25WW date: 05/23/2023
Battery:
ID-1: BAT0 charge: 13.6 Wh (17.5%) condition: 77.5/75.0 Wh (103.4%)
volts: 14.9 min: 15.6 model: SMP L22M4PF5 status: Discharging
CPU:
Info: 8-core model: AMD Ryzen 7 7735HS with Radeon Graphics bits: 64
type: MT MCP arch: Zen 3 rev: 1 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
Speed (MHz): avg: 1546 high: 1600 min/max: 1600/4828 boost: disabled
cores: 1: 1371 2: 1600 3: 1600 4: 1391 5: 1600 6: 1581 7: 1600 8: 1419
9: 1381 10: 1600 11: 1600 12: 1600 13: 1600 14: 1600 15: 1600 16: 1600
bogomips: 102206
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Rembrandt vendor: Lenovo driver: amdgpu v: kernel
bus-ID: 73:00.0
Device-2: Acer Integrated RGB Camera type: USB driver: uvcvideo
bus-ID: 5-1:2
Display: wayland server: X.Org v: 1.22.1.1 with: Xwayland v: 22.1.1
compositor: gnome-shell driver: gpu: amdgpu resolution: 2560x1600~120Hz
OpenGL:
renderer: REMBRANDT (rembrandt LLVM 15.0.7 DRM 3.49 6.2.0-37-generic)
v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
Device-1: AMD vendor: Lenovo driver: snd_hda_intel v: kernel
bus-ID: 73:00.1
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: Lenovo driver: snd_pci_acp6x v: kernel bus-ID: 73:00.5
Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 73:00.6
Sound Server-1: ALSA v: k6.2.0-37-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Realtek vendor: Lenovo driver: rtw89_8852ce v: kernel port: 4000
bus-ID: 01:00.0
IF: wlp1s0 state: up mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
bus-ID: 3-3:2
Report: hciconfig ID: hci0 rfk-id: 2 state: down
bt-service: enabled,running rfk-block: hardware: no software: no
address: <filter>
Drives:
Local Storage: total: 476.94 GiB used: 11.3 GiB (2.4%)
ID-1: /dev/nvme0n1 vendor: Lenovo model: UMIS RPJTJ512MKP1QDY
size: 476.94 GiB temp: 28.9 C
Partition:
ID-1: / size: 95.56 GiB used: 11.23 GiB (11.8%) fs: ext4
dev: /dev/nvme0n1p5
ID-2: /boot/efi size: 256 MiB used: 70.2 MiB (27.4%) fs: vfat
dev: /dev/nvme0n1p1
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 38.0 C mobo: N/A gpu: amdgpu temp: 38.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 398 Uptime: 4m Memory: 13.33 GiB used: 2.23 GiB (16.7%)
Init: systemd runlevel: 5 Compilers: gcc: 11.4.0 Packages: 1810 Shell: Bash
v: 5.1.16 inxi: 3.3.13
以下是我迄今为止尝试过的:
- 安装 PulseAudio Volume Control 并检查
我还尝试解锁频道并将左边的频道设置为零(有人建议这样做):
按照本教程更改了 /etc/modprobe.d/alsa-base.conf 中的输入通道:https://candid.technology/ubuntu-microphone-not-working/
尝试安装缺少的编解码器,但对于我的声卡来说,这里没有合适的编解码器名称:https://www.kernel.org/doc/html/latest/sound/hd-audio/models.html
至少我发现编解码器显然是 Realtek ALC257 [CODE]cat /proc/asound/card*/codec* | grep Codec Codec: ATI R6xx HDMI Codec: Realtek ALC257[/CODE]
- 偶然发现有关 ALC257 的类似问题并尝试了它的解决方案:https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1904213
临时解决方案发布在这里(虽然我认为它不适用于我的硬件):https://github.com/thesofproject/linux/issues/2460#issuecomment-779212719
根据以下情况禁用 Realtek 驱动程序模块:http://mreen.epizy.com/SoundFixTips2.html?i=1
根据有类似问题和 ALC256 的教程更新了 SOF 驱动程序:https://forums.linuxmint.com/viewtop...?f=42&t=373391
从 USB 启动最新的 Ubuntu 23.10,并检查声音设置,结果仍然是空的
我发现了一个 Arch 论坛,其中讨论了我在使用 ALC257 时遇到的问题:https://bbs.archlinux.org/viewtopic.php?pid=2056452显然,ALC257 是耳机/音频插孔,而不是内置麦克风。我的输出几乎相同,但我使用的是 Raven/Raven2/FireFlight/Renoir 音频处理器,而不是答案 #5 中的 ACP/ACP3X/ACP6x 音频协处理器:
lspci | grep Audio
73:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1640
73:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 60)
73:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
线程中的解决方案是启用 snd_pci_acp6x 驱动程序及其对内核配置的 DMIC 支持。我希望对 Raven/Raven2/FireFlight/Renoir 音频处理器做类似的事情。现在我以前从未做过这样的事情,也不确定如何在 Ubuntu 中做到这一点。
有人能告诉我怎么做吗(系统是新的,如果它坏了也不用担心)或者有其他想法可以尝试吗?
谢谢,帕特里克
答案1
我有相同的型号和操作系统。我遇到了同样的问题。我的配置是(详细的硬件信息在这里):
product: 83AS (LENOVO_MT_83AS_BU_idea_FM_IdeaPad Pro 5 16ARP8)
base board product name: LNVNB161216
vendor: LENOVO
version: IdeaPad Pro 5 16ARP8
OS: Ubuntu 23.10 (mantic), Linux kernel:6.5.0-15-generic
我怀疑内核与我们的笔记本产品不匹配,正如这个错误所描述的:216270 – 华硕 Zenbook S 13 OLED 2022(UM5302TA)内置麦克风不起作用。您可以在这里看到内核源代码。
这个线程中提到了内核的错误:[已解决] ALSA:无法通过内置麦克风输入(Ryzen 6000)/ 笔记本电脑问题 / Arch Linux 论坛。