📄 00000005.htm
字号:
args to the OPTi82C931 program come in pairs. For instance "0x07 1" sends <BR>0x07 to MCR 1. In this case 0x07 corresponds
<BR>to WSS I/O 0x530. Here's a table of the corresponding values. I still don't <BR>know what the first MCR 0, 4, and 5 do, so just
<BR>set them to the values that I use for now. Don't forget to recompile your <BR>sound module with the appropriate values!
<BR>
<BR> MCR 1 (WSS I/O)
<BR> I/O args
<BR> 0x530 0x07
<BR> 0xE80 0x17
<BR> 0xF40 0x27
<BR> 0x640 0x37
<BR>
<BR> MCR 3 (WSS IRQ/DMA)
<BR> IRQ/DMA args
<BR> 5/0 0x29
<BR> 5/1 0x2A
<BR> 5/3 0x2B
<BR> 7/0 0x09
<BR> 7/1 0x0A
<BR> 7/3 0x0B
<BR> 9/0 0x11
<BR> 9/1 0x12
<BR> 9/3 0x13
<BR> 10/0 0x19
<BR> 10/1 0x1A
<BR> 10/3 0x1B
<BR> 11/0 0x21
<BR> 11/1 0x22
<BR> 11/3 0x23
<BR>
<BR> MCR 6 (MPU401 I/O/IRQ)
<BR> I/O/IRQ args
<BR> 300/5 0xF2
<BR> 300/7 0xFA
<BR> 300/9 0xE2
<BR> 300/10 0xEA
<BR> 310/5 0xD2
<BR> 310/7 0xDA
<BR> 310/9 0xC2
<BR> 310/10 0xCA
<BR> 320/5 0xB2
<BR> 320/7 0xBA
<BR> 320/9 0xA2
<BR> 320/10 0xAA
<BR> 330/5 0x92
<BR> 330/7 0x9A
<BR> 330/9 0x82
<BR> 330/10 0x8A
<BR>
<BR>
<BR>5. Load the sound module
<BR>
<BR>Finally, load the sound modules by typing 'insmod sound' and you should have <BR>sound! View /dev/sndstat with 'cat /dev/sndstat'
<BR>and verify that you have actually successfully loaded the sound drivers. You <BR>should get something similar to this.
<BR>
<BR>OSS/Free3.8s5-971223 (Fri Jan 9 11:39:17 PST 1998 root,
<BR>Linux dt063n0d 2.0.33 #2 Sat Jan 3 00:13:35 PST 1998 i586 unknown)
<BR>Load type: Driver loaded as a module.
<BR>Kernel: Linux dt063n0d 2.0.33 #2 Sat Jan 3 00:13:35 PST 1998 i586
<BR>Config options: 0
<BR>
<BR>Installed drivers:
<BR>Type 10: MS Sound System
<BR>Type 27: Compaq Deskpro XL
<BR>Type 1: OPL-2/OPL-3 FM
<BR>Type 5: Roland MPU-401
<BR>
<BR>Card config:
<BR>MS Sound System at 0x530 irq 7 drq 0,1
<BR>Roland MPU-401 at 0x330 irq 5 drq 0
<BR>OPL-2/OPL-3 FM at 0x388 drq 0
<BR>
<BR>Audio devices:
<BR>0: MSS audio codec (82C930) (DUPLEX)
<BR>
<BR>Synth devices:
<BR>0: Yamaha OPL-3
<BR>
<BR>Midi devices:
<BR>0: MPU-401 0.0 Midi interface #1
<BR>
<BR>Timers:
<BR>0: System clock
<BR>
<BR>Mixers:
<BR>0: MSS audio codec (82C930)
<BR>
<BR>Most importantly, you should see a device under each device. If not, <BR>something's gone wrong! Unfortunately, it's tough to get it
<BR>half-way right, it's usually only all or nothing! Also note that I'm using <BR>the OSS Free sound drivers. I'm just about positive that
<BR>these aren't required, but it was one of the things I tried in my search to <BR>get the OPTi931 working! They are included in the
<BR>latest 2.1.XX kernels. However, if you can't get the OPTi931 working without <BR>them, you can find them at the OSS Free
<BR>homepage Don't forget to email me so I can make the necessary mods to this <BR>page!
<BR>
<BR>Well, I hope this has helped. If you have problems, you can try asking me, <BR>but I may not be of any help. The linux-sound
<BR>mailing list (send mail to <A HREF="mailto:majordomo@vger.rutgers.edu">majordomo@vger.rutgers.edu</A> to subscribe) is a <BR>great resource where I found much of the information
<BR>necessary to write this page.
<BR>
<BR> David Rees
<BR> <A HREF="http://oto.dyn.ml.org/~drees">http://oto.dyn.ml.org/~drees</A>
<BR>
<BR>
<BR> <BR>
<BR>
<BR> <BR>-- <BR> 白马带著她一步步的回到中原。白马已经老了,只能慢慢的走, <BR>但终是能回到中原的。江南有杨柳、桃花,有燕子、金鱼…… <BR>汉人中有的是英俊勇武的少年,倜傥潇洒的少年……但这个美 <BR>丽的姑娘就像古高昌国人那样固执: <BR> <BR> 「那都是很好很好的,可是我偏不喜欢。」 <BR> <BR>※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.99.18.67] <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -