August 05, 2020, 04:21:09 am


Have you visited the Allwinner Chipset wiki? -

Alsa usb sound, how to index usb sound card as 0 or default / Debian

Started by urfunktronik, July 21, 2013, 03:41:21 pm

Previous topic - Next topic


Hi, this is my first post.
I just got my cubieboard and the plan is to build a solid state audio recorder together with my fancy soundcard (sound devices usbpre2).

First i installed debian server for a10 (
Did updates and upgrades.

Then i installed alsa-base and alsa-utils
I also installed sox.

Plugged in my usb sound card and it showed up using aplay -l

Now i can play audio thru the onboard sound and its working just fine.

After this i wanted to index my usb audio card as nummber 0, default.

Here is where I'm running in to trouble;

In /etc/modprobe.d/alsa-base.conf i tried changing; options snd-usb-audio index=X.
This is working fine, as long as i make the index higher then 1.
Index=2 works, also does 3, 4, 5 and 6, it shows up with aplay - l with the number i chose.

But, if i make it index options snd-usb-audio index=0 and try running aplay -l, its gone from the list.

Is there something more to this?
Maybe there is another file except from alsa-base.conf witch sets the sound card indexing?

Optimal for me would be to totally disable all other sound except for usb-audio.
I want to try blacklisting all other audio drivers, tough i don't understand the procedure to do this.

Any help or comforting will do.

root@debian:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sun4icodec [sun4i-CODEC], device 0: M1 PCM [sun4i PCM]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sun4isndhdmi [sun4i-sndhdmi], device 0: SUN4I-HDMIAUDIO sndhdmi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: USBPre2 [USBPre2], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0