LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-21-2006, 06:02 PM   #1
loro
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Rep: Reputation: 0
xmms won't play CDs


I'm trying to play an audio CD with xmms, but I can't get it to work. First I tried mounting it -- though I discovered the folly in that fairly quickly. For some reason, though, xmms can't access the drive.

I got into the XMMS Preferences, and tried to configure the audio CD plugin. I had it check the drive, and an error message popped up immediately saying:

Failed to open device /dev/hda
Error: Permission Denied

So apparently the first problem I need to deal with is permissions. So -- how would I go about giving xmms permission to mount/read/whatever it needs to do to play an audio CD?

Almost forgot -- I'm running Slackware 10.2, XFCE as a window manager, and alsa is working fine for all other sound -- xmms plays mp3s and oggs fine.
 
Old 06-21-2006, 06:13 PM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Well, first off /dev/hda is the hard drive not the CD... If you only have one CD drive try in the plugin configuration:

Under Device:

/dev/hdc

Under Directory (use the mount point) such as:

/mnt/cdrom/

you get the idea...

Oh! almost forgot... To play the CD's use:

xmms /mnt/cdrom

Good Luck

KC

Last edited by kencaz; 06-21-2006 at 06:16 PM.
 
Old 06-21-2006, 06:29 PM   #3
loro
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Original Poster
Rep: Reputation: 0
The reason it's trying /dev/hda is because /dev/cdrom didn't work (same error message), and my DVD-RW/CD-RW is plugged in as the primary master IDE. The hard disk that I'm running my system on is hdc, and the disk I have all of my data on is hdd. I can play the disk through my system's speakers when I hit play on the drive (I did remember to plug in the sound wire, thankfully), but I'd like to use xmms to go through the disk at random.

entering a command like "xmms /mnt/cdrom", "xmms /dev/cdrom", or "xmms /dev/hda" yields nothing; xmms opens with a dialogue asking what files I want it to play, listing an empty directory with /mnt/cdrom and the contents of the /dev folder otherwise
 
Old 06-21-2006, 09:10 PM   #4
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
/mnt/cdrom may or may not be your mount point... you need to check /etc/fstab for the specific point for /dev/hdd/ This is where you say the data is located right?...

then try adding as device in xmms Audio Plugin:

/dev/hdd

and for Directory:

/mnt/? <--- whatever your fstab points to for /dev/hdd/

KC
 
Old 06-23-2006, 12:57 PM   #5
loro
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Original Poster
Rep: Reputation: 0
/etc/fstab reads:

Code:
/dev/hdc2        swap             swap        defaults         0  0    
/dev/hdc1        /                ext2        defaults         1  1
/dev/hdd1        /mnt/hdd1        vfat        defaults         1  0
/dev/cdrom       /mnt/cdrom       auto        noauto,owner,ro  0  0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0  0
devpts           /dev/pts         devpts      gid=5,mod=620    0  0
proc             /proc            proc        defaults         0  0
when mounting a data CD or DVD,
Code:
mount /dev/hda /mnt/cdrom
works fine -- I know that "hda" technically means the first hard disk, but it works equally well with any drive plugged into an IDE socket. /dev/cdrom works as well, I just find it easier to remember it's /dev/hda. /dev/hdd is a hard disk, just a particularly large one I use to hold naught but data -- text files, school work, ripped music, etc.

/dev/hdd1 registers as vfat with every operating system I've tried to use it under, but when I tried to do a dual-boot install of windows it read as corrupted. As rightly it should, because I used qtparted to reformat and partition it six months ago into ext3. I have no idea why it still registers as vfat, but so long as it works I don't have a problem with it.

thanks for your advice thus far, and any more is equally appreciated

Last edited by loro; 06-23-2006 at 12:59 PM.
 
  


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
cant get cds to play Jedi_Jay87 Linux - Newbie 9 05-11-2006 10:42 PM
XMMS/Grip find CDs, and songs, but won't play? 95se Linux - Software 3 11-23-2004 09:56 AM
I can't PLAY CDs oicdn Linux - Software 12 03-24-2004 06:07 AM
I cant play cds justinbm Red Hat 2 10-15-2003 10:09 AM
Not all CDs play in XMMS or other players Texicle Linux - General 6 03-19-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:29 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