alsa導入記録(via82xxの場合)
2004年 07月 18日
まず、linux-kernel-header、cpp、gccが入っていることが前提です
1.必要なファイルをDLします
alsa-driver
ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.5a.tar.bz2
alsa-liblary
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.5.tar.bz2
注:現在使用中のkernelのソースが/lib/modules/2.6.6/buildのリンクする先に存在する必要があります。
2.alsa-driverの設定をします
bzip2 -dc alsa-driver-1.0.5a.tar.bz2 | tar xv
cd alsa-driver-1.0.5a
./configure --with-cards=via82xx --with-sequencer=yes;make;make install
3.alsa-libの設定をします
bzip2 -dc alsa-lib-1.0.5.tar.bz2 | tar xv
cd alsa-lib-1.0.5
./configure;make;make install
4./etc/modules.confに追記します
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
5.一度OSを再起動します
6.以下のモジュールが組み込まれているはず
modprobe snd-via82xx;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
7.ボリュームを確認
alsamixer
by ayamem
| 2004-07-18 21:51
| Linux-雑多