我试图使用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信息脚本可以在这里找到。
如有任何帮助,我们将不胜感激。
使用aplay l
后,我患上了aplay: device_list:268: No sound card found...
。根据下面的Ubuntu故障排除指南,我安装了apt install linux-generic
,重新启动后,它在ova的Ubuntu服务器20.04中的VirtualBox中找到了我的声卡。
https://help.ubuntu.com/community/SoundTroubleshooting