I would like to post my story "how did I manage to get sound in Debian Lenny" and ask some questions to understand why it is now like it is and how I can maybe improve it.
so here is the story:
as mentioned the OS is Debian Lenny which I also have on my computer, beside Jaunty (Dualboot).
I have two soundcards in my computer. One is an ATI which is on the mainboard (I don't want to use it) and one Creative Soundblaster Audigy which I want to use.
Jaunty and all the other ubuntu-versions recognised both cards and play sound over the soundblaster card by default. Jaunty does not play any sound on the ATI and this is like I want it.
Debian Lenny did recognise both cards too but did not play any sound on both cards. So after reading wiki's and stuff and fooling around with asoundconf and so on, I decided to compare the preferences of Ubuntu and Debian in the soundconfiguration and also in Alsamixer.
The result was really confusing: both, Jaunty and Lenny have the same settings in Alsamixer. And these settings are: device = ATI!! The card which I don't use!! But Jaunty plays the sound over the Soundblaster!
So I read the wiki regarding soundproblems again and found something which I ignored all the time by no specific reason.
This hint was about setting indexes on modules. So I changed the file /etc/modprobe.d/alsa-base by putting
at its end. CA0106 is the module of the Soundblaster (which I want to use) and SB is the module of the ATI.
options CA0106 index=0
options SB index=1
The result of these lines is, that the module of the Soundblaster is loaded earlier than the module of the ATI.
Et voila! I had sound in Lenny! But: it was on the wrong soundcard!! It played only via the ATI card! The Soundblaster was remaining silent.
So I changed the file /etc/modprobe.d/alsa-base again by exchanging the modules:
nothing happened - sound is only available via ATI card in Lenny.
options SB index=0
options CA0106 index=1
So now this is quite interesting and confusing to me and I just wanted to ask if you could give some advise - so that I understand what happened here and why it all is like it is. Furthermore I would like to get some hints to get the Soundblaster working in Lenny.
1. why does Ubuntu play sound via the soundblaster, when it has the ATI in Alsamixer? Okay, in the Audio-settings (system -> preferences -> Audio) it has the Soundblaster as default mixertrack, but when I move the volume control in Alsamixer, the volume in the speakers changes too
2. why does Lenny play sound via the ATI only even when I set all the Audio and sound settings exactly like they are in Ubuntu?
3. why do I get sound in Lenny only when I change the /etc/modprobe.d/alsa-base but when I change it again to get my prefered hardware working it doesn't have any effect?
4. I learned that the soundblaster card supports hardwaremixing too. So if I set up the whole soundsystem for Alsa only, I have to fill-in the file asoundrc with appropriate text. But then I only can find further explainations about softwaremixing. What do I have to do to configure the hardwaremixing in the right way?
any useful answer would be very much appreciated