Re: [Alsa-user] usb sound card - device order

2015-05-05 Thread Legreg Accounts
Yep thanks, but I had also done the test by commenting this line: #options snd-usb-audio index=-2 But with the same result (and yes, I reboot every time because I'm not sure "/etc/init.d/alsa-utils restart" is enough). Below are all the steps: 1) my /etc/modprobe.d/alsa-base.conf (I'm on Debian w

Re: [Alsa-user] usb sound card - device order

2015-05-05 Thread Clemens Ladisch
RĂ©gis Legrand wrote: > # Keep snd-usb-audio from beeing loaded as first soundcard > options snd-usb-audio index=-2 > options snd slots=snd-usb-audio These two options conflict. Remove the first one. > But i still have a random card number for my audio 2 dj: You have to unload and reload all so

Re: [Alsa-user] usb sound card - device order

2015-05-04 Thread Legreg Accounts
Thank you for your help, I have tried this (your line is in last position): # autoloader aliases install sound-slot-0 /sbin/modprobe snd-card-0 install sound-slot-1 /sbin/modprobe snd-card-1 install sound-slot-2 /sbin/modprobe snd-card-2 install sound-slot-3 /s

Re: [Alsa-user] usb sound card - device order

2015-05-04 Thread Dmitri Seletski
Hello Clemens, I understand, that 'pcm.!default()' overwrites default settings of default device, but why not? Or philosophy goes as: create new device and connect programs over their Alsa settings? But than, a lot of programs don't even have Alsa settings. YOu cant change sound devices, or anythi

Re: [Alsa-user] usb sound card - device order

2015-05-04 Thread Clemens Ladisch
Legreg Accounts wrote: > pcm.!default { Don't do that. > options snd-usb-audio index=0 This does not work if there is some other driver that already has grabbed this index. Use this instead: options snd slots=snd-usb-audio Regards, Clemens -

[Alsa-user] usb sound card - device order

2015-05-04 Thread Legreg Accounts
Hello, I guess this is a newbie question, but I have searched and tried several things without result (maybe because I misunderstood something). My problem is that : I have an usb sound that I want to use by default. Which means I also have other sound cards... My ~/.asoundrc is as follow: pcm.!