Audio Excel Sound Driver
David P. Engvall
davideng at ponyexpress.net
Tue Jul 17 14:49:27 CDT 2001
kclug <<
I will be at the kclug meeting (for the first time) this evening.
I am hoping that someone can help me build the driver for an
Audio Excel PC Theater 3D Sound AV512 card. The box came with a CD
which contains the Linux driver but I can't figure out how to use the 'make'
command.
Following are the instructions from the README file and what I get when
I try to use the 'make' command.
[root at localhost /root]# cd /usr/src/redhat/driver/sound/
[root at localhost sound]# ll
total 1796
-rw-r--r-- 1 100 users 2649 Jun 4 2000 cmpci
-r-xr-xr-x 1 root root 212899 Jul 11 15:13 cmpci-4.03.tar.gz
-rw-r--r-- 1 100 users 99436 Jun 4 2000 cmpci.c
-rw-r--r-- 1 100 users 10638 Jun 4 2000 Config.in
-rw-r--r-- 1 root root 10638 Jul 11 16:52 Config.in.orig
-rw-r--r-- 1 100 users 715315 Jun 4 2000 Configure.help
-rw-r--r-- 1 root root 715315 Jul 11 15:24 Configure.help.orig
-rw-r--r-- 1 root root 10638 Jul 11 16:52 configure.in
-rw-r--r-- 1 100 users 9607 May 5 1999 Makefile
-rw-r--r-- 1 root root 9607 Jul 11 15:43 Makefile.orig
-rw-r--r-- 1 100 users 3198 Jun 4 2000 README
-r-xr-xr-x 1 root root 1122 Jul 11 15:13 release.txt
[root at localhost sound]# cat README
Audio driver for CM8338/CM8738 chips by Chen-Li Tien
HARDWARE SUPPORTED
C-Media CMI8338
C-Media CMI8738
On-board C-Media chips
WHAT'S NEW
1. Support modem interface for 8738. (select in kernel configuration)
2. Enable S/PDIF-in to S/PDIF-out (S/PDIF loop).
3. Enable 4 channels analog duplicate mode on 3 jack or 4 jack
configurateion.
4. Enable joystick support. (joystick driver needed)
STEPS TO BUILD DRIVER
1. Backup the Config.in and Makefile in the sound driver directory
(/usr/src/linux/driver/sound).
The Configure.help provide help when you config driver in step
4, please backup the original one (/usr/src/linux/Document) and
copy this file.
The cmpci is document for the driver in detail, please copy it
to /usr/src/linux/Document/sound so you can refer it. Backup if
there is already one.
2. Extract the tar file by 'tar xvzf cmpci-xx.tar.gz' in the above
directory.
3. Change directory to /usr/src/linux
4. Config cm8338 driver by 'make menuconfig', 'make config' or
'make xconfig' command.
5. Please select Sound Card (CONFIG_SOUND=m) support and CMPCI
driver (CONFIG_SOUND_CMPCI=m) as modules. Resident mode not tested.
For driver option, please refer 'DRIVER PARAMETER'
6. Compile the kernel if necessary.
7. Compile the modules by 'make modules'.
8. Install the modules by 'make modules_install'
INSTALL DRIVER
1. Before first time to run the driver, create module dependency by
'depmod -a'
2. To install the driver manually, enter 'modprobe cmpci'.
3. Driver installation for various distributions:
a. Slackware 4.0
Add the 'modprobe cmpci' command in your /etc/rc.d/rc.modules
file.so you can start the driver automatically each time booting.
b. Caldera OpenLinux 2.2
Use LISA to load the cmpci module.
c. RedHat 6.0 and S.u.S.E. 6.1
Add following command in /etc/conf.modules:
alias sound cmpci
also visit http://www.cmedia.com.tw for installation instruction.
DRIVER PARAMETER
Some functions for the cm8738 can be configured in Kernel Configuration
or modules parameters. Set these parameters to 1 to enable.
spdif_loop: Enable S/PDIF loop, this route S/PDIF-in to S/PDIF-out
directly.
four_ch: Enable 4 channels mode, rear-out or line-in will output
the same as line-out.
rear_out: Enable this if you have independent rear-out jacket on
your sound card, otherwise line-in will be used as
rear-out.
modem: You will need to set this parameter if you want to use
the HSP modem. You need install the pctel.o, the modem
driver itself.
joystich: Enable joystick. You will need to install Linux joystick
driver.
[root at localhost sound]# make Makefile
Makefile:159: /Rules.make: No such file or directory
make: *** No rule to make target `/Rules.make'. Stop.
Thanks in advance for your help and I will see you there.
--
Best Regards,
David P. Engvall
More information about the Kclug
mailing list