1 Audio driver for CM8338/CM8738 chips by Chen-Li Tien
5 ================================================================================
12 ================================================================================
14 1. Backup the Config.in and Makefile in the sound driver directory
15 (/usr/src/linux/driver/sound).
16 The Configure.help provide help when you config driver in step
17 4, please backup the original one (/usr/src/linux/Document) and
19 The cmpci is document for the driver in detail, please copy it
20 to /usr/src/linux/Document/sound so you can refer it. Backup if
23 2. Extract the tar file by 'tar xvzf cmpci-xx.tar.gz' in the above
26 3. Change directory to /usr/src/linux
28 4. Config cm8338 driver by 'make menuconfig', 'make config' or
29 'make xconfig' command.
31 5. Please select Sound Card (CONFIG_SOUND=m) support and CMPCI
32 driver (CONFIG_SOUND_CMPCI=m) as modules. Resident mode not tested.
33 For driver option, please refer 'DRIVER PARAMETER'
35 6. Compile the kernel if necessary.
37 7. Compile the modules by 'make modules'.
39 8. Install the modules by 'make modules_install'
43 ================================================================================
45 1. Before first time to run the driver, create module dependency by
48 2. To install the driver manually, enter 'modprobe cmpci'.
50 3. Driver installation for various distributions:
53 Add the 'modprobe cmpci' command in your /etc/rc.d/rc.modules
54 file.so you can start the driver automatically each time booting.
56 b. Caldera OpenLinux 2.2
57 Use LISA to load the cmpci module.
59 c. RedHat 6.0 and S.u.S.E. 6.1
60 Add following command in /etc/conf.modules:
64 also visit http://www.cmedia.com.tw for installation instruction.
67 ================================================================================
69 Some functions for the cm8738 can be configured in Kernel Configuration
70 or modules parameters. Set these parameters to 1 to enable.
72 mpuio: I/O ports base for MPU-401, 0 if disabled.
73 fmio: I/O ports base for OPL-3, 0 if disabled.
74 spdif_inverse:Inverse the S/PDIF-in signal, this depends on your
76 spdif_loop: Enable S/PDIF loop, this route S/PDIF-in to S/PDIF-out
78 speakers: Number of speakers used.
79 use_line_as_rear:Enable this if you want to use line-in as
81 use_line_as_bass:Enable this if you want to use line-in as
83 joystick: Enable joystick. You will need to install Linux joystick