LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Wrong soundcards order (https://www.linuxquestions.org/questions/slackware-14/wrong-soundcards-order-207400/)

Bothkill 07-20-2004 09:08 AM

Wrong soundcards order
 
I'm very new to Linux and I've tried to solve this problem without success:

Slackware 10.0 detected 2 soundcards:

no.0 - bt878 (TV Tuner), and
no.1 - Audigy2

I suppose KDE uses as default the sound card no.0 since I have no sound.

How can I reverse that order?

Thank you !!!

Marsanghas 07-20-2004 09:27 AM

First make sure that KDE actually IS using the tuner card. You mentioned being new at this, so maybe you need to run alsamixer first to unmute the sound?

SBing 07-20-2004 11:55 AM

Yes, just to extend on what MarsDude said, try

$ alsamixer -c 1

This should bring up the mixer settings for your sound card. Press <spacebar> to unmute the right channels and up and down to change volumes.

Bothkill 07-20-2004 04:37 PM

Thanks for your replies :).

Using alsamixer was one of the solutions I've tried before posting this subject.

Comparing to Slackware 10.0, the Slackware 9.1 distro assigned the "0" position for my Audigy soundcard and back then the sound was just fine.
Now, Slackware 10.0 reversed the assignments and I ended up with bt787(TV Tuner) being the first card (i.e. "0").

So, using
$ alsamixer -c 1
although I could tune the settings for the Audigy soundcard, it didn't do anything to hear any sound in KDE.

Anyway, today I just pulled out the TV Tuner card trying one last desperate solution.
And it worked :) !!!
Now Audigy is the no. "0" card and even the 5.1 sound is ok.

So, the problem is rather solved now, but it's annoying to pull out and put the TV Tuner card back in when switching to Windows.

I only imagine that if I could just reverse that soundcard order by modifying some .conf file, the problem will be solved elegantly :).

kryptobs2000 07-20-2004 04:48 PM

I have this same problem, and reading ur post reminded me that I'm having it since I have a tvtuner card in. I had forgotten that I had installed it awhile ago. Is there a way to change the order still tho? I would like to have both in, yet it use my onboard sound by defualt.

SBing 07-21-2004 01:15 AM

I don't have any specifics, but I've read it's possible by modifying .asoundrc

Personally, I just don't load the bttv sound module ;)

Bothkill 07-21-2004 05:04 PM

Unfortunately I couldn't find the ".asoundrc". Was it supposed to be somewhere or should I make it by using a certain command?

And what file should I modify in order not to load the bttv module?

SBing 07-22-2004 01:14 AM

.asoundrc is a per user file that you create in your home directory.

To create it, just run your favourite text editor:

vim ~/.asoundrc

Further reading is available on asoundrc

phase9 07-22-2004 01:36 AM

Hi!

Quote:

Originally posted by Bothkill
Thanks for your replies :).

Now, Slackware 10.0 reversed the assignments and I ended up with bt787(TV Tuner) being the first card (i.e. "0").

So, using
$ alsamixer -c 1
although I could tune the settings for the Audigy soundcard, it didn't do anything to hear any sound in KDE.

Anyway, today I just pulled out the TV Tuner card trying one last desperate solution.
And it worked :) !!!
Now Audigy is the no. "0" card and even the 5.1 sound is ok.

So, the problem is rather solved now, but it's annoying to pull out and put the TV Tuner card back in when switching to Windows.

I only imagine that if I could just reverse that soundcard order by modifying some .conf file, the problem will be solved elegantly :).


KDE/Alsa uses /dev/dsp as sound device. It seems /dev/dsp0 is your tv card and /dev/dsp1 your sound card. Normally /dev/dsp is a link to /dev/dsp0. Try to link /dev/dsp to /dev/dsp1 or use in 'KDE Control Center / Sound & Multimedia / Sound-System/ Hardware [Tab] / Override device location' the appropriate device (eg. /dev/dsp1).

davidsrsb 07-22-2004 05:13 AM

See the answer to my bug report to alsa at: https://bugtrack.alsa-project.org/al...bug_id=0000359

Tuttle 07-22-2004 06:19 AM

options snd-ens1371 index=0
options snd-bt87x index=1

works for me, many thanks.

Bothkill 07-22-2004 05:10 PM

Yes!!!!! That was it.

Adding to the "modules.conf":

options snd-emu10k1 index=0
options snd-bt87x index=1

worked for me too.

Thanks to all who posted solutions, especially davidsrsb :).


All times are GMT -5. The time now is 07:55 AM.