Welcome to the most active Linux Forum on the web.
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 07-09-2004, 11:21 AM   #1
Registered: Jul 2004
Location: Hong Kong
Posts: 78

Rep: Reputation: 15
Sound driver problem...

Hi there. Please excuse my poor English. I am having problem getting my CMedia 9739A onboard sound chip to work properly under Mandrake 10. Mandrake 10 (and also Fedora Core 2) does not have the correct driver. I still have sound but the volume control does not work and only ONE program can use the sound device at a time. That means I cannot play Mp3 music and play a flash game that involves sound effecfs at the same time. My Linux thinks my sound chip is Intel and uses ‎snd-intel8x0 for driver instead of Cmedia. I downloaded the offical driver and have attempted to install it. I failed miserably. The installation resulted in many errors. I have only four days of Linux experience. Please help.

(for some reason I am unable to post the link to the offical driver)

Here is the readme:

Linux OSS driver for C-Media audio codec (CMI9738, CMI9739) v0.41

1. This version implements GPIO on/off when active/disactive the driver which used for Mitac.

1. South Bridge: Intel ICH2/ICH4/ICH5, SiS 7012/7018, VIA 8233/82686, ALI 5451, nVidia nForce, AMD 8111.
2. Full-duplex and multiple applications playback and recording.
4. 16 bits 2/4/6 channels mono/stereo playback.
5. 16 bits stereo recording.
6. Support phone jacks configuration.
7. PCM SPDIF IN/OUT (CMI9739 only, recording only support 48 KHz).
8. Support AC3 S/PDIF out ((CMI9739 only).
9. Support analog hardware copy to rear channel.
10.Support xear mode to swap front and surround speakers output.
For PCCHIPS LCD PC, you should change the following codes in cmaudio.h:


//#define FORCE_XEAR_MODE 0

Known issues:
1. This driver only tested on RedHat 7.3.
2. /dev/sequencer is not supported.
3. In RedHat 8.0, gmix can not select recording source correctly.
Please using aumix.

For driver installation, please follow below steps.

Step 1. Unzip source code
tar xzf cmaudio-041.tar.gz

Step 2. Turn on sound support (soundcore module)

Step 3. Complied source code
make install

Step 4. Edit your /etc/modules.conf or conf.modules depending on the Distribution
alias sound-slot-0 cmaudio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

Step 5. reboot your machine

Phone Jacks Configuration:
We provide a console mode program, cmconfig.c, in order to let you change jacks' configuration.
please follow below steps.

Step 1. Compiled source code, the source code is also in cmaudio-041.tar.gz.
cc -o cmconfig cmconfig.c

Step 2. Execute and change the settings
The error messages:
[root@localhost cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -c -o main.o main.c
make: cc: Command not found
make: *** [main.o] Error 127
[root@localhost cmaudio]#

[QUOTE][root@localhost cmaudio]# make install
mkdir -p //lib/modules/2.6.3-4mdk/kernel/drivers/sound
install -b -m 644 cmaudio.o //lib/modules/2.6.3-4mdk/kernel/drivers/sound
install: cannot stat â
Old 07-09-2004, 12:19 PM   #2
bruno buys
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
It seems that you donīt have the compiling tools installed. make gives you a command not found.
Install the compiling tools and then try again.

Last edited by bruno buys; 07-09-2004 at 12:21 PM.
Old 07-09-2004, 12:48 PM   #3
Registered: Jul 2004
Location: Hong Kong
Posts: 78

Original Poster
Rep: Reputation: 15
Hmm... how do I install that? Thanks in advance.
Old 07-09-2004, 01:02 PM   #4
LQ Newbie
Registered: Jul 2004
Posts: 19

Rep: Reputation: 0
Assume you have RedHat (other distro should be similar), click on the start (REDHAT icon), go to System Settings, then Add Remove Application, then check the developer tools to install the package.
Old 07-09-2004, 10:20 PM   #5
Registered: Jul 2004
Location: Hong Kong
Posts: 78

Original Poster
Rep: Reputation: 15
Thanks a lot, but the list is overwhelming. Can you give me some names to look for? Is it a Kernel development tool? BYW I am using Mandrake 10 with Gnome desktop.


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
Problem with sound driver libriana Linux - Hardware 2 09-13-2005 12:55 PM
Sound driver problem Developer Beaud Linux - General 2 07-10-2005 06:16 PM
sound driver problem shdhnd Debian 1 07-28-2004 02:30 PM
sound driver problem Aksingh Linux - Software 1 05-29-2003 05:13 AM
Sound driver problem Stephanie Linux - General 5 05-18-2002 01:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:44 PM.

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