问题摘要

问题摘要

问题摘要

  • 仅显示一个声音输出设备,可同时输出到扬声器和耳机。
    • 也就是说,Pavucontrol 中只有一个端口,并且只有一行pactl list | grep 'Active Port.*output.*'
  • 因此,在使用耳机听音乐时不可能将扬声器静音。
  • 这两个输出在 Windows 中可以正常工作。

如果有人能帮助我解决这个问题,我将非常感激,因为我很困惑,找不到任何有用的东西。

系统

  • 硬件:联想 Thinkpad E495
    • 已更新至最新固件/BIOS。
    • 制造商没有提供较新的驱动程序。
  • Ubuntu 21.04
    • Kubuntu 变体
    • 内核 5.11
  • 全新安装;已更新apt update; apt upgrade但未安装其他软件。

到目前为止我尝试过的

卸载 linux-sound-base、alsa-base 和 alsa-utils,然后重新安装它们。

查看 AlsaMixer 中的设备;Master、PCM、Mic Boost 和 Beep 是可见的设备。Master 控制扬声器和耳机。

编辑 /etc/modprobe.d/alsa-base.conf 以添加

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=thinkpad

用 再试一次model=auto probe_mask=1

在上述每个操作之间取下并重新插入耳机。

可能相关的信息

输出alsactl restore

alsactl: load_state:1683: Cannot open /var/lib/alsa/asound.state for reading: No such file or directory
alsa-lib parser.c:260:(error_node) UCM is not supported for this HDA model (HD-Audio Generic at 0xd06c8000 irq 79)
alsa-lib main.c:1014:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6
Found hardware: "HDA-Intel" "ATI R6xx HDMI" "HDA:1002aa01,00aa0100,00100700" "0x17aa" "0x5124"
Hardware is initialized using a generic method
alsa-lib parser.c:260:(error_node) UCM is not supported for this HDA model (HD-Audio Generic at 0xd06c0000 irq 80)
alsa-lib main.c:1014:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -6
Found hardware: "HDA-Intel" "Conexant CX8070" "HDA:14f11f86,17aa5124,00100100" "0x17aa" "0x5124"
Hardware is initialized using a generic method

输出dmesg | grep -i "snd|firmware"

ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead
[drm] Found VCN firmware Version ENC: 1.12 DEC: 2 VEP: 0 Revision: 5
[drm] PSP loading VCN firmware
snd_pci_acp3x 0000:05:00.5: enabling device (0000 -> 0002)
snd_pci_acp3x 0000:05:00.5: ACP audio mode : 2
Bluetooth: hci0: RTL: assuming no firmware upload needed
snd_hda_intel 0000:05:00.1: enabling device (0000 -> 0002)
snd_hda_intel 0000:05:00.1: Handle vga_switcheroo audio client
snd_hda_intel 0000:05:00.6: enabling device (0000 -> 0002)
snd_hda_intel 0000:05:00.1: bound 0000:05:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
snd_hda_codec_conexant hdaudioC1D0: CX8070: BIOS auto-probing.
snd_hda_codec_conexant hdaudioC1D0: autoconfig for CX8070: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
snd_hda_codec_conexant hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
snd_hda_codec_conexant hdaudioC1D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
snd_hda_codec_conexant hdaudioC1D0:    mono: mono_out=0x0
snd_hda_codec_conexant hdaudioC1D0:    inputs:
snd_hda_codec_conexant hdaudioC1D0:      Internal Mic=0x1a
snd_hda_codec_conexant hdaudioC1D0:      Mic=0x19
rtw_8822be 0000:04:00.0: Firmware version 27.2.0, H2C version 13
psmouse serio2: trackpoint: Elan TrackPoint firmware: 0x11, buttons: 3/3
rtw_8822be 0000:04:00.0: firmware failed to leave lps state
rtw_8822be 0000:04:00.0: firmware failed to leave lps state
rtw_8822be 0000:04:00.0: firmware failed to leave lps state
rtw_8822be 0000:04:00.0: firmware failed to leave lps state
snd_pci_acp3x 0000:05:00.5: ACP audio mode : 2
snd_pci_acp3x 0000:05:00.5: ACP audio mode : 2
snd_pci_acp3x 0000:05:00.5: ACP audio mode : 2
snd_pci_acp3x 0000:05:00.5: ACP audio mode : 2

输出aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: CX8070 Analog [CX8070 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

相关内容