Re: Problem after changing a default device by asound.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Tue, 20 Sep 2011 21:43:48 -0300,
João Matos <jaoneto@xxxxxxxxx> a écrit :

> Hi List.
> 
> I'm a Gentoo Linux user and I'm using the alsa available at the
> version 3.0 of linux kernel.

Hi,

You need a /etc/modprobe.d/alsa.conf file with something like

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

## Options
options snd-ice1724 index=0
options snd-ice1724 model=ap192
options snd-hda-intel index=1

##  ALSA portion
alias snd-card-0 snd-ice1724
alias snd-card-1 snd-hda-intel

##  OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2
alias sound-slot-3 snd-card-3
alias sound-slot-4 snd-card-4
alias sound-slot-4 snd-card-5

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=6

What is most important is the index and snd cards_limit options. Those
2 options are enough to fix the ALSA card order. You don't need a
~/.asoundrc for that.


-- 
"We have the heroes we deserve."

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux