BBS水木清华站∶精华区

发信人: November (长夜漫漫无心睡眠+猪呀~两头), 信区: Linux 
标  题: Re: 设置声卡的问题 
发信站: BBS 水木清华站 (Mon May  3 17:05:41 1999) WWW-POST 
 
【 在 arctic (Ken) 的大作中提到: 】 
 我的声卡: 
         YAMAHA opl3-SA3 
         与Sound Blaster等兼容,与MSS兼容, 
         可是我总是设置不好, 
         (设置完,测试时候出现“/dev/audio出错”) 
         盼高手解决! 
 
你的声卡和我的一样,我在TL下安装成功,以下是自己的一些心得: 
 
It cost me much time and tank's help to understand the installation of PnP  
soundcard, and I have correctily install my OPL-SA2 PnP soundcard!! It works  
very well now. 
 
Prerequisite: 
1. TurbonPnPcfg Package installed. 
2. The .o of your soundcard in /lib/modules/[version]/misc founded. 
3. Your PnP soundcard works ok in other OS like win9x or win NT. 
4. Compile your kernel using your soundcard support <Module>, and perhaps the  
sound support <Module>. 
5. Of course, you must make the kernel support the PnP(Using * will be  
good). 
6. Install your new kernel. 
 
Installation: 
1. Bootup with your new kernel, login as root. 
2. Use turbopnpcfg/turbopnp to probe, config and activate your PnP  
soundcard. 
3. See the file: /etc/isapnp.conf to get the soundcard's IOs, IRQ and DMAs.  
Since your kernel support PnP, your soundcard will be activated as the  
setting in /etc/isapnp.conf next time the T.L. boot up. 
4. Use "modprobe yourcard.o io=... irq=... dma=... ..." to set up your  
soundcard in T.L.. For OPL3, there should add "mssio=... "The io... setting  
is list in the /etc/isapnp.conf file. 
5. Use "cat /dev/snstat" and "lsmod" to see whether soundcard has bee  
installed. And use "cat *.au > /dev/audio" to play sample sound to your  
soundcard. 
6. when successfully install your s.c., write your autoprobe modules like  
this: 
alias sound yourcard(yourcard.o - .o) 
options -k yourcard io=... irq=... .... 
   and the OS will autoprobe the sound for you when boot up. 
7. Installation complete. 
 
-- 
少年维特摇了摇头,惆怅地转过身去。小河中轻轻泛起的涟漪,正如印象里兰花般的笑。 
 
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.112.3.85]  

BBS水木清华站∶精华区