Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-17-2005, 11:19 AM   #1
LQ Newbie
Registered: Jan 2005
Distribution: debian sarge
Posts: 3

Rep: Reputation: 0
how to choose default sound card

i've 2 sound card, one of them is integrated. and i want to change my default sound card to my other sound card. now default is integrated s/c.

debian sarge with kernel 2.6.8-k7
nvidia asus integrated mainboard
2nd sound card is fm801
Old 01-17-2005, 01:04 PM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
carefully go through /usr/share/alsa/alsa.conf and change the card references but not the device references (might want to make a backup copy first)

like (i change to second card called Card1 from default Card0 as example)
defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.rawmidi.card 1
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 1
defaults.hwdep.device 0
defaults.timer.class 1
defaults.timer.sclass 0
defaults.timer.card 1
defaults.timer.device 0
defaults.timer.subdevice 0
look in dmesg to see what the card # you need is (first is 0 second is 1 third is 2)

also further down in the file where you find reference to hw:0,0
change those as well like:
pcm.dmix {
	@args.SLAVE {
		type string
		default "hw:1,0"
pcm.dsnoop {
	@args.SLAVE {
		type string
		default "hw:1,0"
i think that's all you need and it should work (might need to restart alsa ?)
Old 01-18-2005, 08:27 AM   #3
LQ Newbie
Registered: Jan 2005
Distribution: debian sarge
Posts: 3

Original Poster
Rep: Reputation: 0
still i can't change it.

i modified the files as you said. and
I didn't have alsamixer, and installed it, started to config (alsaconf) and then it gives error that there's no sound device.
def sound mixer is gnome-sound-mixer - something like this.
i tried uninstall it and, re-installed alsa... there's no change.. still alsa gives error. and def sound card didn't change.

i messed something..?

Last edited by kxlx; 01-18-2005 at 08:35 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
specify default sound card joelescoulie Slackware 2 07-12-2005 03:43 PM
How to choose default sound card? TVH Linux - Hardware 3 05-24-2005 07:32 PM
Default sound card Wakeboardbum83 SUSE / openSUSE 3 03-24-2005 12:13 PM
Make a sound card default. darkarcon2015 Slackware 9 01-07-2005 05:13 PM
Two sound devices, both installed, choose default in Mandrake 9.2? khermans Linux - Software 1 11-16-2003 08:38 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration