제발 리눅스에서 음악듣고파??? 사운드 블라스터 오디지 DE

커널 = 레드햇 2.4.18-5 하구 2.4.18
사운드 카드 = 사운드 블라스터 오디지 DE
alsa로 시도중인데 안돼네요.
보드=기가바이트(사운드내장)내장사운드는 바이오스에서 disable시켰습니다.
Make a directory to store the alsa source code in.
cd /usr/src
mkdir alsa
cd alsa
cp /downloads/alsa-* .
Now unzip and install the alsa-driver package
bunzip2 alsa-driver-xxx
tar -xf alsa-driver-xxx
cd alsa-driver-xxx
./configure --with-snd-card=emu10k1 --with-sequencer=yes;make;make install
./snddevices
Now unzip and install the alsa-lib package
cd ..
bunzip2 alsa-lib-xxx
tar -xf alsa-lib-xxx
cd alsa-lib-xxx
./configure;make;make install
Now unzip and install the alsa-utils package
cd ..
bunzip2 alsa-utils-xxx
tar -xf alsa-utils-xxx
cd alsa-utils-xxx
./configure;make;make install
Now insert the modules into the kernel space.
modprobe snd-emu10k1;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
Now adjust your soundcards volume levels. All mixer channels are muted by default. You must use a native mixer program to unmute appropriate channels,for example alsamixer from the alsa-utils package
alsamixer
You can also look at the utils/alsasound file. This script is designed for the RedHat distribution, but it can be used with other distributions which use System V style rc init scripts. This will allow you to load your modules at boot time. Of course if you want to do this you could just compile them into the kernel instead and save yourself the hassle of coming to terms with the rc init scripts.
여기까지는 시키는대로 잘 따라했습니다.
이부분에서 /etc/modules.conf파일을 어떻게 설정해주어야하죠???
Note to debian users You need to save this information into the /etc/modutils/aliases file and run update-modules
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
# 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
To copy and paste the above to your /etc/modules.conf file follow these instructions.
A short explanation of what happens in the /etc/modules.conf file
Native Devices
After the main multiplexer is loaded, its code requests top level sound card module. String snd-card-%i is requested for native devices where %i is sound card number from zero to seven. String sound-slot-%i is requested for native devices where %i is slot number for ALSA owner this means sound card number. The options line allows you to set various config options before the module is loaded. String snd_id lets you set the name of the card which is returned in the /proc/asound/cards file. Other options may be available which are card specific. The options for these are found in the INSTALL file or above.
xyz@localhost#pico /etc/modules.conf
# ALSA portion
alias snd-card-0 snd-interwave
alias snd-card-1 snd-cmipci
options snd-cmipci snd_id="first" snd_enable_midi="1"
# OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
Autoloading OSS/free emulation
We are finished at this point with the configuration for ALSA native devices, but you may also need autoloading for ALSA add-on OSS/Free emulation modules. At this time only one module does not depend on any others, thus must be loaded separately, snd-pcm1-oss.o. String sound-service-%i-%i is requested for OSS/Free service where first %i means slot number e.g. card number and second %i means service number.
xyz@localhost#pico
/etc/modules.conf
# OSS/Free portion - card #1
alias sound-slot-0 snd-card-0
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
# OSS/Free portion - card #2 (cmipci)
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
그리구 루트디렉토리에
The .asoundrc file
Find out more about this file here.
This file allows the you to have more advanced control over your card/device. Some very useful applications will not work without it. The .asoundrc file consists of definitions of the various cards available in your system. It also gives you access to the pcm plugins in alsa-lib. These allow you to do tricky things like combine your cards into one or access multiple i/o's on your mulitchannel card.
Below is the most basic definition.
Make a file called .asoundrc in your home and/or root directory.
vi /home/xxx/.asoundrc
copy and paste the following into the file then save it.
pcm.emu10k1 {
type hw
card 0
}
ctl.emu10k1 {
type hw
card 0
}
이파일도 만들어 주었습니다.
다시부팅하니 새 하드웨어를 읽더군요.그래서 잡는데는 성공한것 같은데 로그인하니 lsmod하니 모듈도 제대로 뜨는것같습니다.그리구 alsamixer로 음량도 키웠는데 여전히안돼네요.
지난번에 emu10k1으로 해봤는데 안돼길레 지웠거든요.2002-05-25일날 나왔다는걸루
제발 도와주세요.커널 설정이 잘못된건가요???
댓글 달기