⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aaronkuhn-opl3

📁 Linus guide, Linus guide, Linus guide,
💻
字号:
The following document is provided AS-IS without any warranty of any kind.Permission is granted to distribute this document in any form as long as thisnotice remains intact. Permission is also granted, and encouraged, to makederivative works from this document as long as this notice remains intact.12/29/1998 Aaron Kuhn (akuhn@usa.net) -------------------------------------------------------Linux, Windows 95, and your Yamaha OPL3-SA2 based card	You may have seen my previous posting here about my Yamaha-OPL3SA2soundcard. Well, after having to reconfigure my system again, I realize whatI wrote was total incoherent babble. I've also figured out a thing or twosincethen. So I now present a more structured guide to how I got my soundcardworking.The important things bout my system you need to know:Tekram P5T30-B4 motherboard with Award 4.51G BIOSYamaha-OPL3SA2 based soundcard (only mention of a company I can begin tolocate is "Juster Multimedia" on the box)Red Hat Linux 5.1 with 2.0.36 kernelWindows 95 OSR2	If your system configurations anything like mine, hopefully this willhelp. My problem with my soundcard was that it'd work in Windows 95, but notin Linux. 	The first thing you should know about these soundcards in Linux isthey're not going to work as Soundblaster/Soundblaster Pro clones. The cardsuse the OPL3-SA2 chip which is basically a smorgasbord of audio technologyslapped onto one chip. Not a smart way to make a card, but it's cheap. Tosucessfully get it working in Linux, the card will have to be setup as aWindows/Microsoft Sound System Device <- (shudder).  Anyhow, here's the basicsteps to making this happenIn my BIOS under the PNP device configuration, I have set:PnP OS Installed: NoResources controlled by: ManualI'm using the Linux 2.0.36 kernel with the OSSFree 3.8s9 drivers. The most important settings on my soundcard are:220 (SoundBlaster Pro function of the chip, doesn't do a damn thing in Linux)530 (Windows Sound System - ding ding! This is what we want)388 (MPU-401 also wanted)Primary DMA 0Secondary DMA 1Now, this is all pretty standard and things, so you ask, why don't I justcompile my kernel with that? Well, the problem is the card's on IRQ 5. TheOSSFree drivers only support IRQ's 7, 9, 10, 11. Solution to this problem?Windows 95. While I'm sure you can use isapnp to do the same thing I'm aboutto descibre below, I had to use Windows.In the device manager setup for your card, you should make sure the AutomaticConfiguraiton box is UNCHECKED! Windows just LOVES to hijack settings, sowe're not going to let it. After unchecking this box, you should be able tosimply double click the Interrupt setting and change it. You may have tochange your card to "Basic Configuration 002" which is what I had to. Itdidn't seem to want to let me change anything if I had 000 or 001.Ok, now that we're all set there, exit out of tbe device manager. 'Would youlike to reboot?" Yep, you want to.Pay careful attention to the PnP device listing your BIOS spits out, the IRQand DMA settings on this list should match what you used in Windows.If all is good, edit your /etc/isapnp.conf. (Oh yeah, I did mention you needisapnptools?) Uncomment the correct settings for the first device function onthe card and uncommrnet (ACT Y). The rest of the device functions below theaudio handle the onboard IDE on my card, and a bunch of other stuff thatwas thrown on the card which I don't use so I really don't care what they are.In your kernel config selection (I use menuconfig, so adapt as neccessary myinstructions) you want to goto the sound submenu. The following are checkedfor me:[*] Sound Card support[*] Generic OPL2/OPL3 FM Synthesizer support[*] MPU-401 support[*] Microsoft Sound System support[*] FM Synthesizer (YM3812/OPL-3) supportBelow those, you should see the places to enter the values in for the varioussettings. Plug in your MS/WSS interrupt (530 for me) and the IRQ (for me,9) Your MPU-401 should be set to whatever is applicable for the card (330here) and the IRQ will be the same as the MS/WSS selection.Use OSSFree3.9 in kernelFrom here you should compile the kernel, install it, and reboot. If yourlucky, you'll have sound. If not, keep trying ... or spend $20 for OSS, itwill save you a lot of hassle.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -