ÈçºÎ°²×°ALSAÇý¶¯
[center][b]ALSAÇý¶¯µÄ°²×°[/b][/center]¸Õ×°ºÃÁËÏÔ¿¨Õâ»ØÂÖµ½°²Éù¿¨ÁË£¬°²×°Éù¿¨±È°²×°ÏÔ¿¨¼òµ¥¶à£¬Ö÷ÒªÔÒòÍøÉϵÄ×ÊÁϱȽÏÈ«×ÔȻʡÐIJ»ÉÙ:D ¡£ºÃÁËÑÔ¹éÕýת¡£
[b]1.ÏÂÔØÇý¶¯[/b]
Äã¿ÉÒÔµ½ÕâÀïÏÂÔØALSAµÄÇý¶¯£º
ÄãÐèÒªÏÂÔØÒÔϼ¸¸ö°ü£º
alsa-driver-1.0.10.tar.bz2
alsa-lib-1.0.10.tar.bz2
alsa-utils-1.0.10.tar.bz2
[b]2.·Ö±ð½âѹ£º[/b]
#tar jxvf alsa-driver-1.0.10.tar.bz2
#tar jxvf alsa-lib-1.0.10.tar.bz2
#tar jxvf alsa-utils-1.0.10.tar.bz2
3.ÏȽøÈëalsa-driver,È»ºóÊÇ£¬alsa-lib£¬×îºóÊÇalsa-utilsÎļþ¼Ð½øÐбàÒ룺
#./configure
#make
#make install
×îºóÒ»²½ÔٴνøÈëalsa-driverÎļþ¼ÐÔËÐÐÔÙ±àÒëÇëÊäÈ룺
#./snddevices
µÈ¼¸·ÖÖÓºó±àÒëÍê³É£¬µ½´ËÇý¶¯×ÜËã°²×°ÍêÁË£¬µ«ÊÇÈç¹ûÄãÂíÉÏÖØÆô¶¯µÄ»°ÄãµÄÉù¿¨»¹ÊDz»Äܹ¤×÷£¬why£¿ºÜ¼òµ¥Ä㻹µÃÐÞ¸ÄÄãµÄÄ£¿éÎļþ/etc/modules.conf
#vi /etc/modules.conf
²¢ÔÚ×îºó¼ÓÈëÒÔÈ뼸ÐУº
#====== added those lines =============
alias char-major-116 snd
options snd major=116 cards_limit=1
#--- Intel 8x0 and SiS 7012 ----------
alias snd-card-0 snd-intel8x0
options snd-intel8x0 index=0 id="ICH"
alias char-major-14 soundcore
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
#====
È»ºó±£´æÍ˳öÖØÆô¡£Õâ¾ÍÍê³ÉÁË£¬»¹²»·¢Éù:confused: £¿²»Òª½ôÎÒÒ²Óöµ½£¬´ò¿ªÒôÁ¿¿ØÖÆÆ÷£¬Äã»á·¢ÏÖËùÓеÄÒôÁ¿¶¼ÊÇ0,:D ½ÓÏÂÀ´¾Í²»ÓÃÎÒ½ÌÁ˰ɣ¬µ÷ºÃÒôÁ¿ºó£¬ÏȲ»Òª¹Ø¿ØÖÆÆ÷£¬Ö±½Ó²âÊÔÉù¿¨¡£ÄÜÌýµ½ÉùÒôÂ𣿻¹Ã»ÓУ¿ÄǾͰѵçÄÔÔÒÁË¡£:w ˳±ã˵һÏ£¬ÉÏÃæÔÚ/etc/modules.conf¼ÓÈëµÄÄÚÈÝÊÇÕë¶ÔintelÈïÆ¬µÄ£¬Èç¹ûÊÇvia»òÆäËüÈï»áÓÐËù²»Í¬ÔÚÖ÷Ò³ÖÐÓÐ˵Ã÷¡£×îºóÉùÃûÈçҪתժ´ËÎÄÇë×¢Ã÷³ö´¦¡£:D
²¹³äÏÂÔØµØÖ·£º
[url]http://www.alsa-project.org/[/url] лл£¡ 2.6.xÄں˲»ÊÇ×Ô´øÂ𣿠¶¥¡£²»¹ýûÓÐÏÂÔØµØÖ·°¢¡£¡£¡£¸ø¸öµØÖ·°É¡£¡£ [url]http://www.alsa-project.org/[/url] ÀïÃæÓС£
Æäʵ2.6.xÄں˾Ý˵ÒѾ½«ALSAÄÉÈëÆäÖÐ [QUOTE=pkkj][url="http://www.alsa-project.org/"]http://www.alsa-project.org/[/url] ÀïÃæÓС£
Æäʵ2.6.xÄں˾Ý˵ÒѾ½«ALSAÄÉÈëÆäÖÐ[/QUOTE]û°ì·¨RH9Ö»ÄÜ×Ô¼º×°Çý¶¯¡£:w [root@localhost alsa-driver-1.0.10]# make install
find /lib/modules/2.4.20-8/kernel/sound -name 'snd*.*o' | xargs rm -f
make[1]: Entering directory `/tmp/alsa-driver-1.0.10/acore'
mkdir -p /lib/modules/2.4.20-8/kernel/sound/acore
cp snd-hwdep.o snd-page-alloc.o snd-pcm.o snd-rawmidi.o snd-timer.o snd.o /lib/modules/2.4.20-8/kernel/sound/acore
cp: stat¡®snd-hwdep.o¡¯Ê§°Ü: ûÓÐÄǸöÎļþ»òĿ¼
cp: stat¡®snd-page-alloc.o¡¯Ê§°Ü: ûÓÐÄǸöÎļþ»òĿ¼
cp: stat¡®snd-pcm.o¡¯Ê§°Ü: ûÓÐÄǸöÎļþ»òĿ¼
cp: stat¡®snd-rawmidi.o¡¯Ê§°Ü: ûÓÐÄǸöÎļþ»òĿ¼
cp: stat¡®snd-timer.o¡¯Ê§°Ü: ûÓÐÄǸöÎļþ»òĿ¼
cp: stat¡®snd.o¡¯Ê§°Ü: ûÓÐÄǸöÎļþ»òĿ¼
make[1]: *** [_modinst__] Error 1
make[1]: Leaving directory `/tmp/alsa-driver-1.0.10/acore'
make: *** [install-modules] Error 1
[root@localhost alsa-driver-1.0.10]#
???????????
ÇëÎÊ Éù¿¨ÈçºÎ´ò¿ªSP/DIF¹¦Äܰ¡
[font=ËÎÌå][size=6][color=Red]ÇëÎÊ Éù¿¨ÈçºÎ´ò¿ªSP/DIF¹¦Äܰ¡!ÎÒ,ÒѾ²éÁËÒ»¸öÐÇÆÚÁË,ÓôÃÆ°¡![/color][/size][/font] ÎҵĶúÂóÖÐÖ»ÓÐÒ»¸öÉùµÀÓÐÉùÒô,²»ÖªµÀΪʲô?ÔÚÒôÁ¿¿ØÖÆÖÐ,×óÓÒÉùµÀ¶¼ÒÑ´ò¿ª»¹ÊÇÓÐÎÄÌå°¡,¼±ËÀ°³ÁË!!!!!!
°æÖ÷˵µ½:"È»ºó±£´æÍ˳öÖØÆô¡£Õâ¾ÍÍê³ÉÁË£¬»¹²»·¢Éù £¿²»Òª½ôÎÒÒ²Óöµ½£¬´ò¿ªÒôÁ¿¿ØÖÆÆ÷£¬Äã»á·¢ÏÖËùÓеÄÒôÁ¿¶¼ÊÇ0, ½ÓÏÂÀ´¾Í²»ÓÃÎÒ½ÌÁ˰ɣ¬µ÷ºÃÒôÁ¿ºó£¬ÏȲ»Òª¹Ø¿ØÖÆÆ÷£¬Ö±½Ó²âÊÔÉù¿¨¡£ÄÜÌýµ½ÉùÒôÂ𣿻¹Ã»ÓУ¿ÄǾͰѵçÄÔÔÒÁË¡£"ÏÖÔÚÎÊÌâÀ´ÁË!
ÉùÒôÊÇ¿ÉÒÔÌýµ½,¿ÉÊÇ»áÓб¨´í! Ä£¿é i810-audio ²»Äܱ»Load ,ÎÒµÄÄÚºËÊÇ2.4.20-8
ÖØÐÂÆô¶¯Ö®ºó,ÉùÒôÓÖûÁË:(
Çë´óϺÃǽâ´ð.!!!!!!! ÎÒµÄÉù¿¨Çý¶¯ÍêºóÊÇÄܹ»·¢ÉùÁË£¬µ«ÊÇÓÐ2¸öÎÊÌ⣺
1.ÉèÖò»Äܱ£´æ£¬Ã¿´Î¿ª»úÓÖûÓÐÉùÒôÁË£¬±ØÐëÖØÐÂÔËÐÐalsaconfºÍalsamixerÃüÁî²ÅÄÜ´ò¿ªÉùÒô¡£
2.Ôõô²¥·Åmp3ѽ£¿
лл¸÷λ£¡ °æÖ÷ °¢ ÎÒ µÄ Ôõô²»ÐÐÄó
ÏÔʾװµÄʱºò
[root@host alsa-driver-1.0.10]# ./configure
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Ëٻظ´°¢ checking for gcc... no
²éÒ»ÏÂEÎÄ×Öµä. [QUOTE=synge]checking for gcc... no
²éÒ»ÏÂEÎÄ×Öµä.[/QUOTE]
¼ÓÎÒQQ¸æËßÎÒ ÎÒ×°ÁËÄǸöÇý¶¯Ö®ºó£¬²»µ«Ã»Óгɹ¦£¬·´¶øÍø¿¨¶¼²»ÄÜÓÃÁË¡£
ÓôÃÆ£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡
¡¾×ªÌû¡¿
[QUOTE=cadyboy][root@localhost alsa-driver-1.0.10]# make installfind /lib/modules/2.4.20-8/kernel/sound -name 'snd*.*o' | xargs rm -f
make[1]: Entering directory `/tmp/alsa-driver-1.0.10/acore'
mkdir -p /lib/modules/2.4.20-8/kernel/sound/acore
cp snd-hwdep.o snd-page-alloc.o snd-pcm.o snd-rawmidi.o snd-timer.o snd.o /lib/modules/2.4.20-8/kernel/sound/acore
cp: stat¡®snd-hwdep.o¡¯Ê§°Ü: ûÓÐÄǸöÎļþ»òĿ¼
cp: stat¡®snd-page-alloc.o¡¯Ê§°Ü: ûÓÐÄǸöÎļþ»òĿ¼
cp: stat¡®snd-pcm.o¡¯Ê§°Ü: ûÓÐÄǸöÎļþ»òĿ¼
cp: stat¡®snd-rawmidi.o¡¯Ê§°Ü: ûÓÐÄǸöÎļþ»òĿ¼
cp: stat¡®snd-timer.o¡¯Ê§°Ü: ûÓÐÄǸöÎļþ»òĿ¼
cp: stat¡®snd.o¡¯Ê§°Ü: ûÓÐÄǸöÎļþ»òĿ¼
make[1]: *** [_modinst__] Error 1
make[1]: Leaving directory `/tmp/alsa-driver-1.0.10/acore'
make: *** [install-modules] Error 1
[root@localhost alsa-driver-1.0.10]#
???????????[/QUOTE]
ÎÒµÄÒ²ÊdzöÏÖÕâÖÖÎÊÌâ,Çë¸ßÊÖ°ïÒ»ÏÂæ.СµÜ²»Ê¤¸Ð¼¤! µ±½øÐе½makeµÄʱºò³öÏÖÒÔÏÂÄÚÈÝ
make[4]: *** [/nvinda/alsa-driver-1.0.10/acore/misc.o] ´íÎó 1
make[3]: *** [/nvinda/alsa-driver-1.0.10/acore] ´íÎó 2
make[2]: *** [_module_/nvinda/alsa-driver-1.0.10] ´íÎó 2
make[1]: *** [modules] ´íÎó 2
make[1]: Leaving directory `/usr/src/linux-2.6.9-5.34DT'
make: *** [compile] ´íÎó 2
¸ÃÔõô°ì£¿
ÎÒµÄqq 274683555
ËÖªµÀ¼ÓÎÒqqÁÄ ºÃÏñ²»Ðа¢!!!
ÇëÂ¥Ö÷¹Ø×¢Ò»ÏÂÎÒµÄÎÊÌâ
[root@localhost alsa-utils-1.0.10]# alsaconfͼÐνçÃæÈçÏÂ:
©°©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤-©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´
©¦ ©¦
©¦ ALSA CONFIGURATOR ©¦
©¦ version 1.0.10 ©¦
©¦ ©¦
©¦ This script is a configurator for ©¦
©¦ Advanced Linux Sound Architecture (ALSA) driver. ©¦
©¦ ©¦
©¦ ©¦
©¦ If ALSA is already running, you should close all sound ©¦
©¦ apps now and stop the sound driver. ©¦
©¦ alsaconf will try to do this, but it's not 100% sure. ©¦
©¦ ©¦
©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤-©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼
Building card database..
©°©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´
©¦ Searching sound cards ©¦
©°©¤©¤--©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´ ©¦
©¦ ©¦ 96% ©¦ ©¦
©¸©¤--©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼ ©¦
©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼
©°©¤©¤©¤©¤©¤©¤©¤©¤©¤Soundcard Selection©¤©¤©¤©¤-©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´
©¦ ©¦
©¦ Following card(s) are found on your system. ©¦
©¦ Choose a soundcard to configure: ©¦
©¦
©°©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´
©¦ intel8x0 Intel Corp.: Unknown device 266e (rev 03) ©¦
©¦ legacy Probe legacy ISA (non-PnP) chips ©¦
©¦ ©¦
©¦ ©¦
©¦ ©¦
©¦ ©¦
©¦ ©¦
©¦ ©¦
©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼
©¦ < OK > <Cancel> ©¦
©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼
ÎÒÑ¡ÔñµÚÒ»Ï intel8x0
©°©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´
©¦ ©¦
©¦ Configuring snd-intel8x0 ©¦
©¦ Do you want to modify /etc/modules.conf? ©¦
©¦ ©¦
©À©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©È
©¦ < Yes > < No > ©¦
©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼
©°©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´
©¦ ©¦
©¦ ©¦
©¦ OK, sound driver is configured. ©¦
©¦ ©¦
©¦ ALSA CONFIGURATOR ©¦
©¦ ©¦
©¦ will prepare the card for playing now. ©¦
©¦ ©¦
©¦ Now I'll run alsasound init script, then I'll use ©¦
©¦ amixer to raise the default volumes. ©¦
©¦ You can change the volume later via a mixer ©¦
©¦ program such as alsamixer or gamix. ©¦
©À©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©È
©¦ < OK > ©¦
©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼
Loading driver...
Starting sound driver: snd-intel8x0 /lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: unresolved symbol
pci_free_consistent/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: unresolved symbol create_proc_entry
/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: unresolved symbol pci_alloc_consistent
/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: unresolved symbol remove_proc_entry
/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: unresolved symbol mem_map
/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: unresolved symbol vmalloc_to_page
/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: insmod /lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o
failed/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: insmod snd-intel8x0 failed
done
Setting default volumes...
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1163: No soundcards found...
===============================================================================
Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.
Have a lot of fun!
×îºóÐÅÏ¢±íÃ÷£¬Ã»·¢ÏÖÉù¿¨£¬ÇëÎÊÎÊÌâ³öÔÚÄÄÀ
Ò³:
[1]
2