LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cant play music CD's (https://www.linuxquestions.org/questions/linux-software-2/cant-play-music-cds-258671/)

unclejessie77 11-24-2004 02:11 AM

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.

daihard 11-24-2004 02:43 AM

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.

unclejessie77 11-24-2004 04:01 AM

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.

foo_bar_foo 11-24-2004 11:21 AM

/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

Peeyush Maurya 11-24-2004 11:48 AM

just a guesss..

might be problem with cd drive or audio cd

were u able to play audiocd earlier?

unclejessie77 11-24-2004 07:29 PM

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

daihard 11-24-2004 07:48 PM

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?

unclejessie77 11-24-2004 10:37 PM

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:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_u:object_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

daihard 11-24-2004 11:52 PM

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:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_u:object_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?

unclejessie77 11-25-2004 12:29 AM

So should I do
ln -s /dev/hdc /dev/cdrom
or
ln -s /dev/hdc /media/cdrecorder

daihard 11-25-2004 12:53 AM

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".

unclejessie77 11-25-2004 03:41 AM

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.

kram 11-27-2004 02:11 PM

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.

unclejessie77 11-29-2004 11:26 PM

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!!

ne21 06-22-2005 10:30 PM

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?


All times are GMT -5. The time now is 03:42 PM.