Re: autoprobing of sound submodules

James Mastros (root@jennifer-unix.dyn.ml.org)
Mon, 9 Feb 1998 22:31:17 -0500 (EST)


On Mon, 9 Feb 1998, Adam Heath wrote:
> Here is my relevent kerneld setup.
[...]
> I modified sound_open to issue a request_module for the device being opened.
> Then, in the ioctl for the sequencer device, I issue a request for
> char-major-14-sequencer. All works find if I modprobe awe_wave.
As did I... (only I did "sequencer", "audio", and "midi"). (The patch was
posted the 7th, if you want it. Please, all and anon, test it.)

I have found one bug, not related to this one... Sometimes, when the
uart401 module is being kernelded (it dosn't seem to matter if sound was
loaded already or not, but loading sb.o when uart401.o is already loaded
dosn't seem to change it either way), all audio will sound byte-swaped.
This only seems to appear when all of the following are true:
1) The sound is mmaped (I've only checked quake, qwcl, quake2, and wavplay,
however).
2) Uart401 is being loaded as a module.

Also, it only happens sometimes -- I havn't seen any pattern.

modules.conf (relevent portion):
#sound
options sb io=0x220 irq=5 dma=1 dma16=-1
options adlib_card io=0x388
alias audio sb
alias sequencer adlib_card
alias midi v_midi

-=- James Mastros

-- 
"Assuming that piece of ear weighed about 1/2 an ounce, Bill [Gates] could
afford to eat 443.39 pounds of Evander Holyfield if he were so inclined."
	-=- http://web.quuxuum.org/~evan/bgnw.html

"Do not judge an idea by it's source, but by it's content." -=- Me

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu