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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-30-2004, 01:42 PM
|
#1
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Rep:
|
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!
|
|
|
10-30-2004, 02:12 PM
|
#2
|
Member
Registered: Nov 2003
Posts: 58
Rep: 
|
/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.
|
|
|
10-30-2004, 02:15 PM
|
#3
|
Senior Member
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571
Rep:
|
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.
|
|
|
10-30-2004, 02:17 PM
|
#4
|
Member
Registered: Jan 2004
Location: Toulouse (France)
Distribution: Arch Linux
Posts: 46
Rep:
|
In XMMS
Press Ctrl+L (open location) and enter the file corresponding to the cdrom device (ex /dev/cdrom )
|
|
|
10-30-2004, 02:34 PM
|
#5
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Original Poster
Rep:
|
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...
|
|
|
10-30-2004, 04:10 PM
|
#6
|
Member
Registered: Jan 2004
Location: Toulouse (France)
Distribution: Arch Linux
Posts: 46
Rep:
|
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)
|
|
|
10-30-2004, 04:40 PM
|
#7
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Original Poster
Rep:
|
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.
|
|
|
11-28-2004, 10:16 PM
|
#8
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Original Poster
Rep:
|
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!
|
|
|
All times are GMT -5. The time now is 10:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|