Here is a single line patch to the als007 soundcard driver which makes
the mic input volume control work. In short, I made a typo which I only
picked up this weekend.
The patch is against OSS/Free 3.8s9 running under 2.0.34 but is trivial to
integrate into the current kernel (find the MIXENT declarations and change
the relevant 6 into a 2). It is not against a recent 2.1.x kernel because i
don't have one handy at this stage. If this is not sufficient please let me
know and i'll attempt to find a HD somewhere ...
diff -ur oldlinux/drivers/sound/sb_mixer.h linux/drivers/sound/sb_mixer.h
--- oldlinux/drivers/sound/sb_mixer.h Sat Jul 4 17:43:09 1998
+++ linux/drivers/sound/sb_mixer.h Fri Nov 6 20:42:41 1998
@@ -191,7 +191,7 @@
MIX_ENT(SOUND_MIXER_PCM, 0x64, 7, 4, 0x64, 3, 4),
MIX_ENT(SOUND_MIXER_SPEAKER, 0x00, 0, 0, 0x00, 0, 0),
MIX_ENT(SOUND_MIXER_LINE, 0x6e, 7, 4, 0x6e, 3, 4),
-MIX_ENT(SOUND_MIXER_MIC, 0x6a, 6, 3, 0x00, 0, 0),
+MIX_ENT(SOUND_MIXER_MIC, 0x6a, 2, 3, 0x00, 0, 0),
MIX_ENT(SOUND_MIXER_CD, 0x68, 7, 4, 0x68, 3, 4),
MIX_ENT(SOUND_MIXER_IMIX, 0x00, 0, 0, 0x00, 0, 0),
MIX_ENT(SOUND_MIXER_ALTPCM, 0x00, 0, 0, 0x00, 0, 0),
Regards
jonathan
-- * Jonathan Woithe jwoithe@physics.adelaide.edu.au * * http://www.physics.adelaide.edu.au/~jwoithe/home.html * ***-----------------------------------------------------------------------*** ** "Time is an illusion; lunchtime doubly so" ** * "...you wouldn't recognize a subtle plan if it painted itself purple * * and danced naked on a harpsicord singing 'subtle plans are here again'" *- 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.tux.org/lkml/