Jump to content

CMedia C9739a


Cristjan
 Share

Recommended Posts

I was finally able to download drivers http://www.cmedia.com.tw/download/e_UDA9738_linux.htm

but now I need some help at command line.

 

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

 

********************

Notes:

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

 

Features:

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:

 

// For PCCHIPS LCD PC

#define FORCE_LINEINASREAR_MODE 1

#define FORCE_XEAR_MODE 1

 

//#define FORCE_LINEINASREAR_MODE 0

//#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.

 

 

Installation:

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

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

./cmconfig

********************

 

Step 1 is easy, but step 2,3 and 4 are complicated.

What I need to type exactly?

Link to comment
Share on other sites

modprobe soundcore = command not found

make = command not found (seems logical if there is no make file in folder there

I untarred the file + no make install either)

 

after extracting cmaudio-041.tar.gz I get following files:

ali_5451.c; cmaudio.h; cmconfig.c; cmi9738.c; cmi9739.c; intel_ichx.c; main.c;

Makefile; Readme.txt; sis_7018.c; via_82cxxx.c

 

Perhaps I need to do something with cmi9739.c at first ?

Edited by Cristjan
Link to comment
Share on other sites

  • 1 month later...

A little guide to setup CMI9739A under Mandrake 10.0

 

This guide is for KDE.

 

Mandrake 10.0 installs kernel 2.6 by default. But, drivers in cmaudio-041.tar.gz are desinged for kernel 2.4.x.

 

1. Download kernel 2.4:

 

NOTE: Probably steps a to e are not necessary, I remember that the first time I enter some wizard, probably this one, another wizard appears witch ask me to select an update ftp from a list.

 

a. System, Configuration, Configure your computer

b. Software admin (?) (I'm sorry, I installed Mandrake in Spanish, this is an aproximate translation of items), Support admin, Add...

c. In Suppport Type choose Security Updates

d. Type a convenient URL, I use rsync://mirrors.usc.edu::mandrakelinux/official/updates/10.0/RPMS

e. Type the URL's sytesis/hdlist path, mine is ../base/synthesis.hdlist.cz

f. when above changes are applied, proceed to download kernel: System, Configuration, Packaging, Install Software.

g. choose a kernel package, which one that has a counterpart source package (I downloaded kernel-2.4.25.8mdk-1-1mdk and kernel-source-2.4.25-8mdk)

 

2. reboot with kernel 2.4.x and proceed to compile and install cmaudio-041.tar.gz as indicated in the tar. From now on, boot always with kernel 2.4.x

 

3. If apps don't respond well, probably you will need to make some tweaks in System, Configuration, KDE, Sound, Sound System.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...