📄 soundpro
字号:
Documentation for the SoundPro CMI8330 extensions in the WSS driver (ad1848.o)------------------------------------------------------------------------------( Be sure to read Documentation/sound/oss/CMI8330 too )Ion Badulescu, ionut@cs.columbia.eduFebruary 24, 1999(derived from the OPL3-SA2 documentation by Scott Murray)The SoundPro CMI8330 (ISA) is a chip usually found on some Taiwanesemotherboards. The official name in the documentation is CMI8330, SoundProis the nickname and the big inscription on the chip itself.The chip emulates a WSS as well as a SB16, but it has certain differencesin the mixer section which require separate support. It also emulates anMPU401 and an OPL3 synthesizer, so you probably want to enable supportfor these, too.The chip identifies itself as an AD1848, but its mixer is significantlymore advanced than the original AD1848 one. If your system works witheither WSS or SB16 and you are having problems with some mixer controls(no CD audio, no line-in, etc), you might want to give this driver a try.Detection should work, but it hasn't been widely tested, so it might stillmis-identify the chip. You can still force soundpro=1 in the modprobeparameters for ad1848. Please let me know if it happens to you, so I canadjust the detection routine.The chip is capable of doing full-duplex, but since the driver sees it as anAD1848, it cannot take advantage of this. Moreover, the full-duplex mode isnot achievable through the WSS interface, b/c it needs a dma16 line which isassigned only to the SB16 subdevice (with isapnp). Windows documentationsays the user must use WSS Playback and SB16 Recording for full-duplex, soit might be possible to do the same thing under Linux. You can try loadingup both ad1848 and sb then use one for playback and the other forrecording. I don't know if this works, b/c I haven't tested it. Anyway, ifyou try it, be very careful: the SB16 mixer *mostly* works, but certainsettings can have unexpected effects. Use the WSS mixer for best results.There is also a PCI SoundPro chip. I have not seen this chip, so I haveno idea if the driver will work with it. I suspect it won't.As with PnP cards, some configuration is required. There are two waysof doing this. The most common is to use the isapnptools package toinitialize the card, and use the kernel module form of the soundsubsystem and sound drivers. Alternatively, some BIOS's allow manualconfiguration of installed PnP devices in a BIOS menu, which shouldallow using the non-modular sound drivers, i.e. built into the kernel.Since in this latter case you cannot use module parameters, you willhave to enable support for the SoundPro at compile time.The IRQ and DMA values can be any that are considered acceptable for aWSS. Assuming you've got isapnp all happy, then you should be able todo something like the following (which *must* match the isapnp/BIOSconfiguration):modprobe ad1848 io=0x530 irq=11 dma=0 soundpro=1-and maybe-modprobe sb io=0x220 irq=5 dma=1 dma16=5-then-modprobe mpu401 io=0x330 irq=9modprobe opl3 io=0x388If all goes well and you see no error messages, you should be able tostart using the sound capabilities of your system. If you get anerror message while trying to insert the module(s), then makesure that the values of the various arguments match what you specifiedin your isapnp configuration file, and that there is no conflict withanother device for an I/O port or interrupt. Checking the contents of/proc/ioports and /proc/interrupts can be useful to see if you'rebutting heads with another device.If you do not see the chipset version message, and none of the othermessages present in the system log are helpful, try adding 'debug=1'to the ad1848 parameters, email me the syslog results and I'll domy best to help. Lastly, if you're using modules and want to set up automatic moduleloading with kmod, the kernel module loader, here is the section Icurrently use in my conf.modules file:# Soundpost-install sound modprobe -k ad1848; modprobe -k mpu401; modprobe -k opl3options ad1848 io=0x530 irq=11 dma=0options sb io=0x220 irq=5 dma=1 dma16=5options mpu401 io=0x330 irq=9options opl3 io=0x388The above ensures that ad1848 will be loaded whenever the sound systemis being used.Good luck.IonNOT REALLY TESTED:- recording- recording device selection- full-duplexTODO:- implement mixer support for surround, loud, digital CD switches.- come up with a scheme which allows recording volumes for each subdevice.This is a major OSS API change.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -