如何修复:device_list:270:未找到声卡(Ubuntu server 18.04)?

3
我正在尝试使用USB麦克风录制音频,但出现了标题中提到的错误消息。
以下是一些(希望相关的)命令输出:
arecord -l
arecord: device_list:270: no soundcards found...

ls /cat/asound*
ls: cannot access '/cat/asound*': No such file or directory

lspci -v
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Hewlett-Packard Company 7 Series/C216 Chipset Family High Definition Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 29
Memory at f7c30000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

我尝试过重新删除和安装alsa,当我运行以下命令时:
sudo arecord -l

输出结果为:
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC221 Analog [ALC221 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: ALC221 Alt Analog [ALC221 Alt Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

我猜Ubuntu已经识别了我的声卡。可以在这里找到ALSA信息脚本(点击此处)。如有需要,我们将非常乐意提供帮助。
1个回答

0

在使用aplay l后,我遇到了aplay: device_list:268: No sound card found...的问题。按照下面Ubuntu故障排除指南的建议,我安装了apt install linux-generic,并在重新启动后,在ova中的Ubuntu Server 20.04中找到了我的VirtualBox声卡。

https://help.ubuntu.com/community/SoundTroubleshooting


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接