>> Edit article
이름
제목
패스워드
대부분 드라이버는 커널과 관련이 깊습니다. 아직 직접 커널 컴파일은 안하셨기 때문에. /usr/src/linux 라는 디렉토리가 없는 것으로 보입니다. 그렇다고 커널 컴파일이 꼭 필요한 것은 아닙니다. 대부분의 배포판은 배포당시 사용된 커널에 맞는 헤더 파일을 모아둔 패키지를 배포판씨디나, ftp에 가지고 있습니다. 그 패키지를 설치하시면 됩니다. 대개 이름이 “kernel-header-커널버전.확장자” 이런 식입니다. # 절대 커널 소스가 아닙니다. 설치를 하셨다면 원하시는 디렉토리가 생성되었을 겁니다. ( 만일 /usr/src/linux가 아니고 /usr/src/lilnux-커널버전 일경우.. # cd /usr/src; ln -s linux-커널버전 linux ) 그렇지만.. 이번기회에 커널 소스를 가지고, 직접 커널컴파일을 해보시는 것도 좋을 듯 합니다. (가장 확실한 방법이기도합니다.) 그 다음.. BUILD DRIVER는.. 그대로 따라하시면 될 것같습니다. 커널 컴파일을 해보셨다면 이해가 빠르실텐데.. 좀 걱정이 되는군요. : 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' : : 이 다음이 문제인데.. 1,2 번까지 따라하시고, 3번에서 레드햇부분.. 배포판이 7.* 대 이면 /etc/conf.modules 가 아니라 /etc/modules.conf입니다. alias sound 이러쿵 이런 부분이 이미 있다면 수정을.. 없다면 추가를 해주세요. : 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. : 그리고 아까 적어준 alias 줄 아래에.. 아래에 있는 spdif_loop four_ch... 이런 부분을.. 필요에 따라 options cmpci rear_out=1 ...... 이런 식으로 적어주세요. 건투를 빕니다. : 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.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved