PDA

View Full Version : How to install driver saved as tar.gz?


ankitsagwekar
05-03-2007, 08:06 PM
I've just downloaded c media driver as a tar.gz file
Now how do I install it: here is what I'm looking for


I googled but couldn't understand any solutions

47shailesh
05-03-2007, 09:12 PM
Dude try to search first then post..
http://www.thinkdigit.com/forum/showthread.php?t=51403

ankitsagwekar
06-03-2007, 10:14 AM
i done on it all file convert in .ko extantion
in readme they told me to edit modules.conf or conf.modules

i edit and add this line

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 || :

but there is no change in sound dirver

i m using fedora 6

here is the readme file can some one explane me how to install in

Linux OSS driver for C-Media audio codec (CMI9738, CMI9739, CMI9761)

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 and CMI9761, recording only support 48 KHz).
8. Support AC3 S/PDIF out (CMI9739 and CMI9761).
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 use aumix.


Installation:
For driver installation, please follow below steps.

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

Step 2. Complied source code and install
./install

Step 3. 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 || :



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-xxx.tar.gz.
cc -o cmconfig cmconfig.c

Step 2. Execute and change the settings
./cmconfig

freebird
07-03-2007, 07:57 AM
you should know that OSS sound is a deprecated one.the real solution is to get the latest rpms of ALSA for Fedora 6.you can use yum (http://en.wikipedia.org/wiki/Yellow_dog_Updater%2C_Modified) if u have internet
http://en.wikipedia.org/wiki/Yellow_dog_Updater%2C_Modified#External_links
OR
download and install manually using "rpm -ivh foobar.rpm" command.
get the latest ALSA (http://alsa-project.org/)
rpms for fc6 @:
http://atrpms.net/dist/fc6/alsa-driver/
http://atrpms.net/dist/fc6/alsa-lib/
go to the page and download and install the latest alsa-driver,alsa-lib,libasound2 rpms
afterwards in a terminal as "su -"
run:
"alsaconf"
it may automatically detect ur card and configures all those /etc/modules things..

You should have Posted as something like "my soundcard not detected in FC6"

ankitsagwekar
07-03-2007, 09:07 AM
you should know that OSS sound is a deprecated one.the real solution is to get the latest rpms of ALSA for Fedora 6.you can use yum (http://en.wikipedia.org/wiki/Yellow_dog_Updater%2C_Modified) if u have internet
http://en.wikipedia.org/wiki/Yellow_dog_Updater%2C_Modified#External_links
OR
download and install manually using "rpm -ivh foobar.rpm" command.
get the latest ALSA (http://alsa-project.org/)
rpms for fc6 @:
http://atrpms.net/dist/fc6/alsa-driver/
http://atrpms.net/dist/fc6/alsa-lib/
go to the page and download and install the latest alsa-driver,alsa-lib,libasound2 rpms
afterwards in a terminal as "su -"
run:
"alsaconf"
it may automatically detect ur card and configures all those /etc/modules things..

You should have Posted as something like "my soundcard not detected in FC6"

thank you