LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-16-2006, 12:14 PM   #16
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 178

Rep: Reputation: 62

Hmmmm, can you navigate to /mnt/cdrom in the xmms browser at least? From the sound of things (ha!) it seems like the problem is with the cd drive rather than the sound system itself. I not sure if I can help much more, as I also relatively new to linux. Good luck in any case.
 
Old 11-16-2006, 01:01 PM   #17
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Quote:
Originally Posted by bl0tt0
Hmmmm, can you navigate to /mnt/cdrom in the xmms browser at least? From the sound of things (ha!) it seems like the problem is with the cd drive rather than the sound system itself. I not sure if I can help much more, as I also relatively new to linux. Good luck in any case.
I doubt it. Trying /mnt/cdrom in XMMS doesn't work here either. And you don't (even can't) mount audio-cd's. So my guess is: why look at /mnt/cdrom?
Amarok also plays well (Play audio cd).
So maybe ceashton can take a look at that?
 
Old 11-16-2006, 01:22 PM   #18
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 178

Rep: Reputation: 62
that's really weird. I'm not sure if I changed a configuration or something, but XMMS reads /mnt/cdrom for playback just fine on my box. Like I said, you don't have to mount the drive, XMMS just needs a directory to read from. Ok, I did a little more reading here:http://www.linuxquestions.org/questi...ayback+in+xmms, and it explains what I'm trying to say a little better. Also, after looking in my xmms preferences, I think I can give a little better guidance.

First, start up xmms, open the preferences, select the Audio I/O Plugins tab, and highlight the CD Audio Player. Press the Configure button and a window should pop up with a Device tab. That ought to show you the device xmms is configured to use for reading cds, and below that is the directory you need to point to in order to add the cd tracks to the playlist. If that doesn't work either, you should consider changing the Play mode from analog to Digital audio extraction.

Good luck

EDIT: Sorry, just read back through things again, looks like you've already tried switching the Analog to Digital once already. Also, just to get things straight, what exactly is the problem? Is the problem that you can't see any audio tracks when in the xmms browser at all, or that the tracks don't load into the playlist when you select them?

Last edited by bl0tt0; 11-16-2006 at 03:18 PM.
 
Old 11-19-2006, 09:53 AM   #19
ceashton
Member
 
Registered: Nov 2006
Distribution: Slackware 12.2
Posts: 36

Original Poster
Rep: Reputation: 15
Hi everyone,

well I think I've managed to solve this problem... or at least get something that works for me.

So my Slackware 11.0 system was in the following state:

Code:
chris@dinosaur:~$ groups root
root : root bin daemon sys adm disk wheel floppy audio video cdrom
Code:
chris@dinosaur:~$ groups chris
chris : users disk audio video cdrom
Code:
chris@dinosaur:~$ ls -ld /dev; ls -ld /dev/cdrom; ls -ld /dev/hdc; ls -ld /mnt/cdrom
drwxrwxrwx 17 root root 40960 2006-11-19 14:06 /dev/
lrwxrwxrwx 1 root root 8 2006-10-22 19:08 /dev/cdrom -> /dev/hdc
brwxrwxrwx 1 root disk 22, 0 2002-06-09 20:27 /dev/hdc
drwxr-xr-x 2 root root 4096 2002-03-16 07:34 /mnt/cdrom/
I find that if I try to play CDs with xmms (although the situation is similar with KsCd and Amarok), the following occurs:
  1. xmms /dev/cdrom
    • open
      • root: draw closes, xmms points to /mnt/cdrom, select tracks which then play.
      • user: draw closes, xmms points to /dev, can't play any music.
    • closed:
      • root: xmms points to /mnt/cdrom, select tracks which then play.
      • user: xmms points to /dev, can't play any music.
  2. xmms /dev/hdc
    • open:
      • root: draw closes, xmms points to /mnt/cdrom, select tracks which then play.
      • user: draw closes, xmms points to /dev, can't play any music.
    • closed:
      • root: xmms points to /mnt/cdrom, select tracks which then play.
      • user: xmms points to /dev, can't play any music.
  3. xmms /mnt/cdrom
    • open:
      • root: draw stays open, xmms points to /mnt/cdrom, shows no tracks, can't play any music.
      • user: draw stays open, xmms points to /dev, can't play any music.
    • closed:
      • root: CD starts playing, no need to select which tracks.
      • user: CD starts playing, no need to select which tracks.


where open/closed refer to the state of the CD draw when I run the xmms command.

I had assumed that as running the command xmms /dev/cdrom as root closed the CD draw and played the CD, that running the command xmms /mnt/cdrom would also close the draw and play the CD. As the above hopefully illustrates, this isn't the case.

To guarantee success as a normal user, the CD draw must be closed and then the command xmms /mnt/cdrom.

Earlier in this thread I added root to the audio, video and cdrom groups and my normal user chris to the disk group, as shown at the start of this post. I also changed my permissions to those shown at the start of this post.

I changed both root and chris back to their default groups, and the permissions back to their default values. However, normal users were unable to play CDs. It seems that in order that a normal user may play audio CDs, they must be a member of the disk group.

My final group membership and permissions are as follows:


Code:
chris@dinosaur:~$ groups root
root : root bin daemon sys adm disk wheel floppy
Code:
chris@dinosaur:~$ groups chris
chris : users disk audio video cdrom
Code:
chris@dinosaur:~$ ls -ld /dev; ls -ld /dev/cdrom; ls -ld /dev/hdc; ls -ld /mnt/cdrom
drwxr-xr-x 17 root root 40960 2006-11-19 14:06 /dev/
lrwxrwxrwx 1 root root 8 2006-10-22 19:08 /dev/cdrom -> /dev/hdc
brw-rw---- 1 root disk 22, 0 2002-06-09 20:27 /dev/hdc
drwxr-xr-x 2 root root 4096 2002-03-16 07:34 /mnt/cdrom/
Thanks to everyone who has contributed, but in particular bl0tt0, who can have a pint on me.

Cheers,

Chris
 
Old 11-19-2006, 10:16 PM   #20
JAKK
Member
 
Registered: Jun 2006
Distribution: Slackware 11
Posts: 92

Rep: Reputation: 15
Hi. I have the same problem you are having,I can play cds fine as root,but not at all as a normal user. I was wondering what you meant by the cd draw. Thanks.


EDIT:Okay,everything works fine now.

Last edited by JAKK; 11-19-2006 at 11:02 PM.
 
Old 10-26-2011, 12:51 PM   #21
rad01
LQ Newbie
 
Registered: Mar 2006
Location: KENT OH US
Distribution: mostly Ubuntu 16
Posts: 7

Rep: Reputation: 1
Using Slackware 13.37 and having a similar inability to play audio CD's, I followed the instructions above to set XMMS input plugin CD Audio Player 1.2.11 configure to digital audio extraction. That solved the problem.
 
Old 10-26-2011, 05:01 PM   #22
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Epic necropost .
 
  


Reply



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
Audio::Play/Audio::Data DanTaylor Programming 0 02-07-2006 06:37 PM
how to play audio cd in slackware 10.1? anindyanuri Slackware 13 06-26-2005 12:06 AM
Audio CD Doesn't Play - Slackware mijenks Slackware 9 07-22-2004 10:44 PM
DVD plays but no audio (can play audio cd's though)? guitarnix Linux - Newbie 2 10-05-2003 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration