みちのいに!!

自分のメモと、他にもハマる人がいそうなことを書く

LinuxでUSB接続のAudioインターフェイスから音が出ない

表題の通り 忘れないうちに取り急ぎ

OSはArchLinux

認識されているのか?

$ cat /proc/asound/modules
0 snd_hda_intel
1 snd_hda_intel

snd_usb_audioが出力されるはずですがされていません.

dmesgをしてみても,

cannot find the slot for index 0 (range 0-1)

とエラーが出ています.

対処

/etc/modprobe.d/alsa-base.confに優先順位を設定します.snd_hda_intelが2つあって区別ができないので,Vendor IDを指定します.

Vendor ID はlspci -nnのさいごの[8086:aa3e]の8086の部分です.

/etc/modprobe.d/alsa-base.conf

options snd slots=snd-usb-audio,snd-hda-intel
optioins snd-hda-intel index=1,2 vid=8086,10de
options snd-usb-audio index=0

indexが0に近いほうが優先になります.