(1).°²×°alsa-driver:
ÔÚ°²×°Ö®Ç°ÏȽâ³ý֮ǰµÄÒÀÀµ¹ØÏµ
tar zxvf alsa-driver-1.0.9b_26_evoc.tar.gz
grep -r ¨Cn ¡¯ÄÏÇÅоƬ¡¯ ./*
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
±£´æÍ˳ö
| ×ÔÓÉ¹ã¸æÇø |
| ¡¡ |