LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error messages when trying to play any cd...please help (https://www.linuxquestions.org/questions/linux-newbie-8/error-messages-when-trying-to-play-any-cd-please-help-67405/)

ksoma 06-23-2003 01:15 AM

Error messages when trying to play any cd...please help
 
I checked all the other posts by doing a search for this problem...and I found that many people had them......but it wasnt answering my questions. So i decided to start a new post here.

I read in some of the posts that you cannot mount an audio cd...I was wondering why this is?.....I thought mounting a drive allowed you to see the contents of the disk in the drive. ...so if i wanted to view the .cda files individually in the /mnt/cdrom or /mnt/cdrom1 folder...i can't do that with audio cds?? I was kind of confused when i read that...if anyone can explain details...that would be appreciated.

But this is the problem I'm getting.....mp3's play fine...no problems with audio ...however, when i pop a cd in either of the dvd or cd-rw drives, the default cd player opens and the cd tracks are recognized for both my burned and regular cds..and everything starts playing...except there is no audio...i also tried playing the files in XMMS...and no luck there either with the sound. I looked at the top of XMMS where it gives you the info when I was trying to play hte track...and it said playing at 14H KBPS at 44 KHZ....dont know if this is helpful...but i thought the 14H was kind of odd? I don't know if I had to modify any files to get the audio for these devices to work but if anyone can assist me with the problem, I'd greatly appreciate it. Thanks.

-Keerthan

MasterC 06-23-2003 01:20 AM

Which distro are you using? Have you checked your mixer volume levels? Are you speakers plugged in? Do you have an audio cable running from the back of your CDROM to your soundcard?

:)

As for audioCD's

Yes normally in linux the CDA filesystem is not included. Why? Because you play CD's, you don't look at em ;) However, if you want to you can look into a project that does just what you want, enables the CDA filesystem:
http://freshmeat.net/projects/cdfs/?topic_id=118%2C142

There are others too:
www.google.com/linux

Cool

ksoma 06-23-2003 01:24 AM

I have Redhat 9.0.....And the audio works fine...I'm playing an mp3 right now....and actually..the problem may be that i don't have an audio cable running to the back of my sound card....i bought a cheapo sound card the other day to play mp3s on here...but i never redirected the cables into this new sound card....so I'm guessing that's where my prob is :cool: ..Thanks.

P.S. - I've never toyed with the internals before....do all soundcards give compatibility to playing cd roms...because this is really a cheap sound card...and where on the soundcard would I have to make these connections?

ksoma 06-23-2003 01:29 AM

One more thing, in windows, the other sound card is the one that is recognized ....is there any way i can set this new one to the primary sound card in windows? ...actually it would probbaly just be better to get rid of that other sound card.

MasterC 06-23-2003 01:32 AM

The only place possible ;) If you get the audio cable (or have one) one end will attach to the CDROM, the other to a similar port on your soundcard. If it's an onboard soundcard, there will most likely be green/white/black plugs for it.

As for all soundcards give compatibility to playing CDROMs, well that would be a limitation of the drivers I believe. So it would depend on what you are using. If you haven't heard of ALSA let me be the first to point you there www.alsa-project.org It's excellent to say the least.

Cool

ksoma 06-23-2003 01:39 AM

Yea i've been there before...I went there to try getting my other sound card to work...but I had no luck there..probably wasn't doing something right. My other sound card is a Soundblaster Live!.....this one is an Inland Thunder-somethin.......they both are PCI slot cards...so would the connection be diff. opposed to the card onboard? I'm about to pop it open and tinker with it...so I was just getting something to look out for before i tried. Thanks for the prompt replies...really appreciate it. :cool:

MasterC 06-23-2003 01:44 AM

It should look similar to the above descrption, it may lack color though. The shape should be somewhat similar, and if it has a digital connection it will appear slightly smaller (that's optimal).

Cool

ksoma 06-23-2003 01:49 AM

Good deal, I'll try that out and see what happens....thanks again. Appreciate it.

-Keerthan

ksoma 06-23-2003 02:00 AM

Ok, I opened up the comp...I was mistaken....the cable that I saw last time I looked in my comp was the cable that allowed for a headphone jack......But there are no cables from my cd rom or dvd rom to the sound card.

MasterC 06-23-2003 02:06 AM

You might wanna get one :)

In the meantime, you could copy the [data] cd to your drive listen and then delete. One not-so-easy way (but cool :D ):
dd if=/dev/cdrom of=/home/iso/music.iso

And then:
mount -t iso9660 /home/iso/music.iso /mnt/cdrom -o loopback

This requires loopback enabled in your kernel, so it might not work. What this will do is make it appear that your CDROM is mounted at /mnt/cdrom and then your devices can play the "CD" as if it were the CD. :) The other option is to just copy the contents of the CD to a directory and play that directory (easier, but not as geeky).

Cool

MasterC 06-23-2003 02:08 AM

Just to clarify:

I don't mean you can copy an audioCD that way, I don't think that'll work (not like that anyway... it's worth a shot, then you could rip it from the HD... hmm....) but I mean an MP3 CD (data) where the music isn't really music but data on a standard filesystem rather.

Cool

ksoma 06-23-2003 02:12 AM

I see....so w/o the use of cables....what exactly is responsible for relaying the input to the soundcard? And if I got a cable...i noticed a little black input jack that says CD IN...im assuming it fits in right there and would solve my problems.

MasterC 06-23-2003 02:22 AM

Probably would.

As for what is responsible, not much (from CD to soundcard). In linux there is no DAE via the IDE cables, so you are pretty much limited to on-disk sound that is fed via PCI to the soundcard.

Cool

Rick422 06-23-2003 02:23 AM

I also use Red Hat 9. The cable is probably your problem however as someone else mentioned you should also check the volume control within RH9. Specifically, you should click on the Red Hat Icon in the lower left corner, then click on "sound and video", then click on volume control. Then in there make sure that mute is not checked for any of the sound devices. On my computer I had to change that before I could get the sound from my TV tuner card. It seems like I once may have had to do that to play CDs, I can not say for sure. At least now when I pop in a CD the CD player program opens automatically and after a few seconds it starts to play. I never bother to mount the music CD first.

Why do you have two different sound cards? Did I understand you to say that you use one sound card for Windows and a different one for Linux? Is one built into the motherboard and do you not like that one? If so, perhaps you should just go into your BIOS setup menu and disable the onboard sound card and have Linux and Windows both use the same sound card. Do you know what key or combination of keys to press while your computer is first booting up to get into the BIOS setup menu? On my new computer I press the DELETE key, but on my old computer I had to press a different key. In the BIOS on my newer computer there is an option to disable the motherboards built-in sound card. Is that what you would want to do? I am not running Windows at the moment and am not sure what version of Windows you use. Without having the same version of Windows running in front of me I am not sure if I can describe how to do this. But, suppose you disabling the sound card that Windows uses from the BIOS. From Windows you would probably then need to uninstall the the old driver and then install the new driver. It is possible that Windows may detect some or all of the changes while booting up and help you make the change. When you then boot-up RH9 it may also detect the hardware change too. I know from experice RH9 automatically detects at least some hardware changes while booting-up but am not sure about the sound cards.

On most sound cards and other devices which use sound, there are usually both internal and external sound connectors. Either could be used. As mentioned eartier, there should be a small little cable running between your CD-ROM drive and the sound card? Which audio card does it connect to?

Rick422 06-23-2003 02:35 AM

I just noticed that you have both a DVD drive and a CD-RW drive. That is what I have on my computer too. I use a special Y-adaptor cable that on one end connects to each of my drives. The other end connects to my CD-RW drive. The third end connects to the appropriate connector for sound on my motherboard. In the center of the cable there is a small electronic device which probably switches between drives or at least does something.

I see that several messages got posted just ahead of my previous post, so I was a little out of sync with the flow of conversation in this thread. I see from the previous posts that you have two PCI sound cards and not one one the motherboard. So you can ignore much of my previous post.


All times are GMT -5. The time now is 05:50 PM.