For non-ac97 volume controls to work, the following needs to be added to
ac97_codec.c (or else the codec gets reset as the module tries to write a
volume to 0x00):
--- ac97_codec.c-orig	Sat Aug 11 15:13:20 2001
+++ ac97_codec.c	Sat Aug 11 15:17:15 2001
@@ -299,6 +299,9 @@
 	int scale;
 	struct ac97_mixer_hw *mh = &ac97_hw[oss_channel];
+	if (!mh->offset)
+		return;
+
 #ifdef DEBUG
 	printk("ac97_codec: wrote OSS mixer %2d (%s ac97 register 0x%02x), "
 	       "left vol:%2d, right vol:%2d:",
On Sat, 11 Aug 2001, Daniel T. Chen wrote:
> I've rediffed Juha's patch against 2.4.8+Rui's patch.
>
> ---
> Dan Chen                 crimsun@email.unc.edu
> GPG key: www.cs.unc.edu/~chenda/pubkey.gpg.asc
>
-- Daniel Bertrand- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/