I did this, and it worked very nicely. It used the [gs]et_persist() functions
of kerneld to store and retrieve the mixer levels when unloading and loading
the module, respectively.
Unfortunately, I'm a bit stuck for ideas now that kerneld's gone.
---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
Dave@imladris.demon.co.uk http://www.imladris.demon.co.uk
finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu