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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-24-2004, 02:11 AM
|
#1
|
|
Member
Registered: Aug 2003
Posts: 39
Rep:
|
Cant play music CD's
I just installed Fedora Core 3 on my Sony Vaio laptop. I installed XMMS and the MP3 plugin. I can stream music MP3 from Shoutcast just fine, but when I try to put a CD in and listen to it from XMMS, RIP via GRIP or anyother program, even in a terminal I cant see the disc or its contents. Basically it looks like a put a blank disc in the CDROM. This only happens with music CD's, Data disc's work just fine.
Am I missing a plug-in or something? I dont even know were to begin to troubleshoot this.
|
|
|
|
11-24-2004, 02:43 AM
|
#2
|
|
Member
Registered: Jul 2003
Location: Lynnwood, WA
Distribution: Kubuntu 10.10
Posts: 912
Rep:
|
Re: Cant play music CD's
Quote:
Originally posted by unclejessie77
I just installed Fedora Core 3 on my Sony Vaio laptop. I installed XMMS and the MP3 plugin. I can stream music MP3 from Shoutcast just fine, but when I try to put a CD in and listen to it from XMMS, RIP via GRIP or anyother program, even in a terminal I cant see the disc or its contents. Basically it looks like a put a blank disc in the CDROM. This only happens with music CD's, Data disc's work just fine.
Am I missing a plug-in or something? I dont even know were to begin to troubleshoot this.
|
I'd suggest that you go to Options -> Preferences to make sure you have the CD Audio play plugin enabled. On the Audio I/O plugins tab, there's a listbox labelled "Input plugins." Make sure "CD Audio play" is listed and enabled first.
If so, hit "configure" and make sure the correct device and directory names are listed there (e.g. /dev/cdrom and /mnt/cdrom). You can hit "Check Drive" to see if you've got the correct configuration.
Oh, and you don't see the contents of the audio CD, because you don't mount it.
Last edited by daihard; 11-24-2004 at 02:44 AM.
|
|
|
|
11-24-2004, 04:01 AM
|
#3
|
|
Member
Registered: Aug 2003
Posts: 39
Original Poster
Rep:
|
Thanks, When I hit "check drive" i get:
Failed to open device /dev/cdrom
Error: No such file or directory
Failed to check directory /mnt/cdrom
Error: No such file or directory
Note: This is not just through XMMS. Its all CD apps. like GRIP, the Gnome CD player and XMMS.
|
|
|
|
11-24-2004, 11:21 AM
|
#4
|
|
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
|
/dev/cdrom and mnt/cdrom
you have to make a link in dev called cdrom that points to your actual device
if you use scsi emulation it will be something like
cdrom -> scd0
(i don't think fedora uses scd0)
otherwise if i remember right it might be /dev/hdc ???
try looking at the boot logs that ought to tell you what the device is
it sounds like a bug in the way the thing got setup automajically
now it may be that kudzu or something makes this link during startup or something so if it comes back wrong then that's whats happening i guess (or a possibility)
as root
mkdir /mnt/cdrom
|
|
|
|
11-24-2004, 11:48 AM
|
#5
|
|
Member
Registered: Apr 2004
Location: Delhi, India
Distribution: Red Hat , WhiteBox
Posts: 31
Rep:
|
just a guesss..
might be problem with cd drive or audio cd
were u able to play audiocd earlier?
|
|
|
|
11-24-2004, 07:29 PM
|
#6
|
|
Member
Registered: Aug 2003
Posts: 39
Original Poster
Rep:
|
foo_bar_foo, i belive its /dev/hdc. So i created a symbolic link in / called cdrom to /dev/hdc. I still cant load .cda files into any music player. Or even view the contents of a disc with .cda files on it.
Peeyush, my cdrom use to work just fine under RH9. I can put a cd in with .mp3's and play them just fine now, just not .cda
|
|
|
|
11-24-2004, 07:48 PM
|
#7
|
|
Member
Registered: Jul 2003
Location: Lynnwood, WA
Distribution: Kubuntu 10.10
Posts: 912
Rep:
|
Quote:
Originally posted by unclejessie77
foo_bar_foo, i belive its /dev/hdc. So i created a symbolic link in / called cdrom to /dev/hdc. I still cant load .cda files into any music player. Or even view the contents of a disc with .cda files on it.
Peeyush, my cdrom use to work just fine under RH9. I can put a cd in with .mp3's and play them just fine now, just not .cda
|
What's a ".cda" file?
You can test to see if /dev/hdc is the correct device for your CD-ROM by simply running "eject /dev/hdc". If it open the tray, then it's the correct device for your CD-ROM drive. I've got two CD/DVD drives; /dev/hdc and /dev/hdd.
What does your /etc/fstab say about your CD-ROM drive and its mount point?
|
|
|
|
11-24-2004, 10:37 PM
|
#8
|
|
Member
Registered: Aug 2003
Posts: 39
Original Poster
Rep:
|
i can type "eject /dev/hdc" and my cdrom opens.
Isnt .cda the file extention on storebought music CD's?
Here is the contents of /etc/fstab
[root@eugene etc]# more /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hdc /media/cdrecorder auto pamconsole,fscontext=system_u  bject_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_u  bject_r:removable_t,exec,noauto,managed 0 0
Also, Im prety sure this is one of the causes of the problem, but I dont know how to fix it.
[root@eugene unclejessie77]# mount /dev/cdrom
mount: can't find /dev/cdrom in /etc/fstab or /etc/mtab
Last edited by unclejessie77; 11-24-2004 at 11:10 PM.
|
|
|
|
11-24-2004, 11:52 PM
|
#9
|
|
Member
Registered: Jul 2003
Location: Lynnwood, WA
Distribution: Kubuntu 10.10
Posts: 912
Rep:
|
Quote:
Originally posted by unclejessie77
i can type "eject /dev/hdc" and my cdrom opens.
|
Then you should be able to create a symlink, "/dev/cdrom", frmo /dev/hdc as follows:
# ln -s /dev/hdc /dev/rom
Quote:
|
Isnt .cda the file extention on storebought music CD's?
|
I don't know. I've never had to see the contents of audio CD's to play them. You should not have to either.
Quote:
[Here is the contents of /etc/fstab
[root@eugene etc]# more /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hdc /media/cdrecorder auto pamconsole,fscontext=system_u bject_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_u bject_r:removable_t,exec,noauto,managed 0 0
|
Okay, so you should be able to use /dev/hdc and /media/cdrecorder for the parameters with XMMS, shouldn't you?
|
|
|
|
11-25-2004, 12:29 AM
|
#10
|
|
Member
Registered: Aug 2003
Posts: 39
Original Poster
Rep:
|
So should I do
ln -s /dev/hdc /dev/cdrom
or
ln -s /dev/hdc /media/cdrecorder
|
|
|
|
11-25-2004, 12:53 AM
|
#11
|
|
Member
Registered: Jul 2003
Location: Lynnwood, WA
Distribution: Kubuntu 10.10
Posts: 912
Rep:
|
Quote:
Originally posted by unclejessie77
So should I do
ln -s /dev/hdc /dev/cdrom
or
ln -s /dev/hdc /media/cdrecorder
|
You want to do "ln -s /dev/hdc /dev/cdrom." By the way your fstab is set up, you should already have the directory named "/media/cdrecorder".
|
|
|
|
11-25-2004, 03:41 AM
|
#12
|
|
Member
Registered: Aug 2003
Posts: 39
Original Poster
Rep:
|
I do have the /media/cdrecorder directory, regular store bought CD's wont play from there, but when I put a DVD in i can see the contents of that DVD. I cant play them, but thats another story...I think.
|
|
|
|
11-27-2004, 02:11 PM
|
#13
|
|
Member
Registered: Nov 2004
Distribution: Gentoo
Posts: 33
Rep:
|
HI,
I had the same problem and solved it by changing to permissions of /dev/hdc.
This is how:
$ su
# chmod 0666 /dev/hdc
I don't know what the /media/cdrecorder is, but this solved my problem.
|
|
|
|
11-29-2004, 11:26 PM
|
#14
|
|
Member
Registered: Aug 2003
Posts: 39
Original Poster
Rep:
|
Quote:
Originally posted by unclejessie77
I do have the /media/cdrecorder directory, regular store bought CD's wont play from there, but when I put a DVD in i can see the contents of that DVD. I cant play them, but thats another story...I think.
|
Thanks  that did it!!
|
|
|
|
06-22-2005, 10:30 PM
|
#15
|
|
Member
Registered: Jun 2003
Location: Somewhere in Middle America
Distribution: Slackware 10, XandrOS
Posts: 61
Rep:
|
So you got the mp3 plugin for XMMS. Can someone get me a link for that? I have been looking for months with no luck. And has anyone had any luck installing an actual Shoutcast Server on FC3?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:53 AM.
|
|
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
|
|