Sound Conflict: snd-via82xx & snd-emu10k1
Hi, I am a :newbie: to the Linux OS, the problem is that i cant hear any sound, itīs like there is a conflict or something,
I am using Mandrake Linux v9.2 , kernel: 2.4.22-10mdk
Oh, as an additional information, i must say that i messed around a little bit with the /etc/modules.conf i was trying to erase the onboard snd-via82xx but that doesnt worked, i got some tips from the IRC and the Internet, but itīs still doesnt working :mad: , I hope some of you guys could help me out :D , One more thing In Win2000 is working fine.
Ok, here it is:
Here is the output of the /sbin/lspci
Thatīs It guys, if you need any additional information, please tell me,
I hope one of you :jawa: could help me out with this, couse i tried a lot of stuff and nothing seems to work.
Anyway i hope this post could be usefull in the future for someone that maybe will have the same problem.
Thanks For your help,
:Pengy: Linux Registered User: # 344616
In LINUX it does not matter how many sound cards you have installed. It matters if you know what mixer and dsp to use.
What does /sbin/lsmod show?
Is there dsp under /dev directory. If there is more than one dsp, go through each dsp until sound is played. In XMMS pick oss plugin to make it easier to set different dsps.
Probably all inputs and outputs are muted. Run amixer or alsamixer to set the volume. If everything is working then login as su and type alsactl store.
To set the volume in amixer. First type amixer to get a list of inputs and outputs. Lets assume you want to set the Master volume type
amixer -c card_device_id sset Master,0 85%,85% unmute
The card_device_id is the card number for your Soundblaster LIVE! it will be 1 and your VIA sound is 0. The sset tells amixer set the following settings for the desired device. The word Master,0 is listed in the amixer output which is the Master volume. 85%,85% is the volume for the left and right channel. unmute is pretty common sense. amixer has a good example in its man pages.
The Output for /sbin/lsmod:
Oh, i also try this:
both of them are symbolick links to /dev/sound/dsp and /dev/sound/dsp1
i went to /dev/sound and tried to read them to see what they were with the less -f command but i didnt saw anything,
Anyway, i dont understand what you mean when you say:
I cheked the permission on /dev for dsp and dsp1
Another thing i :study: a little from the tldp web site www.tldp.org/HOWTO/Sound-HOWTO/x320.html
and i tried dmesg, and i searched for something similar to the example at section 4.5
but i didnt find anything like that, i do find something related to the snd-via82xx
Here is part of the Output of dmesg:
Both of your sound cards have their modules (drivers) running. You do not need to run modprobe emu10k1. Even if you do you will have problems because snd-emu10k1 (ALSA module) is the one being used for your Creative Labs Soundblaster LIVE!. You can add the lines below in your modules.conf.
In /home/user_dir/.asoundrc. Add the lines below so XMMS doesn't complain.
Ok, I added the lines at /etc/modules.conf and i Disabled the lines that begin with above using # in front of it, as you told me, all happened like you said it will, i saw the two tabs at Kmix, and everything, but no sound, i couldnīt edit the ./asoundrc because i canīt find it.
what should i do next?? :scratch:
If you can't find a file, create it. The file .asoundrc goes in /home/user_name.
Go into Mandrake Control Center and go into system then services. Make sure alsa is turn on but don't turn on alsasound. Also make sure sound is activated. Turn off artsd. Turn up wav, pcm, master controls on both devices and save the changes. Play a sound file.
play -d /dev/dsp sound_file
play -d /dev/dsp1 sound_file
aplay -d /dev/dsp sound_file
aplay -d /dev/dsp1 sound_file
Play a long sound file that you know it works so you can adjust the volume settings.
Make sure speakers are working, connected to the speaker jack on the sound devices, and check if they are turned on. Only use analog hook up at this time.
:D :D :D HOUSTON WE HAVE SOUND!!! :D :D :D
Thanks a LOT!! Electro for your help,
Resume of what i did:
I created the file .asoundrc
But in Mandrake Control settings i couldn't turn on alsa, it said that it was already running, but it was showed as stopped, and alsasound i couldnīt find it.
This is what it said when i tried to turn on alsa:
and i disabled the check box that says "Starts aRTs soundserver on KDE startup"
I modify the pcm and master controls on KMix
and finally i tried the commands you told me,
the only one that worked was the play -d /dev/dsp1
And i checked modifying the volume in Kmix and dsp1 belongs to SB Live
Then in XMMX i went to options-->preferences-->Configure Output plugin
in my case OSS driver 1.2.7 then i checked the check box that says: "Use Alternative Device:" and i wrote in there /dev/dsp1
I am writing this in case somebody else in the future will have a similar problem
It seems that big part of the problem was aRTs,
I have one final doubt, is there a way to make /dev/dsp1 as the default device??
Anyway, Thanks A lot Electron
|All times are GMT -5. The time now is 11:42 PM.|