LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-15-2004, 09:30 AM   #1
JockVSJock
Member
 
Registered: Jan 2004
Posts: 602

Rep: Reputation: 31
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
 
Old 05-15-2004, 09:36 AM   #2
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 136

Rep: Reputation: 18
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.
 
Old 05-15-2004, 09:48 AM   #3
JockVSJock
Member
 
Registered: Jan 2004
Posts: 602

Original Poster
Rep: Reputation: 31
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
 
Old 05-15-2004, 11:17 AM   #4
feend
Member
 
Registered: Nov 2003
Location: williamsburgland
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
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
 
Old 05-15-2004, 12:02 PM   #5
JockVSJock
Member
 
Registered: Jan 2004
Posts: 602

Original Poster
Rep: Reputation: 31
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?
 
Old 05-15-2004, 12:30 PM   #6
feend
Member
 
Registered: Nov 2003
Location: williamsburgland
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
/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
 
Old 05-15-2004, 01:01 PM   #7
At0mic_PC
Member
 
Registered: Jul 2003
Location: Mississippi
Distribution: Slack9.1
Posts: 159

Rep: Reputation: 30
I had to run ./snddevices in the alsa-driver directory to make it work.
 
Old 05-15-2004, 01:01 PM   #8
JockVSJock
Member
 
Registered: Jan 2004
Posts: 602

Original Poster
Rep: Reputation: 31
Your right, I'll change rights on that so I can get ALSA to work on a regular account

thanks
 
Old 05-15-2004, 01:34 PM   #9
feend
Member
 
Registered: Nov 2003
Location: williamsburgland
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
Cool, Good to hear it!
Feend
 
Old 05-15-2004, 04:44 PM   #10
JockVSJock
Member
 
Registered: Jan 2004
Posts: 602

Original Poster
Rep: Reputation: 31
Whoopsss... Spoke to soon.

I changed /dev/dsp0 to a regular user (using chown), not root. Didn't work.
 
Old 05-15-2004, 09:30 PM   #11
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 136

Rep: Reputation: 18
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.
 
Old 05-16-2004, 08:25 AM   #12
JockVSJock
Member
 
Registered: Jan 2004
Posts: 602

Original Poster
Rep: Reputation: 31
Tried this, and still not getting sound with ALSA set at output for XMMS
 
Old 05-16-2004, 10:43 AM   #13
kpex
Member
 
Registered: Apr 2004
Distribution: Slackware -current, Gentoo, FC3
Posts: 41

Rep: Reputation: 15
I solved this problem with "chmod a+r /dev/snd/*". hth,
 
Old 05-16-2004, 11:01 AM   #14
JockVSJock
Member
 
Registered: Jan 2004
Posts: 602

Original Poster
Rep: Reputation: 31
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
 
Old 05-28-2004, 09:16 AM   #15
kuol3m4
Member
 
Registered: May 2004
Location: Italian Hell
Distribution: Slackware 9.1
Posts: 37

Rep: Reputation: 15
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xmms > Freezing with OSS, no sound with Alsa kloss Linux - Software 1 10-09-2005 05:45 AM
No 5.1 Sound in XMMS using ALSA extremebfn Linux - General 0 01-19-2005 08:19 AM
xmms (alsa) sound problem feetyouwell Linux - Software 2 01-14-2005 12:58 PM
Xmms: sound with root, not with user with Alsa fernashes Linux - Newbie 7 02-16-2004 12:51 PM
Problems Installing MPlayer, XMMS, and alsa-driver dot hog Linux - Newbie 7 10-18-2003 07:50 PM


All times are GMT -5. The time now is 12:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration