All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Enables SPDIF output on the Audigy2 Value.
@ 2005-02-13 16:35 James Courtier-Dutton
  2005-02-14 15:36 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: James Courtier-Dutton @ 2005-02-13 16:35 UTC (permalink / raw)
  To: ALSA development

[-- Attachment #1: Type: text/plain, Size: 78 bytes --]

It seems to work for PCM, but not AC3 yet.

Signed off: James Courtier-Dutton

[-- Attachment #2: audig2value-spdif-enable.diff.txt --]
[-- Type: text/plain, Size: 868 bytes --]

Index: alsa-driver/alsa-kernel/pci/emu10k1/emu10k1_main.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/emu10k1/emu10k1_main.c,v
retrieving revision 1.42
diff -u -r1.42 emu10k1_main.c
--- alsa-driver/alsa-kernel/pci/emu10k1/emu10k1_main.c	29 Nov 2004 14:09:47 -0000	1.42
+++ alsa-driver/alsa-kernel/pci/emu10k1/emu10k1_main.c	13 Feb 2005 16:13:23 -0000
@@ -205,6 +205,15 @@
 		/* Setup SRCMulti Input Audio Enable */
 		outl(0x7b0000, emu->port + 0x20);
 		outl(0xFF000000, emu->port + 0x24);
+
+		/* Setup SPDIF Out Audio Enable */
+		/* The Audigy 2 Value has a separate SPDIF out,
+		 * so no need for a mixer switch
+		 */
+		outl(0x7a0000, emu->port + 0x20);
+		outl(0xFF000000, emu->port + 0x24);
+		tmp = inl(emu->port + A_IOCFG) & ~0x8; /* Clear bit 3 */
+		outl(tmp, emu->port + A_IOCFG);
 	}
 
 

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

end of thread, other threads:[~2005-02-14 20:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-13 16:35 [PATCH] Enables SPDIF output on the Audigy2 Value James Courtier-Dutton
2005-02-14 15:36 ` Takashi Iwai
2005-02-14 20:38   ` Lee Revell

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.