Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-23-2002, 04:54 PM   #1
Rodney Riggs
LQ Newbie
Registered: Aug 2002
Location: Utah
Distribution: RedHat 7.0
Posts: 4

Rep: Reputation: 0
CMedia sound - sox but no cat

I am most definitely a newbie to Linux. I have a RedHat 7.0 installation on an ASUS A7V266-E motherboard that uses the C-Media 8738 chipset. I have spent nearly a full work day trying to get my sound to work - with partial success. Having scanned every message and board I can find - but still no success, I have attempted to answer all the obvious questions below as part of my question...

My driver is cmpci, it loads correctly as far as I can tell, modprobe has no complaints. I have run sndconfig which seems to have also correctly identified the sound card and performed whatever magic it thought necessary. The sound bite at the end of sndconfig was terribly static filled, but I could make out a human voice saying something. As part of running sndconfig, I had to install awesfx, sox, and playmidi. I have verified that I can

play /usr/share/sounds/startup1.wav

and the sound is great (for cheap speakers). However, I have read that a quick and easy check is to

cat /usr/share/sounds/startup1.wav > /dev/audio

which does nothing but generate a staticy hissing squeal (just ask my co-workers). This happens whether I do it from a gnome terminal window, or when I am logged out of gnome and the window manager.

From the Gnome control panel for setting event sounds, when I attempt to play a sample sound - nothing comes out at all. My CPU monitor shows additional activity, and I even installed and ran eXtace (visual sound wave form display) and it shows "cool" patterns - but no sound. I Installed the aumix-X11 and pumped up the volume to the max on it and my speakers - no change. Without the play command, I would think my card was broken - but i can "play" any wav file any time with no problems.

If anyone can help, I wold be much obliged!
Old 08-24-2002, 12:38 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Well after you "modprobe" your module, LSMOD (in lowercase) will display all modules loaded, you can use that to verify whether it did actually load. If so, follow that with a startx, and get into your favorite X. You needn't use aumix, as gmix will work just fine. Make sure all volumes are up, and microphone is muted. Start up xmms and try playing some files with it, usually this will at least point you to possible solutions if the sound is not set up correctly.

When you "cat" the file to the audio device, you may not have the correct permissions on the device, and that could be one of the problems. I am just guessing, but if the play command works, then you probably have got it up correctly.

And as a last note, UTAH ROCKS!

Old 08-26-2002, 11:36 AM   #3
Rodney Riggs
LQ Newbie
Registered: Aug 2002
Location: Utah
Distribution: RedHat 7.0
Posts: 4

Original Poster
Rep: Reputation: 0
lsmod confirms that cmpci is loaded. I checked the permissions on /dev/audio. They were crw------- so I chmod 666 to get crw-rw-rw-
but that made no difference.

Then I loaded xmms (with the required MikMod library). Attempting to play a .wav file showed a nice graphical display of the sound as it was being played - but nothing came out of the speakers - not even a squeak or a hiss.

So the problem sitll remains - I can "play" sounds using the "play" command, but nothing else generates anything good - not cat, not xmms.

Any other ideas anyone?

Last edited by Rodney Riggs; 08-26-2002 at 11:38 AM.
Old 08-26-2002, 04:15 PM   #4
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
Try turning up the volume.
Old 08-26-2002, 04:57 PM   #5
Rodney Riggs
LQ Newbie
Registered: Aug 2002
Location: Utah
Distribution: RedHat 7.0
Posts: 4

Original Poster
Rep: Reputation: 0
Very often the "dumb" things are the ones that get me., however not this time. I believe that I had already fiddled with the volume setting, but I did it again to be sure. With volumes cranked to the max on aumix and my external speaker - there is still no sound generated.

Any other ideas?


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
no sound on mepis using cmedia sound card steering Linux - Software 7 02-12-2005 10:39 AM
Cmedia Sound mydini Linux - Newbie 10 12-01-2004 10:36 AM
Xawtv / Sox Sound problems (K7N2 w nvsound) conn-fused Linux - Software 0 10-07-2004 06:03 AM
i865 Cmedia 9739a no sound zdenkod Linux - Hardware 0 06-11-2004 04:16 AM
help with sound CMEDIA 8738!!! adit_sen Linux - Hardware 2 04-18-2004 08:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration