Skip to contentSkip to conversation

Xonar DSX support

PATCH In review [email protected] 4 participants 6 messages Sep 9, 2012 – Jan 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Xonar DSX support

From: Sergiu Giurgiu <[email protected]>

This patch adds support for ASUS - Xonar DSX sound cards. Tested on openSUSE 12.2 with kernel:
Linux 3.4.6-2.10-desktop #1 SMP PREEMPT Thu Jul 26 09:36:26 UTC 2012 (641c197) x86_64 x86_64 x86_64 GNU/Linux Works:
- play sounds
- adjust volume on master channel.
- mute .

Since Xonar DS uses the same chip, everything that works for DS should work for DSX as well.

Thank you,
Sergiu Giurgiu.

mirror/sound/pci/oxygen/virtuoso.c +1 -0
index 3d71423..8104eab 100644
@@ -52,6 +52,7 @@ static DEFINE_PCI_DEVICE_TABLE(xonar_ids) = {
 	{ OXYGEN_PCI_SUBID(0x1043, 0x835d) },
 	{ OXYGEN_PCI_SUBID(0x1043, 0x835e) },
 	{ OXYGEN_PCI_SUBID(0x1043, 0x838e) },
+	{ OXYGEN_PCI_SUBID(0x1043, 0x8522) },
 	{ OXYGEN_PCI_SUBID_BROKEN_EEPROM },
 	{ }
 };
mirror/sound/pci/oxygen/xonar_wm87x6.c +5 -1
index 63cff90..b555b62 100644
@@ -1255,7 +1255,6 @@ static void dump_wm87x6_registers(struct oxygen *chip,
 }
 
 static const struct oxygen_model model_xonar_ds = {
-	.shortname = "Xonar DS",
 	.longname = "Asus Virtuoso 66",
 	.chip = "AV200",
 	.init = xonar_ds_init,
@@ -1327,6 +1326,11 @@ int __devinit get_xonar_wm87x6_model(struct oxygen *chip,
 	switch (id->subdevice) {
 	case 0x838e:
 		chip->model = model_xonar_ds;
+		chip->model.shortname = "Xonar DS";
+		break;
+	case 0x8522:
+		chip->model = model_xonar_ds;
+		chip->model.shortname = "Xonar DSX";
 		break;
 	case 0x835e:
 		chip->model = model_xonar_hdav_slim;
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 4 lines · <sgiurgiu11 <at> gmail.com> writes:

From: Sergiu Giurgiu <sgiurgiu11 <at> gmail.com>

This patch adds support for ASUS - Xonar DSX sound cards. Tested on

openSUSE 12.2 with kernel:

Quoted 1 line

Linux 3.4.6-2.10-desktop #1 SMP PREEMPT Thu Jul 26 09:36:26 UTC 2012

(641c197) x86_64 x86_64 x86_64 GNU/Linux

Quoted 6 lines

Works:
- play sounds
- adjust volume on master channel.
- mute .

Since Xonar DS uses the same chip, everything that works for DS should

work for DSX as well.

Review

Quoted 7 lines

Thank you,
Sergiu Giurgiu.

Signed-off-by Sergiu Giurgiu <sgiurgiu11 <at> gmail.com>
(quoted diff) +0 -0

b/mirror/sound/pci/oxygen/virtuoso.c

mirror/sound/pci/oxygen/virtuoso.c

Quoted 4 lines

index 3d71423..8104eab 100644

mirror/sound/pci/oxygen/virtuoso.c +0 -0
 <at>  <at>  -52,6 +52,7  <at>  <at>  static

DEFINE_PCI_DEVICE_TABLE(xonar_ids) = {

Review

Quoted 8 lines
mirror/sound/pci/oxygen/virtuoso.c +1 -0
 	{ OXYGEN_PCI_SUBID(0x1043, 0x835d) },
 	{ OXYGEN_PCI_SUBID(0x1043, 0x835e) },
 	{ OXYGEN_PCI_SUBID(0x1043, 0x838e) },
+	{ OXYGEN_PCI_SUBID(0x1043, 0x8522) },
 	{ OXYGEN_PCI_SUBID_BROKEN_EEPROM },
 	{ }
 };
(quoted diff) +0 -0

b/mirror/sound/pci/oxygen/xonar_wm87x6.c

mirror/sound/pci/oxygen/xonar_wm87x6.c

Quoted 4 lines

index 63cff90..b555b62 100644

mirror/sound/pci/oxygen/xonar_wm87x6.c +0 -0
 <at>  <at>  -1255,7 +1255,6  <at>  <at>  static void

dump_wm87x6_registers(struct oxygen *chip,

mirror/sound/pci/oxygen/xonar_wm87x6.c static void dump_wm87x6_registers(struct oxygen *chip,

Quoted 8 lines

}

static const struct oxygen_model model_xonar_ds = {

mirror/sound/pci/oxygen/xonar_wm87x6.c +0 -1
-	.shortname = "Xonar DS",
 	.longname = "Asus Virtuoso 66",
 	.chip = "AV200",
 	.init = xonar_ds_init,
 <at>  <at>  -1327,6 +1326,11  <at>  <at>  int __devinit

get_xonar_wm87x6_model(struct oxygen *chip,

mirror/sound/pci/oxygen/xonar_wm87x6.c int __devinit get_xonar_wm87x6_model(struct oxygen *chip, · line 1336

Quoted 11 lines
mirror/sound/pci/oxygen/xonar_wm87x6.c +5 -0
 	switch (id->subdevice) {
 	case 0x838e:
 		chip->model = model_xonar_ds;
+		chip->model.shortname = "Xonar DS";
+		break;
+	case 0x8522:
+		chip->model = model_xonar_ds;
+		chip->model.shortname = "Xonar DSX";
 		break;
 	case 0x835e:
 		chip->model = model_xonar_hdav_slim;

--------------------------------------------------------------------------

It appears that I need to apply this patch but I cannot understand how to do this.
I have read that in order for the drivers to recognise the DSX card then this patch is necessary.
Please explain where to apply it and how to compile the drivers afterwards.

Linux Mint 14, KDE, ASUS M5A78L-M motherboard with ALC887 chip. ALSA and PulseAudio, all work together but sound quality is disappointing so I wish to use the Xonar DSX instead.

#2 lore raw
In reply to [email protected]
Quoted 4 lines · <sgiurgiu11 <at> gmail.com> writes:

From: Sergiu Giurgiu <sgiurgiu11 <at> gmail.com>

This patch adds support for ASUS - Xonar DSX sound cards. Tested on

openSUSE 12.2 with kernel:

Quoted 1 line

Linux 3.4.6-2.10-desktop #1 SMP PREEMPT Thu Jul 26 09:36:26 UTC 2012

(641c197) x86_64 x86_64 x86_64 GNU/Linux

Quoted 6 lines

Works:
- play sounds
- adjust volume on master channel.
- mute .

Since Xonar DS uses the same chip, everything that works for DS should

work for DSX as well.

Review

Quoted 7 lines

Thank you,
Sergiu Giurgiu.

Signed-off-by Sergiu Giurgiu <sgiurgiu11 <at> gmail.com>
(quoted diff) +0 -0

b/mirror/sound/pci/oxygen/virtuoso.c

mirror/sound/pci/oxygen/virtuoso.c

Quoted 4 lines

index 3d71423..8104eab 100644

mirror/sound/pci/oxygen/virtuoso.c +0 -0
 <at>  <at>  -52,6 +52,7  <at>  <at>  static

DEFINE_PCI_DEVICE_TABLE(xonar_ids) = {

Review

Quoted 8 lines
mirror/sound/pci/oxygen/virtuoso.c +1 -0
 	{ OXYGEN_PCI_SUBID(0x1043, 0x835d) },
 	{ OXYGEN_PCI_SUBID(0x1043, 0x835e) },
 	{ OXYGEN_PCI_SUBID(0x1043, 0x838e) },
+	{ OXYGEN_PCI_SUBID(0x1043, 0x8522) },
 	{ OXYGEN_PCI_SUBID_BROKEN_EEPROM },
 	{ }
 };
(quoted diff) +0 -0

b/mirror/sound/pci/oxygen/xonar_wm87x6.c

mirror/sound/pci/oxygen/xonar_wm87x6.c

Quoted 4 lines

index 63cff90..b555b62 100644

mirror/sound/pci/oxygen/xonar_wm87x6.c +0 -0
 <at>  <at>  -1255,7 +1255,6  <at>  <at>  static void

dump_wm87x6_registers(struct oxygen *chip,

mirror/sound/pci/oxygen/xonar_wm87x6.c static void dump_wm87x6_registers(struct oxygen *chip,

Quoted 8 lines

}

static const struct oxygen_model model_xonar_ds = {

mirror/sound/pci/oxygen/xonar_wm87x6.c +0 -1
-	.shortname = "Xonar DS",
 	.longname = "Asus Virtuoso 66",
 	.chip = "AV200",
 	.init = xonar_ds_init,
 <at>  <at>  -1327,6 +1326,11  <at>  <at>  int __devinit

get_xonar_wm87x6_model(struct oxygen *chip,

mirror/sound/pci/oxygen/xonar_wm87x6.c int __devinit get_xonar_wm87x6_model(struct oxygen *chip, · line 1336

Quoted 11 lines
mirror/sound/pci/oxygen/xonar_wm87x6.c +5 -0
 	switch (id->subdevice) {
 	case 0x838e:
 		chip->model = model_xonar_ds;
+		chip->model.shortname = "Xonar DS";
+		break;
+	case 0x8522:
+		chip->model = model_xonar_ds;
+		chip->model.shortname = "Xonar DSX";
 		break;
 	case 0x835e:
 		chip->model = model_xonar_hdav_slim;

-------------------------------------------------------------------------

It appears that I need to apply this patch but I cannot understand how to do this.
I have read that in order for the drivers to recognise the DSX card then this patch is necessary.
Please explain where to apply it and how to compile the drivers afterwards.

Linux Mint 14, KDE, ASUS M5A78L-M motherboard with ALC887 chip. ALSA and PulseAudio, all work together but sound quality is disappointing so I wish to use the Xonar DSX instead.

#3 lore raw
Quoted 7 lines · Ian Clarke
Quoted 1 line · <sgiurgiu11 <at> gmail.com> writes:

This patch adds support for ASUS - Xonar DSX sound cards.

It appears that I need to apply this patch but I cannot understand how to do this.

Linux Mint 14

You need kernel 3.7 or later. Update your kernel, or update the entire distribution.

Regards,
Clemens

#5 lore raw
Quoted 1 line · Man

Am I suppose to copy this into a file for the sound card to work on linux?

This code got merged into the 3.8 kernel two years ago. If your kernel is older, update it.

Regards,
Clemens