LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-29-2003, 09:36 PM   #1
jedillwag
LQ Newbie
 
Registered: Nov 2003
Posts: 10

Rep: Reputation: 0
CD audio no sound, and a little MP3 trouble with XMMS


Hello Linux World, or Mandrake World

I am now on the path of freedom (I love it, LOUD)

I spent this extended turkey weekend installing Mandrake 9.2 on my PC.

System
ECS K7S5A PRO Socket A Motherboard
AMD Atholon XP 2000
On board Sound
On board LAN
DVD Dive
Sony DRU500
ATI All in Wonder 8500DV

So far everything has been small challenges, no big deal. But now I have been in CD-MP3 audio funk. Here's the trouble and my confusion, and thanks in advance for the any help.

I can play MP3's on the hard drive and when a burned disk DVD media and CD media is in the DVD drives.

MP3 trouble

The trouble I have with MP3's is when I use XMMS to play the MP3's it get garbled audio on HD or CD media. I seems to be when I launch another program while its playing. Totem plays them fine.

So the first thing I went to change was the priority of this application I could only do it as root, with the GNOME system monitor program. This did nothing. I could not find anything on garbled audio for XMMS just audio drops. They suggested the ALSA-driver packages is this right for my mother board? Does anyone have a fix for this?

I installed with mandrake install software tool.
XMMS
XMMS ALSA

Is there more?


CD Audio Trouble
I put a Audio CD into the DVD drive cdrom.
trouble I can not see any files on the disc.
I then try the other drive the Sony DVD drive cdrom2.
trouble I can not see any files on the disc.

I open up the CD player software when the disc is in the drive.
The player looks up the tracks and shows that it is indeed playing them. But no sound.

I opened up the XMMS software and it to shows that it is indeed playing them. But no sound.

I opened up the totem software and it to shows that it is indeed playing them. But no sound.

First thing I check after reading this forum and others was the audio cable from the DVD drives to the motherboard. They are installed.

Second was someones posted the volume settings. I went to the panel at the bottom of the GNOME gui and there is a little volume control it is set to ¾ volume.

I went to Multimedia ->Sound -> Volume control. Nothing is muted and all are over the half way mark.

Third someone stated to give the settings of the drives.
cat /etc/fstab
/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,codepage=850,iocharset=iso8859-1,sync,umask=0 0 0
/dev/hda1 /mnt/windows ntfs ro,iocharset=iso8859-1,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdb5 swap swap defaults 0 0

Forth was run alsaconf, I get confused here I have two choices that show up.

Intel8x0 silicon integrated system [SiS] Sound Controller 9rev
and
legacy Probe legacy ISA (non-PnP) Chips

I highlighted the SiS and it asked
Configuring snd-intel8x0
Do you want to modify /etc/modules.conf

I stated Yes

Nothing Changed

Is there something I need installed in order to see and play CD audio that I am missing. There is a lot of ALSA stuff not installed on my machine according to mandrake install software tool.


Thanks for taking the time to read this and helping a newbie.

Jedillwag
 
Old 11-30-2003, 01:09 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Try running lsmod and look for any modules named snd- particularly snd-i8xx or something like that. If the module is loaded then run alsamixer and make sure the proper channels are set, particularly Master, PCM and CD.

As for looking at files on an audio CD, you can only see the songs from a CD player or ripper program.
 
Old 11-30-2003, 10:13 AM   #3
jedillwag
LQ Newbie
 
Registered: Nov 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you for your help.

I did what you stated, and do not see the information?

lsmod
Module Size Used by Not tainted
parport_pc 25544 1 (autoclean)
lp 8160 0 (autoclean)
parport 34472 1 (autoclean) [parport_pc lp]
radeon 108512 1
agpgart 48292 3 (autoclean)
snd-seq-oss 32000 0 (unused)
snd-seq-midi-event 6080 0 [snd-seq-oss]
snd-seq 42544 2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 43652 0
snd-mixer-oss 14200 1 [snd-pcm-oss]
snd-intel8x0 22020 1
snd-pcm 79588 0 [snd-pcm-oss snd-intel8x0]
snd-timer 18436 0 [snd-seq snd-pcm]
snd-ac97-codec 45720 0 [snd-intel8x0]
snd-mpu401-uart 4704 0 [snd-intel8x0]
snd-rawmidi 17760 0 [snd-mpu401-uart]
snd-seq-device 5832 0 [snd-seq-oss snd-seq snd-rawmidi]
snd-page-alloc 9044 0 [snd-intel8x0 snd-pcm]
snd 41380 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 6340 0 [snd]
nfsd 75280 0 (autoclean)
af_packet 14856 1 (autoclean)
sr_mod 19384 0 (autoclean)
floppy 55932 0
sis900 15244 1 (autoclean)
nls_iso8859-1 3484 1 (autoclean)
ntfs 77292 1 (autoclean)
supermount 84032 3 (autoclean)
ide-scsi 11376 0
scsi_mod 106176 2 [sr_mod ide-scsi]
ide-cd 33956 0
cdrom 32608 0 [sr_mod ide-cd]
rtc 9004 0 (autoclean)
ext3 60048 2
jbd 39264 2 [ext3]


does this look right?

ALSAmixer

Shows everything in the green and some in the red.

Anything eles?

Thanks again
Jedillwag

 
Old 11-30-2003, 11:26 AM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
When you run alsamixer did you set CD? You might not see it at first but there are more channels to the right, you have to use the arrow keys to get to them. When you are done with alsamixer run alsactl store to save the settings.

Also what window manager / desktop are you using? Sometimes in KDE you have to go to the Sound Server and tell it to use ALSA.
 
Old 11-30-2003, 12:35 PM   #5
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193

Rep: Reputation: 38
Talking Simply connect your CD unit to soundcard!!

Sometimes manufacturers don't connect CD-Rom device to sound card properly using a thin gray audio cable ("other" OS doesn't need it because they make Digital Extraction of data by default Linux doesn't).
First find an audio cable then open your case and plug one end of the cable to the connector on the left of IDE cable in the rear of your CD unit.
Connect the other end of the audio cable to the connector named CD-in on the motherboard or soundcard if you have it.
Close your case and play your CD it should works now.
Let me now!!
Walker
 
Old 11-30-2003, 04:26 PM   #6
jedillwag
LQ Newbie
 
Registered: Nov 2003
Posts: 10

Original Poster
Rep: Reputation: 0
in alsamixer CD is set to 90<>90 (in the red)

I triple checked the audio cable from the DVD drive to the motherboard. From the DVD drive it go's directly to CD1 input on the motherboard. And the second drive goes directly to CD2.

I use Gnome, but tried KDE nothing changed?

"Digital Extraction of data by default Linux doesn't" Can this be changed or is linux not capable?

like I said I'm at a loss.

And Sounds works on everything else MP3, Video, DVD's. On hard drive and in the DVD drive.

but not audio CD's?

Is there another place to check, maybe a driver, the drive itself. Some software or RPM's to install. this is a pretty clean machine (3 days old)?

Thanks again
jedillwag
 
Old 11-30-2003, 07:33 PM   #7
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
i had some problems like you are having in KDE (may have had the problems in gnome as well but never checked) In KDE i disabled the sound server and all my sound problems dissappeared

EDIT: I misread your post... I was having problems with garbled music from mp3's and such... not sure if the above is going to help you.

Last edited by trey85stang; 11-30-2003 at 07:35 PM.
 
Old 11-30-2003, 07:45 PM   #8
jedillwag
LQ Newbie
 
Registered: Nov 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for your input.

I to have garbled music from mp3's.

I Stopped the sound server Should be the same as disabling?

Same thing garbled music from mp3's.

Thanks Again
Jedillwag
 
Old 11-30-2003, 08:35 PM   #9
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
The only module I see that could cause some CD problems is supermount. I have always had problems with supermount and usually the first thing I do after an install is to edit /etc/fstab and remove the supermount from the CD's.

Try editing /etc/fstab (first remove all cd's and umount any mounted cd's) and on the line with the cdrom put a # at the start of the line, this. Then add a line like this:
/dev/scd0 /mnt/cdrom iso9660 noauto,user 0 0
Now save /etc/fstab and try playing a cd.

If this doesn't fix it and you want supermount back just edit /etc/fstab, remove the # and remove the line you added.
 
Old 12-01-2003, 05:03 PM   #10
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193

Rep: Reputation: 38
Talking You have find the solution by yourself!!

When you write...
"And Sounds works on everything else MP3, Video, DVD's. On hard drive and in the DVD drive."

You've got only one audio plug, I too, on the motherboard or sound card and it's connected to the DVD - that's way you can hear sound from your DVD unit - (I don't mean the large thin gray cable with a red stripe on a side but a little thin gray cable with a white,a red and a black wire inside) and if you play a DVD you can hear the sound,you've wrote it.
If you want' to hear an audio CD put it into your DVD.
There's no other way till someone could make Linux capable to read data direct using IDE bus.
Sorry for the delay but I work so I've seen your post only now.

Let me know.
Walker
 
Old 12-01-2003, 06:15 PM   #11
jedillwag
LQ Newbie
 
Registered: Nov 2003
Posts: 10

Original Poster
Rep: Reputation: 0
bin/bash

/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb6 /home ext3 defaults 1 2
#none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
#none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,codepage=850,iocharset=iso8859-1,sync,umask=0 0 0
/dev/scd0 /mnt/cdrom iso9660 noauto,user 0 0

Still no sound on CD player

walker

I built this system myself, I know that don't mean anything.
Q1 "large thin gray cable with a red stripe on a side"
A1 Um correct me if I'm wrong but nothing would work if this was'nt there. Your taking about the IDE cable. Yes its there as well.

Q1 "little thin gray cable with a white,a red and a black wire inside"
A1 Audio Cable 4-4 Goes directly from my DVD drive to my motherboard (CD1 connector).

Q3 "if you play a DVD you can hear the sound,you've wrote it."
A3 If I'm liy'in, I'm die'in. My daughter and I watched Nemo last night. But I think, and I'm not 100% sure but is'nt this digital. Meaning it don't go out this Audio Cable. I will pull it after this post and report back.

you lost me here
"If you want' to hear an audio CD put it into your DVD."
I have two drives
DVD (some $30 thing from Fry's)
DVD Sony DRU500

DVD movies work on both DVD drives.
CD--R Media with MP3's work on both DVD drives.
CD--R Media with *.Wav files work on both DVD drives.

But the trouble is when I put a Audio CD no sound at all. CD player software say's its playing. XMMS say's its stereo and is playing but it skips through all the tracks on the CD. By this I mean it plays the first 5 sec's of every track, and then jumps to the next track until it reaches the last file. I watch it in the play list window.

So far I have checked
1. Cable's Five Times (seriously)
2. lsmod (I don't know what this should look like but its in the post above)
3. alsaconf (Same thing I posted above)
4. alsamixer (I wanted to past this in but text was off margin and could'nt be read very well)
5. Stoped sound services, played CD (no Sound) and then restarted it.
6. Tried a different GUI (KDE)
7. edit /etc/fstab

Do I need some ALSA RPM's installed. Example
alsaplayer
gnome-alsamixer

This is a stupid thing I can tell. (something's not installed)

"Sorry for the delay but I work so I've seen your post only now."

Yep work sucks, Vacations Rock (if we could only get more)

And thanks for your help again.
Jedillwag

Heres my alsamixxer
┌───────────────────[AlsaMixer v1.00 (Press Escape to quit)]───────────────────┐│ Card: SiS SI7012 ││ Chip: C-Media Electronics CMI9738 ││ Item: CD ││ ││ ------ ------ ------ ││ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ││ │ │ │ │ │ │ │ │ │##│ │ │ │##│ │ │ ││ │##│ │ │ │##│ │ │ │##│ │ │ │##│ │ │ ││ │##│ │ │ │##│ │ │ │##│ │ │ │##│ │ │ ││ │##│ │ │ │##│ │ │ │##│ │ │ │##│ │ │ ││ │##│ │##│ │##│ │##│ │##│ │ │ │##│ │ │ ││ │##│ │##│ │##│ │##│ │##│ │ │ │##│ │##│ ││ │##│ │##│ │##│ │##│ │##│ │ │ │##│ │##│ ││ │##│ │##│ │##│ │##│ │##│ │ │ │##│ │##│ ││ │##│ │##│ │##│ │##│ │##│ │ │ │##│ │##│ ││ │##│ │##│ │##│ │##│ │##│ │ │ │##│ │##│ ││ │##│ │##│ │##│ │##│ │##│ │ │ │##│ │##│ ││ │##│ │##│ │##│ │##│ │##│ │ │ │##│ │##│ ││ └──┘ └──┘ └──┘ └──┘ └──┘ └──┘ └──┘ └──┘ ││ 84<>84 65<>65 90<>90 65<>65 100<>100 97<>97 52<>52 ││ Master Master M PCM Surround Line Line-In < CD > Mic ││ │└──────────────────────────────────────────────────────────────────────────────┘

Nothings muted At the TOP.
 
Old 12-01-2003, 07:29 PM   #12
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193

Rep: Reputation: 38
For my pc it worked.And for some other too.
I also have a DVD-Rom and a CD-RW but I've only one CD audio input on the motherboard (i've got on-board audio codec no separate soundcard).
I've opened my case a lot of time and I know that there was no audio cable in but with the "other" OS it worked so it wasn't a problem for me.
In July I tried Linux (a lot of distro) with everyone CD-RW and DVD won't give sound output.
I could play Mp3 by hard drive but no audio CD untill I've connected DVD to motherboard CD-in.
To hear music I can use only DVD drive.
I've tried now too.
If I put an audio CD into CD-RW drive it give no sound output becase no audio cable is connected.
But I've got only one audio plug so I can use only one drive (the DVD) to hear music.
With data CD there's no trouble.
Linux can read data by CD-RW or DVD without problem but not audio.
This is my experience.
Sad,that I can't help you.
Walker
 
Old 12-01-2003, 07:41 PM   #13
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
In your first post you didn't mention the second DVD. Walker is correct about only getting CD audio from one drive at a time, unless you have a CD-Audio-Splitter cable.
Quote:
System
ECS K7S5A PRO Socket A Motherboard
AMD Atholon XP 2000
On board Sound
On board LAN
DVD Dive
Sony DRU500
ATI All in Wonder 8500DV
<edit> Oh I guess the Sony DRU500 is the other drive. My bad.

But I think you are saying you don't get audio from either drive? Is that correct?

If so then make sure you have these packages installed.

$ rpm -q cdrdao
cdrdao-1.1.7-2mdk
$ rpm -q cdparanoia
cdparanoia-IIIa9.8-8mdk
$ rpm -q cdrecord
cdrecord-2.01-0.a18.2mdk

NOTE: The above are for Mandrake-9.2

Also I use scsi emulation on both my cd's because cdrecord requires scsi emulation and therefore you cannot copy from one cd to the other without it. This can sometimes cause me to get get mixed up on which CD is which and I just do this:
eject /dev/scd0
Which ever one opens up I know is scd0.

Last edited by /bin/bash; 12-01-2003 at 07:45 PM.
 
Old 12-01-2003, 09:23 PM   #14
jedillwag
LQ Newbie
 
Registered: Nov 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Holy Crap Ball's Of Fire (ouch)

I got sound from a CD. !!!!!!!!!!!!!

CD Player
XMMS (and It played it all the way though, not 5 sec's and then scip to the next one)

Now the bad news.

I have everything (volume wise) CRANKED
And I can barely hear it. (I had it loud before I promise)

/bin/bash

What Now.
"I use scsi emulation on both my cd's"
Do I need this Is there a how-to for it?


Thanks for all your help I really don't care about CD's, But if my old lady tried it and It did'nt work "WOW".

There has to be some other volume thing going on here, maybe another RPM?

You guys are great.
Thanks
Jedillwag
 
Old 12-01-2003, 11:27 PM   #15
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Have you checked the headset jack on the drives? That will disable the audio going out, and if the plug doesn't make good contact when you remove the headset plug this can cause problems. You could try plugging in a headset and see if the audio is good there.
 
  


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
trouble ripping audio to MP3 files chris_11542 Linux - Software 8 12-31-2004 03:11 PM
No MP3 sound in XMMS after plugin :( Matt Hissong Linux - Software 3 11-22-2004 08:10 PM
no sound playing mp3 with xmms The Karl Linux - Software 8 09-29-2004 03:43 PM
having trouble playing audio cds with xmms Smokey Slackware 6 09-23-2004 08:56 PM
No mp3 sound in xmms on Mandrake 10 will103 Linux - Newbie 1 04-05-2004 06:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration