LinuxQuestions.org
Help answer threads with 0 replies.
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 10-30-2004, 01:42 PM   #1
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Rep: Reputation: 30
Playing audio CDs


I have searched the forum, and seen that this is a quite common problem in Linux. I have CD player tools, and they seem to play the CD, but no sound comes out. I have also tried the CD audio plugin of XMMS, however, /dev/cdrom is not coming up as a directory, it comes up as a file, so it doesn't play. I'm running SuSE 9.1, other programs in my computer make sound, and I can play MP3's fine. Can anyone give a pointer?

Thanks!
 
Old 10-30-2004, 02:12 PM   #2
Courthold
Member
 
Registered: Nov 2003
Posts: 58

Rep: Reputation: Disabled
/dev/cdrom is a device, which gets mounted to a folder (usually /mnt/cdrom , check your /etc/fstab file to see where it is mnted) If you look in this folder you should be able to browse the cd. As for no sound, if it's actually playing from the correct location then I'm not sure about that one.
 
Old 10-30-2004, 02:15 PM   #3
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
Are you sure there is an audio cable running from the CD drive to the sound card or motherboard?
A CD with audio files is not mountable.
 
Old 10-30-2004, 02:17 PM   #4
GruiX
Member
 
Registered: Jan 2004
Location: Toulouse (France)
Distribution: Arch Linux
Posts: 46

Rep: Reputation: 15
In XMMS
Press Ctrl+L (open location) and enter the file corresponding to the cdrom device (ex /dev/cdrom )
 
Old 10-30-2004, 02:34 PM   #5
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by itsjustme
Are you sure there is an audio cable running from the CD drive to the sound card or motherboard?
A CD with audio files is not mountable.
Nope, not sure. If I don't have one, is there a way around that?

Quote:
Originally posted by GruiX
In XMMS
Press Ctrl+L (open location) and enter the file corresponding to the cdrom device (ex /dev/cdrom )
Doesn't work, gives me an empty playlist...

Courthold, yes, an audio CD can't be mounted. It should link directly to the device...
 
Old 10-30-2004, 04:10 PM   #6
GruiX
Member
 
Registered: Jan 2004
Location: Toulouse (France)
Distribution: Arch Linux
Posts: 46

Rep: Reputation: 15
Are you sure it's not one of these protected CD? (it cant be read in an cd-rom drive.. normally, an autorun launches a program in windows to read hidden mp3 files)
 
Old 10-30-2004, 04:40 PM   #7
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Yup. I don't think they had that technology back in the early 1990's. Plus I tried with a custom CD that I made myself.
 
Old 11-28-2004, 10:16 PM   #8
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
I got it to work. First of all, I opened my computer to switch my CD drives around (I now have three, CD writer, DVD reader, and an external DVD writer), and while I was tinkering with the innards of my system, I attached the sound cable to one of my drives. No go with KsCD. So I decided to keep trying with XMMS. Here's what you need to do:

-open up properties of XMMS, and go to the plugins tab
-select the CD player plugin, and go to configure
-set DEVICE to /dev/{your_device} (i.e. /dev/cdrecorder, or /dev/dvd)
-set DIRECTORY to /media/{your_device} (kernel 2.6+)
-set the play mode to "Digital Audio Extraction"

Be sure to add all your CD drives. Once you have done that, you may load your audio CD into the drive of your choice, open XMMS, go to "Open URL" and enter the path you put into the "Directory" box in your configuration. The titles should come up.

Good luck!
 
  


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
Playing audio cds (again...sorry) Oholiab Slackware 13 10-16-2005 03:26 PM
playing audio cds with mplayer foustware Linux - Software 6 10-27-2004 09:21 PM
Playing audio cds iantri Slackware 5 07-25-2003 05:10 PM
playing audio cds chlee Linux - Software 4 06-08-2003 10:00 AM
Playing Audio CDs Anmar Linux - Software 13 03-17-2003 04:20 AM

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

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