人気ブログランキング | 話題のタグを見る

「わかりました」>「あんまりわかってません」の間接的な用法


by ayamem
カレンダー
S M T W T F S
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

alsa導入記録(via82xxの場合)

alsa導入記録(via82xxの場合)_a0009081_215832.jpg
本家ドキュメント(英文)をわかりやすくして下記に記します

まず、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-雑多