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

* Re: [PATCH] Enables SPDIF output on the Audigy2 Value.
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2005-02-14 15:36 UTC (permalink / raw)
  To: James Courtier-Dutton; +Cc: ALSA development

At Sun, 13 Feb 2005 16:35:02 +0000,
James Courtier-Dutton wrote:
> 
> 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

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

* Re: [PATCH] Enables SPDIF output on the Audigy2 Value.
  2005-02-14 15:36 ` Takashi Iwai
@ 2005-02-14 20:38   ` Lee Revell
  0 siblings, 0 replies; 3+ messages in thread
From: Lee Revell @ 2005-02-14 20:38 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: James Courtier-Dutton, ALSA development

On Mon, 2005-02-14 at 16:36 +0100, Takashi Iwai wrote:
> At Sun, 13 Feb 2005 16:35:02 +0000,
> James Courtier-Dutton wrote:
> > 
> > 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

^ 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.