Advertisement
Guest User

Untitled

a guest
Jan 19th, 2011
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. 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.
  2.  
  3. Read-me file
  4.  
  5. 1. Backup the Config.in and Makefile in the sound driver directory
  6. (/usr/src/linux/driver/sound).
  7. The Configure.help provide help when you config driver in step
  8. 4, please backup the original one (/usr/src/linux/Document) and
  9. copy this file.
  10. The cmpci is document for the driver in detail, please copy it
  11. to /usr/src/linux/Document/sound so you can refer it. Backup if
  12. there is already one.
  13.  
  14. 2. Extract the tar file by 'tar xvzf cmpci-xx.tar.gz' in the above
  15. directory. (kamakoti---Above directory means which directory???)
  16.  
  17. ==> into the /usr/src/linux/driver/sound
  18.  
  19. 3. Change directory to /usr/src/linux (kamakoti---where to change and what to change.)
  20.  
  21. ==> in a terminal ("command prompt for linux") type "cd /usr/src/linux"
  22.  
  23. 4. Config cm8338 driver by 'make menuconfig', 'make config' or
  24. 'make xconfig' command. (kamakoti--Explain more on these commands step by step.)
  25.  
  26. ==> 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
  27.  
  28. 5. Please select Sound Card (CONFIG_SOUND=m) support and CMPCI
  29. driver (CONFIG_SOUND_CMPCI=m) as modules. Resident mode not tested.
  30. For driver option, please refer 'DRIVER PARAMETER' (kamakoti--I had not touched this area)
  31.  
  32. 6. Compile the kernel if necessary. (kamakoti--help required step by step how to compile)
  33.  
  34. ==> https://help.ubuntu.com/community/Kernel/Compile
  35.  
  36. 7. Compile the modules by 'make modules'. (kamakoti--help required step by step)
  37.  
  38. ==> It is simply put in the terminal "make modules" "make" is a command.
  39.  
  40. 8. Install the modules by 'make modules_install' (kamakoti--help required step by step)
  41.  
  42.  
  43. INSTALL DRIVER (kamakoti--help required step by step)
  44. ================================================================================
  45.  
  46. 1. Before first time to run the driver, create module dependency by
  47. 'depmod -a'
  48.  
  49. 2. To install the driver manually, enter 'modprobe cmpci'.
  50.  
  51. 3. Driver installation for various distributions:
  52.  
  53. a. Slackware 4.0
  54. Add the 'modprobe cmpci' command in your /etc/rc.d/rc.modules
  55. file.so you can start the driver automatically each time booting.
  56.  
  57. b. Caldera OpenLinux 2.2
  58. Use LISA to load the cmpci module.
  59.  
  60. c. RedHat 6.0 and S.u.S.E. 6.1
  61. Add following command in /etc/conf.modules:
  62.  
  63. alias sound cmpci
  64.  
  65. also visit http://www.cmedia.com.tw for installation instruction.
  66.  
  67. DRIVER PARAMETER
  68. ================================================================================
  69.  
  70. Some functions for the cm8738 can be configured in Kernel Configuration
  71. or modules parameters. Set these parameters to 1 to enable.
  72.  
  73. mpu_io: I/O ports base for MPU-401, 0 if disabled.
  74. fm_io: I/O ports base for OPL-3, 0 if disabled.
  75. spdif_inverse:Inverse the S/PDIF-in signal, this depends on your
  76. CD-ROM or DVD-ROM.
  77. spdif_loop: Enable S/PDIF loop, this route S/PDIF-in to S/PDIF-out
  78. directly.
  79. speakers: Number of speakers used.
  80. use_line_as_rear:Enable this if you want to use line-in as
  81. rear-out.
  82. use_line_as_bass:Enable this if you want to use line-in as
  83. bass-out.
  84. modem: You will need to set this parameter if you want to use
  85. the HSP modem. You need install the pctel.o, the modem
  86. driver itself.
  87. joystick: Enable joystick. You will need to install Linux joystick
  88. driver.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement