Re: Hack for Sound question

David Woodhouse (David.Woodhouse@mvhi.com)
Wed, 22 Jul 1998 10:01:50 +0100


> As you can see, simply have a "post-install" line to read the mixer
> settings and a "pre-remove" to save them. Simple, elegant. There are a
> couple of caveats, but you dont normally auto-clean the sound module
> AFAIK.

Not good enough. There can be three or four seconds between the mixer being
initialised by the kernel and the script setting the levels back somewhere
sane again. I lived in a shared house last year and I was not popular when I
rebooted at three in the morning.

Perhaps if the kernel initialised the mixer levels to zero, it would be OK. At
least the gain should be set to one by default, so it doesn't saturate the
thing, and the default isn't so much louder than the sane listening setup.

I was much happier when I had my SB driver hacked to read the current levels
from the hardware and keep them. Unfortunately, mine was the only card I could
ever get it to work on :)

---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com (+44) 1223 812896
Software Engineer Dave@imladris.demon.co.uk (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.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
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html