LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Using ALSA Sound Driver with XMMS? (https://www.linuxquestions.org/questions/slackware-14/using-alsa-sound-driver-with-xmms-181743/)

JockVSJock 05-15-2004 09:30 AM

Using ALSA Sound Driver with XMMS?
 
Running Slackware with ALSA and I've configured it ok, but if I select it the output plugin as ALSA, I get no sound, but if I leave the standard plugin as OSS, its ok.

Anyway to get ALSA to work with XMMS?

thanks

wallison 05-15-2004 09:36 AM

Try running XMMS from the console so you can see the error messages. I usually add my user account to the groups sys and disk to avoid permission problems.

JockVSJock 05-15-2004 09:48 AM

Done that, and I get no error output.

Only in the gui when I do Options > Preferences > Output Plugins > Select ALSA

I get the following generic message


Please Check That:

Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard

feend 05-15-2004 11:17 AM

I had to change the permisions on /dev/dsp0 for the alsa drivers to work in XMMS...
Also check the link: /dev/dsp to see where it points to. That is propably your actuall DSP Device.
l8tr
Feend

JockVSJock 05-15-2004 12:02 PM

Quote:

Originally posted by feend
I had to change the permisions on /dev/dsp0 for the alsa drivers to work in XMMS...

Not sure what dsp0 is? What is it and what does it have to do with XMMS?

feend 05-15-2004 12:30 PM

/dev/dsp0 is my (and probably yours) sound output device. Every thing in Linux is a file. This is where your sound goes. If you don't have permission to write to it no sound. Try this:
Log in as root w/ your window manager. Try to use the xmms alsa driver w/ xmms. If it works you found the problem. If not post back. Then we will look at your links.
L8tr,
Feend

At0mic_PC 05-15-2004 01:01 PM

I had to run ./snddevices in the alsa-driver directory to make it work.

JockVSJock 05-15-2004 01:01 PM

Your right, I'll change rights on that so I can get ALSA to work on a regular account

thanks

feend 05-15-2004 01:34 PM

Cool, Good to hear it! :)
Feend

JockVSJock 05-15-2004 04:44 PM

Whoopsss... Spoke to soon.

I changed /dev/dsp0 to a regular user (using chown), not root. Didn't work.

wallison 05-15-2004 09:30 PM

You should've done a "chmod 666 /dev/dsp0" as root if you were going to go that route. Or you
could do a "usermod -G users,sys,disk <your_user_name>" and that way you won't have a problem when you go to listen to a CD either.

JockVSJock 05-16-2004 08:25 AM

Tried this, and still not getting sound with ALSA set at output for XMMS

kpex 05-16-2004 10:43 AM

I solved this problem with "chmod a+r /dev/snd/*". hth,

JockVSJock 05-16-2004 11:01 AM

Quote:

Originally posted by kpex
I solved this problem with "chmod a+r /dev/snd/*". hth,
This is what I've changed it to under /dev

Code:


root@phoenix:/dev# ls -l | grep snd
drw-rw-rw-  2 cmmiller root      4096 Aug 29  2003 snd/
crw-rw-rw-  1 cmmiller sys    14,  6 Aug 29  2003 sndstat


Still can't get ALSA to work with XMMS

kuol3m4 05-28-2004 09:16 AM

i got this problem with alsa as output device, the indication bar of the xmms won't show any progress...so xmms doesn't play any sound and the seconds of the song are stopped at 0:00 second...


All times are GMT -5. The time now is 08:38 AM.