LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 11-24-2004, 02:11 AM   #1
unclejessie77
Member
 
Registered: Aug 2003
Posts: 39

Rep: Reputation: 15
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.
 
Old 11-24-2004, 02:43 AM   #2
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 12.04
Posts: 913

Rep: Reputation: 32
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.
 
Old 11-24-2004, 04:01 AM   #3
unclejessie77
Member
 
Registered: Aug 2003
Posts: 39

Original Poster
Rep: Reputation: 15
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.
 
Old 11-24-2004, 11:21 AM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
/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
 
Old 11-24-2004, 11:48 AM   #5
Peeyush Maurya
Member
 
Registered: Apr 2004
Location: Delhi, India
Distribution: Red Hat , WhiteBox
Posts: 31

Rep: Reputation: 15
just a guesss..

might be problem with cd drive or audio cd

were u able to play audiocd earlier?
 
Old 11-24-2004, 07:29 PM   #6
unclejessie77
Member
 
Registered: Aug 2003
Posts: 39

Original Poster
Rep: Reputation: 15
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
 
Old 11-24-2004, 07:48 PM   #7
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 12.04
Posts: 913

Rep: Reputation: 32
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?
 
Old 11-24-2004, 10:37 PM   #8
unclejessie77
Member
 
Registered: Aug 2003
Posts: 39

Original Poster
Rep: Reputation: 15
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_ubject_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_ubject_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.
 
Old 11-24-2004, 11:52 PM   #9
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 12.04
Posts: 913

Rep: Reputation: 32
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_ubject_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_ubject_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?
 
Old 11-25-2004, 12:29 AM   #10
unclejessie77
Member
 
Registered: Aug 2003
Posts: 39

Original Poster
Rep: Reputation: 15
So should I do
ln -s /dev/hdc /dev/cdrom
or
ln -s /dev/hdc /media/cdrecorder
 
Old 11-25-2004, 12:53 AM   #11
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 12.04
Posts: 913

Rep: Reputation: 32
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".
 
Old 11-25-2004, 03:41 AM   #12
unclejessie77
Member
 
Registered: Aug 2003
Posts: 39

Original Poster
Rep: Reputation: 15
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.
 
Old 11-27-2004, 02:11 PM   #13
kram
Member
 
Registered: Nov 2004
Distribution: Gentoo
Posts: 33

Rep: Reputation: 15
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.
 
Old 11-29-2004, 11:26 PM   #14
unclejessie77
Member
 
Registered: Aug 2003
Posts: 39

Original Poster
Rep: Reputation: 15
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!!
 
Old 06-22-2005, 10:30 PM   #15
ne21
Member
 
Registered: Jun 2003
Location: Somewhere in Middle America
Distribution: Slackware 10, XandrOS
Posts: 61

Rep: Reputation: 15
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?
 
  


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
Getting music CD's to play without the cable lfrazier Linux - Newbie 6 08-15-2006 12:37 PM
CD Player won't play music CD's proNick Slackware 2 05-01-2005 03:23 AM
My SuSE 9.0 Pro will not play music cd's? sissipher Linux - Newbie 7 03-25-2004 05:48 PM
Why can't I play Music CD's sgtbob Linux - Newbie 12 01-30-2004 06:28 PM
cannot read or play music cd's scottsteibel Linux - Newbie 4 12-26-2003 09:45 PM


All times are GMT -5. The time now is 05:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration