Skip to contentSkip to conversation

Enables SPDIF output on the Audigy2 Value.

PATCH Applied James Courtier-Dutton 3 participants 3 messages Feb 13, 2005 – Feb 14, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Enables SPDIF output on the Audigy2 Value.

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

Signed off: James Courtier-Dutton

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

alsa-kernel/pci/emu10k1/emu10k1_main.c +9 -0
diff -u -r1.42 emu10k1_main.c
@@ -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);
 	}
 
 
Applied
#1 lore raw

At Sun, 13 Feb 2005 16:35:02 +0000,

Quoted 2 lines · James Courtier-Dutton

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

Applied to CVS.

My only concern is the influence to other Audigy models although it seems working on my machines. Please report if you have any problems after this update.

Takashi

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#2 lore raw
Quoted 10 lines · Takashi Iwai

At Sun, 13 Feb 2005 16:35:02 +0000,

Quoted 2 lines · James Courtier-Dutton

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

Applied to CVS.

My only concern is the influence to other Audigy models although it seems working on my machines. Please report if you have any problems after this update.

On a related topic did anyone ever test my patch to enable 96KHz output on the audigy?

Lee

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click