Subject: Loading DSP code from an LKM
To: None <>
From: Jared D. McNeill <>
List: tech-kern
Date: 09/27/2001 14:22:01
In an attempt to remove all of the GPL'd bits from my ESS Allegro-1 /
Maestro3 driver, I've decided to load the GPL'd DSP code onto the card
from an LKM. Good idea, in theory..

I load the LKM, it sets appropriate pointers, and calls the 'esa_init'
function to load the DSP code to the card as well as do some other things.
I then attach the ac97 subsystem to the card, and the card to the audio
subsystem. I hear the familiar 'zip' sound that I hear with my completely
in-kernel driver, however I don't hear any sound when I try to playback
from the audio devices. 'mpg123 -v' shows that playback seems to be stuck
at the beginning.

Any suggestions? Maybe moving the last bits of 'esa_attach' to the LKM
isn't enough?