![金士頓 HyperX amp USB 音效卡:未偵測到麥克風 (Ubuntu 18.04)](https://rvso.com/image/922399/%E9%87%91%E5%A3%AB%E9%A0%93%20HyperX%20amp%20USB%20%E9%9F%B3%E6%95%88%E5%8D%A1%EF%BC%9A%E6%9C%AA%E5%81%B5%E6%B8%AC%E5%88%B0%E9%BA%A5%E5%85%8B%E9%A2%A8%20(Ubuntu%2018.04).png)
Ubuntu 的聲音設定中未顯示 HyperX amp USB 音效卡的麥克風。聲音輸出工作正常。
$ lsusb
Bus 001 Device 013: ID 0951:16d8 Kingston Technology
$ arecord -l
**** List of CAPTURE Hardware Devices ****
...
card 3: Amp [HyperX Amp], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ alsamixer -c 3
cannot load mixer controls: Invalid argument
有什麼辦法可以將麥克風與音效卡一起使用嗎?
謝謝
答案1
我為解決後來的耳機問題而寫了這篇文章,它應該仍然適用於您。簡而言之,您的核心太舊了,因為這是他們修復的第一個 HyperX 怪癖。更長的答案是:
這核心更新在 5.7rc3 中引入了針對此問題的補丁(專門針對此耳機)。修補後,您的 dmesg 輸出應該有一行如下所示:
[ 6.804026] kernel: usb 1-1: Found post-registration device assignment: 095116ea:02
alsa 配置文件指出:
Module snd-usb-audio
--------------------
...
delayed_register
The option is needed for devices that have multiple streams
defined in multiple USB interfaces. The driver may invoke
registrations multiple times (once per interface) and this may
lead to the insufficient device enumeration.
This option receives an array of strings, and you can pass
ID:INTERFACE like ``0123abcd:4`` for performing the delayed
registration to the given device. In this example, when a USB
device 0123:abcd is probed, the driver waits the registration
until the USB interface 4 gets probed.
The driver prints a message like "Found post-registration device
assignment: 1234abcd:04" for such a device, so that user can
notice the need.
因此,利用從 dmesg 獲得的上述資訊以及配置文件中所需的字段,將其添加到 alsa-base.conf 的末尾
# Add delayed register for HyperX Cloud Flight S Headset
options snd-usb-audio delayed_register=095116ea:02
然後重新啟動,您應該能夠按預期看到耳機和設定檔。
附帶說明一下,snd-usb-audio 模組中有另一個選項
quirk_alias
Quirk alias list, pass strings like ``0123abcd:5678beef``, which
applies the existing quirk for the device 5678:beef to a new
device 0123:abcd.
這讓我相信您可以複製內核 5.4 為“Kingston HyperX AMP”編寫的怪癖並將其應用到這款耳機,以及添加延遲寄存器,並且它可以在 5.7 之前工作。由於我已經硬著頭皮升級了內核,所以我不會回去檢查。如果有人成功了,請告訴我,我會在這裡更新帖子。它應該像下面一樣簡單:
options snd-usb-audio quirk_alias=095116ea:095116d8 delayed_register=095116ea:02
讓我知道!