From: Ian Clarke Subject: Re: [PATCH - ALSA: snd-virtuoso 1/1] Xonar DSX support Date: Thu, 26 Sep 2013 10:17:43 +0000 (UTC) Message-ID: References: <504c9632.8697320a.1336.4b37@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by alsa0.perex.cz (Postfix) with ESMTP id BA0FF26260F for ; Thu, 26 Sep 2013 12:18:05 +0200 (CEST) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VP8e4-0001rc-0J for alsa-devel@alsa-project.org; Thu, 26 Sep 2013 12:18:04 +0200 Received: from host-78-144-105-4.as13285.net ([78.144.105.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Sep 2013 12:18:04 +0200 Received: from ianclarke340 by host-78-144-105-4.as13285.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Sep 2013 12:18:04 +0200 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org gmail.com> writes: > > From: Sergiu Giurgiu gmail.com> > > 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. > > Signed-off-by: Sergiu Giurgiu gmail.com> > > diff --git a/mirror/sound/pci/oxygen/virtuoso.c b/mirror/sound/pci/oxygen/virtuoso.c > index 3d71423..8104eab 100644 > --- a/mirror/sound/pci/oxygen/virtuoso.c > +++ b/mirror/sound/pci/oxygen/virtuoso.c > -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 }, > { } > }; > diff --git a/mirror/sound/pci/oxygen/xonar_wm87x6.c b/mirror/sound/pci/oxygen/xonar_wm87x6.c > index 63cff90..b555b62 100644 > --- a/mirror/sound/pci/oxygen/xonar_wm87x6.c > +++ b/mirror/sound/pci/oxygen/xonar_wm87x6.c > -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; ------------------------------------------------------------------------- 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.