SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
So I installed slackware two days ago. Somehow the install actually found the two sound cards and set them up in alsa. Very nice. Of course, being that there are two sound cards there was a 50% chance it would get it wrong, which it did. How can I have alsa use the *other* card as the default/main sound card? Thanks.
I used the button above to find similar threads. Their solutions did not work (of course). Tried to go to a url it won't let me say here and got "An error occurred while loading a url I can't say here Could not connect to host an ip I can't say here".
With a SB16 and an Audigy 4, I made a file called sound in /etc/modprobe.d/:
Code:
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
alias snd-card-1 snd-ens1371
alias sound-slot-1 snd-ens1371
options snd-emu10k1 index=0
options snd-ens1371 index=1
Then mixer controls etc can be accessed with -c switch
I have Alsa compiled into my custom kernel, so I use the following append lines (instead of dive's method for modules - use one or the other of these solutions depending on how you have compiled Alsa, not both):
(In this case, I have an Audigy 2 Notebook PCMCIA card that I want to take precedence over the built-in sound).
With a SB16 and an Audigy 4, I made a file called sound in /etc/modprobe.d/:
Code:
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
alias snd-card-1 snd-ens1371
alias sound-slot-1 snd-ens1371
options snd-emu10k1 index=0
options snd-ens1371 index=1
Then mixer controls etc can be accessed with -c switch
How odd. I did not have a directory called "modprobe.d". So I made one. Made a file called sound as you did. Used my two cards in the order I wanted them. Booted.
It didn't work.
Now what?
PS - I'm using the 10.0 version of slackware. I won't be even thinking of upgrading that until everything is working and stable first.
How odd. I did not have a directory called "modprobe.d".
<snip>
PS - I'm using the 10.0 version of slackware. I won't be even thinking of upgrading that until everything is working and stable first.
You need to find which file to put those commands in then or upgrade to 10.2 ( or wait till 11.0 is released which should be soon ) and then try it because a lot has changed since 10.0 - i.e. different files in different locations, different udev to name but a few.
moob8, you should put that content in /etc/modprobe.conf or /etc/modules.conf, I don't remember which one is used on 10.0. /etc/modprobe.d/ is not used on Slackware (at least not by default..)
Be sure to put the modules your sound cards use if they're not the same as cathectic's (snd-emu10k1 and snd-ens1371)
moob8, you should put that content in /etc/modprobe.conf or /etc/modules.conf, I don't remember which one is used on 10.0. /etc/modprobe.d/ is not used on Slackware (at least not by default..)
Be sure to put the modules your sound cards use if they're not the same as cathectic's (snd-emu10k1 and snd-ens1371)
Coolness!!!! that was the hint I needed. I put those lines from dive (edited for my two sound cards) in /etc/modules.conf (commented out the lines already in there) and then rebooted. Audio the way I wanted. Excellent. Thank you all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.