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

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

 



well, problem not solved.

how do I make a new alsa.conf? I think my old one was generated when I just had one card. But know I have three. It doesn't have any reference to the other cards, so, how can I change the order of the cards?

I moved alsa.conf form modprob.d to ~, and runned alsaconf, but the file wasn't created again. Will I have to write it myself?


cat /proc/asound/cards
 0 [Venu           ]: USB-Audio - Vimicro USB 2.0 PC Camera (Venu
                      Vimicro Vimicro USB 2.0 PC Camera (Venu at usb-0000:00:1d.7-6, high speed
 1 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0x93300000 irq 45
 2 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0x93000000 irq 17


my alsa.conf

# Alsa kernel modules' configuration file.

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

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# 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

options snd-hda-intel index=0

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

It is working normally (normally bad) without the alsa.conf

Em 21 de setembro de 2011 20:27, João Matos <jaoneto@xxxxxxxxx> escreveu:
Problem solved! Thanks.

I've just put "options snd cards_limit=3". And everything is working pretty fine. :)


2011/9/21 Dominique Michel <dominique.michel@xxxxxxxxx>
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



--
João de Matos
Linux User #461527
Graduando em Engenharia de Computação 2005.1
UEFS - Universidade Estadual de Feira de Santana



--
João de Matos
Linux User #461527
Graduando em Engenharia de Computação 2005.1
UEFS - Universidade Estadual de Feira de Santana
------------------------------------------------------------------------------
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