Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cant play audio cds[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Tue Jan 11, 2005 2:58 am    Post subject: Cant play audio cds[solved] Reply with quote

Ok, 1st off im not having this problem on my gentoo box Im having it on a Suse box at work. But the suse community forums are shite and I cant get any help there, so I thought that Id call out for help here. As the title states I cant play audio cds on this machine. I dont know what the hell is the matter. fstab:
Code:

/dev/cdrom           /media/cdrom         subfs      ro,noauto,user,exec   0 0 
#/dev/cdrom          /media/cdrom         auto       ro,noauto,user,exec   0 0

With either of the above entries I get nada. Im able to read data files from a cd w/out a problem. (I.e from a solaris install disk) But when I try to play an audio cd nothing?!?!?! The symlink is there for /dev/hdc to /dev/cdrom:
Code:
 ls -l /dev/cdrom
lrwxrwxrwx  1 root root 3 2004-10-29 22:27 /dev/cdrom -> hdc

Im not getting anywhere with this so any help would be appreciated.
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538


Last edited by gnuageux on Tue Jan 11, 2005 10:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
erikb
n00b
n00b


Joined: 07 Jun 2004
Posts: 27
Location: USA:MA:Boston::1

PostPosted: Tue Jan 11, 2005 3:45 am    Post subject: Reply with quote

I don't think the problem would be with the symlinks. I would check that cd audio is not muted in your sound system. I do that via alsaconfig for ALSA, I don't know about OSS. After that, be sure that the audio cable (not just the ide and power cables) is connected from the cd drive to the sound card (or motherboard if it's onboard).

I've made the assumption that whatever tool you're playing cd's in seems to play them but you just don't hear anything. Is this true? Do you have any indication that your app is playing or not playing the cd?
Back to top
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Tue Jan 11, 2005 3:55 am    Post subject: Reply with quote

Actually its not that I dont hear them, its that they arent read I guess is a better way of putting it. (I.e I insert cd, then try to add songs from cd to say xmms but the /media/cdrom dir shows empty) (I am able to listen to mp3's and such so its not the connections to the speaker or similiar) Does my fstab entry look ok?
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
erikb
n00b
n00b


Joined: 07 Jun 2004
Posts: 27
Location: USA:MA:Boston::1

PostPosted: Tue Jan 11, 2005 4:39 am    Post subject: Reply with quote

Ok, that's a good clarification. I'm not sure about subfs options, so someone else needs to verify that. Before I go further let me say that I don't frequently play audio cd's, so I could be completely wrong here...

I don't think it's possible to mount a raw audio cd, because there isn't a filesystem on it. I tried to mount one manually, and mount complained about not being able to read the superblock, which makes sense to me. So I think the issue isn't about mounting and reading the cd, it's about how to tell xmms to play an audio cd.

One google search later....

Aha, we have to configure audio playback in xmms. Once I set my device and dir correctly from the cd audio player input plugin (in audio i/o plugins under the prefs panel), I can go 'add file' in xmms and xmms shows that directory as having a bunch of cd audio tracks. This site has a bunch of screenies showing some dialogs, tho they're slightly different from mine.
http://www.ilug-cal.org/?q=node/view/5

So just to clarify, I did NOT need to mount the cd. Once configured, xmms saw the cd w/o issue.
Back to top
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Tue Jan 11, 2005 5:29 am    Post subject: Reply with quote

Ok, I thnk that youre onto something here! I dont seem to have the xmms-cdread plugin, searching for that now.
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Tue Jan 11, 2005 10:56 am    Post subject: Reply with quote

you could try gxine or
Code:
gnome-cd --device=/dev/cdroms/cdrom1 --play

or maybe

Code:
gnome-cd --device=/dev/cdrom --play
in your case.

gxine plays pcm the second goes down the little bit if wire.

HTH 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Tue Jan 11, 2005 10:11 pm    Post subject: Reply with quote

Im not sure that its just xmms. I want to rip these cds but grip wont recognize them either. Ill give it a whirl though, thx
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Tue Jan 11, 2005 10:53 pm    Post subject: Reply with quote

Ok, got this figured out. Apparently libcdread is now part of libcdaudio and there were some options that I had to toggle. Im now able to rip / play / whatever. Thx guys for all ur help. Just goes to show you that the gentoo comm. kicks fscking ass as theyre willing to help a fellow member out even when hes using a different distro! Thanks again!
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Tue Jan 11, 2005 11:23 pm    Post subject: Reply with quote

All part of the same family man, I'm just reading suse doc to help me figure out ALSA.

Glad if I was any help getting you back on course.
8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum