All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] AD1985 mixer settings
@ 2003-08-20  7:26 Clemens Ladisch
  2003-08-23 22:29 ` Thierry Vignaud
  2003-08-25 11:04 ` Takashi Iwai
  0 siblings, 2 replies; 4+ messages in thread
From: Clemens Ladisch @ 2003-08-20  7:26 UTC (permalink / raw)
  To: alsa-devel


The AD1985's "ADI compatibility mode" changes the meaning of some
mixer controls to be more useful. In this case, it makes the Master
Volume control behave correctly.


Index: alsa-kernel/pci/ac97/ac97_patch.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ac97/ac97_patch.c,v
retrieving revision 1.18
diff -u -r1.18 ac97_patch.c
--- alsa-kernel/pci/ac97/ac97_patch.c	30 Jul 2003 10:54:03 -0000	1.18
+++ alsa-kernel/pci/ac97/ac97_patch.c	20 Aug 2003 06:59:16 -0000
@@ -768,7 +768,8 @@
 	misc = snd_ac97_read(ac97, AC97_AD_MISC);
 	/* switch front/surround line-out/hp-out */
 	/* center/LFE, surround in High-Z mode */
+	/* ADI compatibility mode */
-	snd_ac97_write_cache(ac97, AC97_AD_MISC, misc | 0x1c28);
+	snd_ac97_write_cache(ac97, AC97_AD_MISC, misc | 0x5c20);
 	return 0;
 }





-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-25 11:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-20  7:26 [PATCH] AD1985 mixer settings Clemens Ladisch
2003-08-23 22:29 ` Thierry Vignaud
2003-08-25 11:05   ` Takashi Iwai
2003-08-25 11:04 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.