[alsa-devel] [PATCH]ctxfi: Swapped SURROUND-SIDE channels on emu20k2

Frank Roth frashman at freenet.de
Mon Jul 20 17:00:14 CEST 2009


My patch description:

On Soundblaster X-FI Titanium with emu20k2 the SIDE and SURROUND channels were swapped and wrong.
I double checked it with connector colors and creative soundblaster windows drivers.

So I swapped them to the true order.
Now "speaker-test -c6" and "speaker-test -c8" are working fine.

It's my first patch submit ever, so if I've done anything wrong, please correct me ;-)


Signed-off-by: Frank Roth <frashman at freenet.de>
--- alsa-driver-unstable/alsa-kernel/pci/ctxfi/ctdaio.c.orig	2009-07-20 16:20:37.273239043 +0200
+++ alsa-driver-unstable/alsa-kernel/pci/ctxfi/ctdaio.c	2009-07-20 14:26:59.798760829 +0200
@@ -57,9 +57,9 @@ struct daio_rsc_idx idx_20k1[NUM_DAIOTYP

  struct daio_rsc_idx idx_20k2[NUM_DAIOTYP] = {
  	[LINEO1] = {.left = 0x40, .right = 0x41},
-	[LINEO2] = {.left = 0x70, .right = 0x71},
+	[LINEO2] = {.left = 0x60, .right = 0x61},
  	[LINEO3] = {.left = 0x50, .right = 0x51},
-	[LINEO4] = {.left = 0x60, .right = 0x61},
+	[LINEO4] = {.left = 0x70, .right = 0x71},
  	[LINEIM] = {.left = 0x45, .right = 0xc5},
  	[SPDIFOO] = {.left = 0x00, .right = 0x01},
  	[SPDIFIO] = {.left = 0x05, .right = 0x85},



More information about the Alsa-devel mailing list