ÎÒµÄPCÊÇSigmaTel STAC9200µÄÉù¿¨Ð¾Æ¬£¬¾ÍÊÇSB450ϵÁУ¬Ò»¿ªÊ¼×°ÉÏFC6ºó·¢ÏÖ»úÆ÷µÄÉù¿¨Ã»ÓÐÉùÒô£¬¾ÍÊÇÒôÀÖ¿ÉÒÔ²¥·Å£¬µ«Ã»ÓÐÉùÒô¡£ÕæµÄºÜSHIT£¡
ºóÀ´ÔÚGOOGLEÉÏËÑ£¬ÔÚGOOGLEÉϵ±È»ÊÇËѹúÍâµÄÍøÕ¾À²£¬Õâ´Î·¢ÏÖ°Ù¶ÈÕæµÄºÜÀá£
ÕæµÄѧµ½²»ÉÙ¶«Î÷£¬ÔÚÕâÀïºÍ¿ÉÄÜ¿´µ½ÎÒÕâÆªÎÄÕµÄÈË·ÖÏíһϰɣº
linux¶ÔÒôƵµÄÈí¼þ¿ØÖÆÓÐÁ½Öּܹ¹£¬¼ò³Æ·Ö±ðÊÇ alsa ºÍ oss£¬Í¨³£ÏµÍ³ÀïÕâÁ½ÖÖÄ£¿é¶¼ÓС£
ÎÒµÄÊÇÓõÄalsa¡£
Ö®ËùÒÔûÓÐÉùÒôÊÇÒòΪϵͳ°²×°Ê±µÄÉù¿¨Çý¶¯ÓÐÎÊÌâ¡£¾ßÌåÎÊÌâÎÒ²»Ì«Çå³þ£¬ºÃÏñÊÇÇý¶¯Ð¾Æ¬µÄGPIOÐèÒªÐ޸쬼ò¶øÑÔÖ®¾ÍÊÇÇý¶¯ÐèÒª¸üÐÂ
ÕÒÁ˺ܾã¬ÏÂÔØÁËALSAµÄÔ´úÂ룬ºÍ²¹¶¡Îļþ£¬µ«ÊÇÔÚ±àÒëºÍ°²×°µÄʱºò³öÁ˺ܶàÎÊÌâ¡£
µ½ALSAµÄ¹Ù·½ÍøÕ¾ÕÒµ½Õë¶ÔSB450µÄ°²×°·½·¨£¬¹Ô¹Ô£¬»¹ÊÇ×îÐµģ¬¿´À´ÎҵıʼDZ¾»¹²»´í£¬ºÇºÇ¡£
ʣϵľÍÊDZàÒëÎÊÌâÁË£¬·¢ÏÖ°´²¿¾Í°à²»ÐУ¬ÓÚÊǾö¶¨ÖØ×°Ò»ÏÂϵͳ£¬Ö®ºó£¬Ôٴΰ²×°¸üÐÂALSAµÄDRIVER£¬ÔÚ²âÊÔÉù¿¨µÄʱºò¾ÍÓÐÉùÒôÁË£¬¾ßÌå×ö·¨ÈçÏ£º
go to www.alsa-project.org and download these files :
alsa-driver-1.0.15rc1.tar.bz2
alsa-lib-1.0.15rc1.tar.bz2
.alsa-utils-1.0.15rc1.tar.bz2
Open a terminal and type : su then make a directory called alsa into /usr/local/src. Copy the files to this directory and unpack them (tar xjvf alsa-... for every file).
go to https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3036 and download the file patch_sigmatel.c.patch-1.0.15rc1-simple. Copy the patch to /usr/local/src/alsa.
type this :
patch alsa-driver-1.0.15rc1/alsa-kernel/pci/hda/patch_sigmatel.c < patch_sigmatel.c.patch-1.0.15rc1-simple.
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-cards=hda-intel --with-sequencer=yes ; make ; make install
./snddeviceschmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
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: modprobe snd-hda-intel ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; modprobe snd-seq-oss