(1).安裝alsa-driver:
在安裝之前先解除之前的依賴關系
tar zxvf alsa-driver-1.0.9b_26_evoc.tar.gz
grep -r –n ’南橋芯片’ ./*
cd alsa-driver-1.0.9b_26
make clean
./configure --with-kernel=/usr/src/linux-2.4 --with-cards=intel8x0
make
make install
./snddevices
備注:在執行modprobe snd-intel8x0出現:"the unresolved symbol schedule_work"類似信息,
解決方法是:
touch include/linux/workqueue.h
make clean
make
make install
(2).安裝alsa-lib:
tar jxvf alsa-lib-1.0.9.tar.bz2
cd alsa-lib-1.0.9
./configure
make
make install
(3).安裝alsa-utils-1.0.9a:
tar jxvf alsa-utils-1.0.9a.tar.bz2
cd alsa-utils-1.0.9a
./configure
make
make install
安裝聲卡驅動:
modprobe snd-intel8x0
或者:
運行alsaconf
備注: The driver is loaded, but OSS programs say: Can't open /dev/dsp.
What is wrong?
A: The OSS compatible PCM (digital audio) emulation comes as an add-on module
which is not loaded by default. If you have got modified /etc/conf.module
as suggested in the INSTALL file, it should be loaded with kerneld or kmod.
Check it - if this method for some reason doesn't work - you need to insert
the 'snd-pcm-oss' module manually.
=====>請執行: modprobe snd-pcm-oss
安裝mpg123工具: mpg123-0.59r.tar.gz
tar zxvf mpg123-0.59r.tar.gz
cd mpg123-0.59r
make linux
make install
播放mp3測試聲卡:
mpg123 /root/1.mp3(正常mp3文件)
備注:如果沒有聽到聲音,運行alsamixer將聲卡的靜音打開.
Alsamixer(調節音量)
alsactl store
用vi /etc/rc.local編輯添加:
alsactl restore
保存退出