小米 Redmibook 上的 Ubuntu 耳机麦克风无法使用

小米 Redmibook 上的 Ubuntu 耳机麦克风无法使用

我买了一个HyperX CloudX - 游戏耳机,但我无法让它在 Ubuntu 上运行。

这款耳机在不同的 Windows 机器上开箱后就能完美运行。

我尝试编辑 alsa-base.conf。这是当前版本,我也尝试过“auto”,但效果不好。

options snd-hda-intel model=dell-headset-multi,headset-mic,headset-mode,headphone-mic-pin

我用 hdajackrestack 编辑了插孔。18 和 19 端口现在被麦克风覆盖。它有助于在连接耳机时获取选项菜单(耳机/耳机/麦克风)。机器可以看到麦克风,但不录制任何声音。pavucontrol 也可以看到麦克风,但那里也是静音的。它有 3 个选项 - 内部麦克风和耳机已拔出,一个麦克风已插入但静音。

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 1: Generic_1 [HD-Audio Generic], device 0: ALC256 Analog [ALC256 Analog]
Subdevices: 0/1 Subdevice #0: subdevice #0

lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
01:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
02:00.0 Non-Volatile memory controller: Toshiba Corporation XG6 NVMe SSD Controller
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] (rev c2) 
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
03:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
03:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1 
03:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1 
03:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
03:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller

cat /proc/asound/cards 0 [通用]:HDA-Intel - HD-Audio 通用 HD-Audio 通用位于 0xc07c8000 irq 118 1 [Generic_1]:HDA-Intel - HD-Audio 通用 HD-Audio 通用位于 0xc07c0000 irq 119

lspci -v | grep -i audio

03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
    Subsystem: Xiaomi Raven/Raven2/Fenghuang HDMI/DP Audio Controller
03:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
    Subsystem: Xiaomi ACP/ACP3X/ACP6x Audio Coprocessor
03:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
    Subsystem: Xiaomi Family 17h/19h HD Audio Controller

相关内容