Messages in this thread | | | Date | Sat, 31 Jan 1998 18:13:49 -0500 (EST) | From | Jim Bray <> | Subject | 2.1.83: Sound, SB16, Modules, MIDI? |
| |
I have been wrestling with sound, particularly with trying to get the stuff to work as a module. The documentation in drivers/sound is mostly irrelevant and erroneous, and the docs on www.opensound.com were about the same. I was, however, repeatedly reminded that I could buy the commercial version which would solve all of my problems. I feel that this is rather tasteless and am surprised that such commercialisation has been admitted to the kernel source tree.
Since, for whatever reasons, this is the only sound driver to be found in the kernel, one must make due. I finally gave up on the documentation once I realised that, other than suggesting I buy OSS/Linux, it was useless. I should have resorted to the code first; I quickly found out that the sb module takes args, and won't work without them. Note especially the "dma16=5"; without that I got sound, but extremely noisy and distorted sound.
Adding the following lines to /etc/conf.modules should help users of SB16 cards who would like to save about 300k of gzipped kernel size (meaning perhaps a meg of wired ram?) make the thing as a module and actually have kerneld be able to load it if one, for example, runs rvplayer, then unload when finished.
alias char-major-14 sb alias sound sb options sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330
I still have had no success trying to get MIDI stuff playing. I take the liberty of including my /dev/sndstat output in case someone else has been thru this. I think I need a synth device, but none is spontaneosly generating. I have tried both with and without the MIDI loopback device, which xconfig informs me has no help available.
OSS/Free:3.8s2++-971130 Load type: Driver loaded as a module Kernel: Linux localhost 2.1.83 #18 Sat Jan 31 12:41:52 EST 1998 i586 Config options: 0
Installed drivers:
Card config:
Audio devices: 0: Sound Blaster 16 (4.5)
Synth devices:
Midi devices: 0: Sound Blaster 16
Timers: 0: System clock
Mixers: 0: Sound Blaster
--Jim <a href="http://as220.org/jb"> My Page: as220.org/jb </a>
| |