我正在关注这Ubuntu 帮助页面。此方法不控制音频输出。
配置详细信息
1)声卡详细信息(连接后USB 音频适配器)
~$ cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7910000 irq 32
1 [Device ]: USB-Audio - USB PnP Sound Device
C-Media Electronics Inc. USB PnP Sound Device at usb-0000:00:14.0-2, full speed
2)带地址的USB设备
~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 002: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller
/etc/modprobe.d/alsa-base
3)文件相关部分
# Keep snd-pcsp from being loaded as first soundcard
# options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
# options snd-usb-audio index=-2
#USB Magic, part1
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-usb-audio
options snd-hda-intel index=0
options snd-usb-audio index=1 vid=0x0d8c pid=0x013c