ThinkPad 570 에 ALSA 사운드 드라이버 설치하기
=============================================
2000년 10월 4일 01:30
이신
사운드 드라이버 가져오기
------------------------
Advanced Linux Sound Architecture (ALSA) - Driver
http://www.alsa-project.org alsa-driver-0.5.9c: 사운드 드라이버
alsa-lib-0.5.9: 개발자 라이브러리
alsa-utils-0.5.9b: 유틸리티
ALSA 사운드 드라이버 설치하기
-----------------------------
ALSA 드라이버에서 제공하는 설치 가이드에 따라 설치한다.
1) 커널 컴파일을 하여 사운드 모듈을 사용 가능하도록 한다.
2) 드라이버 소스 디렉토리에서 './configure' 을 실행한다.
예: ./configure --with-isapnp=yes --with-debug=full
3) 'make install' 을 실행한다.
4) './snddevices' 을 실행한다.
5) 설치 가이드에 따라 /etc/modules.conf 을 편집한다.
다음은 /etc/modules.conf 에 추가하는 내용이다.
--
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0666 snd_device_gid=0 snd_device_uid=0
alias snd-card-0 snd-card-cs461x
options snd-card-cs461x snd_index=0 snd_id=CARD_0
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service
0 snd-mixer-oss
alias sound-service
3 snd-pcm-oss
alias sound-service
12 snd-pcm-oss
--
6) /etc/modules/2.2.17 로 이동해서 'depmod' 를 실행한다.
7) 재부팅하거나 'modprobe snd-card-cs461x' 를 실행한다.
ALSA 사운드 모듈의 재가동
-------------------------
'/etc/init.d/alsa restart' 또는 '/etc/init.d/alsasound restart' 를 실행한다.
mixer
-----
믹서는 ALSA 에서 제공하는 유틸리티인 alsamixer 를 이용한다.
문제 해결
---------
1) xmms 에서 output plugin 을 OSS Driver 로 설정했는데도 오류 메시지가 나온다.
-> 위에서 설명한 설치 안내에 따라 정확하게 설치가 되었는지 확인한다.
root 권한에서 제대로 동작하는지 확인한다.
만일 root 권한에서만 동작하고 일반 사용자 권한에서는 동작하지 않는다면
/dev/dsp* 와 /dev/mixer* 의 권한 설정을 o+rw 로 설정해준다.
2) xmms 는 정상적으로 동작하는데 소리가 나오지 않는다.
-> alsamixer 로 뮤트 설정이 되어 있는지 확인하고 뮤트 설정을 풀어준다.
볼륨 설정을 바꿔준다.