From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from idcmail-mo1so.shaw.ca ([24.71.223.10] helo=pd2mo2so.prod.shaw.ca) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1J8mHw-0008KX-00 for ; Sat, 29 Dec 2007 19:44:24 -0500 Received: from pd3mr4so.prod.shaw.ca (pd3mr4so-qfe3.prod.shaw.ca [10.0.141.180]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JTU00GV77DZTP60@l-daemon> for speakup@braille.uwo.ca; Sat, 29 Dec 2007 17:44:23 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca ([10.0.121.147]) by pd3mr4so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JTU00GU87DZT5D0@pd3mr4so.prod.shaw.ca> for speakup@braille.uwo.ca; Sat, 29 Dec 2007 17:44:23 -0700 (MST) Received: from really.isa-geek.net ([24.67.137.158]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JTU008T67DSAA00@l-daemon> for speakup@braille.uwo.ca; Sat, 29 Dec 2007 17:44:22 -0700 (MST) Received: by really.isa-geek.net (Postfix, from userid 1000) id 24BFB2F002; Sat, 29 Dec 2007 16:44:16 -0800 (PST) Received: from really.isa-geek.net (localhost [127.0.0.1]) by really.isa-geek.net (Postfix) with ESMTP id 2055360018 for ; Sat, 29 Dec 2007 16:44:16 -0800 (PST) Date: Sat, 29 Dec 2007 16:44:16 -0800 From: David Csercsics Subject: Re: ALSA Default Sound Card In-reply-to: <20071229040539.GA2373@lnx3.holmesgrown.com> To: "Speakup is a screen review system for Linux." Message-id: <20071230004416.24BFB2F002@really.isa-geek.net> References: <20071229040539.GA2373@lnx3.holmesgrown.com> Comments: In-reply-to Steve Holmes message dated "Fri, 28 Dec 2007 21:05:40 -0700." X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.9 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2007 00:44:24 -0000 The best way to make alsa rearrange the cards is to edit /etc/modprobe.conf or similar and put lines like this in it. options snd cards_limit=2 options snd-emu10k1 index=0 options snd-hda-intel index=1 Note that for Debian and possibly others you want to put those at the end of /etc/modprobe.d/alsabase. In case those options aren't clear here is what it does. The options snd... line tells the alsa core module that you have 2 soundcards. The default is undefined I think since it has to autoprobe. The other 2 lines with index= put the emu10k1 chip at 0 which is the first soundcard and the hda-intel module gets assigned index 1 so it's the second card. This way udev can happily load your modules. Note that although the first line with the cards_limit parameter is not strictly required some distributions (Debian for example) will have a line earlier in the modprobe configuration that makes it default to 1 card which means that you don't get any sound at all when you try to have both enabled and it really screws things up. Hopefully this helps.