Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Please read this and help how to build the driver step by step. I cannot understand the step by step installation and most commands do not work. I am using UBUNTU-9.04. My driver is C-media. I got to build driver. The read me file is not very clear here. I will write my questions in between the steps that I do not understand pls read and answer with step by step command for ubuntu-9.04.
- Read-me file
- 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. (kamakoti---Above directory means which directory???)
- ==> into the /usr/src/linux/driver/sound
- 3. Change directory to /usr/src/linux (kamakoti---where to change and what to change.)
- ==> in a terminal ("command prompt for linux") type "cd /usr/src/linux"
- 4. Config cm8338 driver by 'make menuconfig', 'make config' or
- 'make xconfig' command. (kamakoti--Explain more on these commands step by step.)
- ==> These are used for helping to choose kernel compilation options. The easiest one to use is "make xconfig" as it gives you a graphical menu
- 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' (kamakoti--I had not touched this area)
- 6. Compile the kernel if necessary. (kamakoti--help required step by step how to compile)
- ==> https://help.ubuntu.com/community/Kernel/Compile
- 7. Compile the modules by 'make modules'. (kamakoti--help required step by step)
- ==> It is simply put in the terminal "make modules" "make" is a command.
- 8. Install the modules by 'make modules_install' (kamakoti--help required step by step)
- INSTALL DRIVER (kamakoti--help required step by step)
- ================================================================================
- 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.
- mpu_io: I/O ports base for MPU-401, 0 if disabled.
- fm_io: I/O ports base for OPL-3, 0 if disabled.
- spdif_inverse:Inverse the S/PDIF-in signal, this depends on your
- CD-ROM or DVD-ROM.
- spdif_loop: Enable S/PDIF loop, this route S/PDIF-in to S/PDIF-out
- directly.
- speakers: Number of speakers used.
- use_line_as_rear:Enable this if you want to use line-in as
- rear-out.
- use_line_as_bass:Enable this if you want to use line-in as
- bass-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.
- joystick: Enable joystick. You will need to install Linux joystick
- driver.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement