Skip to contentSkip to conversation

Asus Essence STX II

PATCH In review corubba 4 participants 7 messages Aug 3, 2014 – Aug 4, 2014

Subsystems (3)
lore
Share & tools
lore

corubba

author
#0 lore raw

PATCH 1/1 Asus Essence STX II

Today I got my new sound card, a Asus Essence STX II. After plugin it in and booting my Linux machine, the card was recognized by lspci as audio controller, but not listed by alsa as soundcard. Information on support for this new card under linux are hard to find. Due to the hardware similarities between STX and STX II, I tried to modify the existing STX driver in order to work for the STX II too. And it seems to work quiet
well: I have sound, can change the volumes, switch between speaker/headphone/frontpanel, enable the mic boost etc. I don't have the H6 childboard for surround sound, so I can't test that. I tested my patch [1] with a 3.15.8 kernel under Arch Linux.

Just wanted to share this information for others to get it quickly working, or maybe even include it after a review from the devs.

[1] http://pastebin.com/GaGguPvt

#1 lore raw

At Sun, 03 Aug 2014 03:45:44 +0200,

Quoted 12 lines · corubba

Today I got my new sound card, a Asus Essence STX II. After plugin it in and booting my Linux machine, the card was recognized by lspci as audio controller, but not listed by alsa as soundcard. Information on support for this new card under linux are hard to find. Due to the hardware similarities between STX and STX II, I tried to modify the existing STX driver in order to work for the STX II too. And it seems to work quiet
well: I have sound, can change the volumes, switch between speaker/headphone/frontpanel, enable the mic boost etc. I don't have the H6 childboard for surround sound, so I can't test that. I tested my patch [1] with a 3.15.8 kernel under Arch Linux.

Quoted 5 lines

Just wanted to share this information for others to get it quickly working, or maybe even include it after a review from the devs.

[1] http://pastebin.com/GaGguPvt

If the device works as expected by just this addition, I find no problem in the patch. Please submit in the formal way as described in Documentation/SubmittingPatches.

thanks,

Takashi

#2 lore raw

Hi,

I have 2 CM6571 usb sound cards.

In Ubuntu, i want to use these 2 cardds simultaneously. I open 2 terminals, and arecord -D plughw:1,0 | aplay -D plughw:1,0 in one terminal, it works well. but when i type arecord -D plughw:2,0 | aplay -D plughw:2,0 in another terminal, in second terminal, it says

Recording WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
arecord: xrun:1552: Playing WAVE 'stdin' : read/write error, state = PREPAREDUnsigned 8 bit,
Rate 8000 Hz, Mono

aplay: set_params:1297: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  U8
SUBFORMAT:  STD
SAMPLE_BITS: 8
FRAME_BITS: 8
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 125000
PERIOD_SIZE: 1000
PERIOD_BYTES: 1000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 4000
BUFFER_BYTES: 4000
TICK_TIME: 0

I think it is about the usb driver in alsa, any ideas?

Quoted 36 lines · Takashi Iwai

At Sun, 03 Aug 2014 03:45:44 +0200,

Quoted 12 lines · corubba

Today I got my new sound card, a Asus Essence STX II. After plugin it in and booting my Linux machine, the card was recognized by lspci as audio controller, but not listed by alsa as soundcard. Information on support for this new card under linux are hard to find. Due to the hardware similarities between STX and STX II, I tried to modify the existing STX driver in order to work for the STX II too. And it seems to work quiet
well: I have sound, can change the volumes, switch between speaker/headphone/frontpanel, enable the mic boost etc. I don't have the H6 childboard for surround sound, so I can't test that. I tested my patch [1] with a 3.15.8 kernel under Arch Linux.

Quoted 5 lines

Just wanted to share this information for others to get it quickly working, or maybe even include it after a review from the devs.

[1] http://pastebin.com/GaGguPvt

If the device works as expected by just this addition, I find no problem in the patch. Please submit in the formal way as described in Documentation/SubmittingPatches.

thanks,

Takashi

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future.

Quoted 6 lines

http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk

_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

#3 lore raw

When ı dmesg, it says:

[ 5418.913160] retire_playback_urb: 1673 callbacks suppressed
[ 5419.253436] cannot submit urb 0, error -28: not enough bandwidth
[ 5419.254887] cannot submit urb 0, error -28: not enough bandwidth
Quoted 30 lines · Burak METİN

Hi,

I have 2 CM6571 usb sound cards.

In Ubuntu, i want to use these 2 cardds simultaneously. I open 2 terminals, and arecord -D plughw:1,0 | aplay -D plughw:1,0 in one terminal, it works well. but when i type arecord -D plughw:2,0 | aplay -D plughw:2,0 in another terminal, in second terminal, it says

Recording WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
arecord: xrun:1552: Playing WAVE 'stdin' : read/write error, state = PREPAREDUnsigned 8 bit,
Rate 8000 Hz, Mono

aplay: set_params:1297: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  U8
SUBFORMAT:  STD
SAMPLE_BITS: 8
FRAME_BITS: 8
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 125000
PERIOD_SIZE: 1000
PERIOD_BYTES: 1000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 4000
BUFFER_BYTES: 4000
TICK_TIME: 0
Quoted 49 lines

I think it is about the usb driver in alsa, any ideas?

Quoted 42 lines · Takashi Iwai

At Sun, 03 Aug 2014 03:45:44 +0200,

Quoted 12 lines · corubba

Today I got my new sound card, a Asus Essence STX II. After plugin it in and booting my Linux machine, the card was recognized by lspci as audio controller, but not listed by alsa as soundcard. Information on support for this new card under linux are hard to find. Due to the hardware similarities between STX and STX II, I tried to modify the existing STX driver in order to work for the STX II too. And it seems to work quiet
well: I have sound, can change the volumes, switch between speaker/headphone/frontpanel, enable the mic boost etc. I don't have the H6 childboard for surround sound, so I can't test that. I tested my patch [1] with a 3.15.8 kernel under Arch Linux.

Quoted 5 lines

Just wanted to share this information for others to get it quickly working, or maybe even include it after a review from the devs.

[1] http://pastebin.com/GaGguPvt

If the device works as expected by just this addition, I find no problem in the patch. Please submit in the formal way as described in Documentation/SubmittingPatches.

thanks,

Takashi

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future.

http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk

_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

maintainer
#5 lore raw

PATCH 1/1 ALSA: virtuoso: add Xonar Essence STX II support

In reply to corubba

Just add the PCI ID for the STX II. It appears to work the same as the STX, except for the addition of the not-yet-supported daughterboard.

---
 Documentation/sound/alsa/ALSA-Configuration.txt |    4 ++--
 sound/pci/Kconfig                               |    4 ++--
 sound/pci/oxygen/virtuoso.c                     |    1 +
 sound/pci/oxygen/xonar_pcm179x.c                |   12 ++++++++++--
 4 files changed, 15 insertions(+), 6 deletions(-)
Documentation/sound/alsa/ALSA-Configuration.txt +2 -2
index 7ccf933..48148d6 100644
@@ -2026,8 +2026,8 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
   -------------------
 
     Module for sound cards based on the Asus AV66/AV100/AV200 chips,
-    i.e., Xonar D1, DX, D2, D2X, DS, Essence ST (Deluxe), Essence STX,
-    HDAV1.3 (Deluxe), and HDAV1.3 Slim.
+    i.e., Xonar D1, DX, D2, D2X, DS, DSX, Essence ST (Deluxe),
+    Essence STX (II), HDAV1.3 (Deluxe), and HDAV1.3 Slim.
 
     This module supports autoprobe and multiple cards.
 
sound/pci/Kconfig +2 -2
index 3a3a3a7..50dd008 100644
@@ -858,8 +858,8 @@ config SND_VIRTUOSO
 	select SND_JACK if INPUT=y || INPUT=SND
 	help
 	  Say Y here to include support for sound cards based on the
-	  Asus AV66/AV100/AV200 chips, i.e., Xonar D1, DX, D2, D2X, DS,
-	  Essence ST (Deluxe), and Essence STX.
+	  Asus AV66/AV100/AV200 chips, i.e., Xonar D1, DX, D2, D2X, DS, DSX,
+	  Essence ST (Deluxe), and Essence STX (II).
 	  Support for the HDAV1.3 (Deluxe) and HDAV1.3 Slim is experimental;
 	  for the Xense, missing.
 
sound/pci/oxygen/virtuoso.c +1 -0
index 64b9fda..dbbbacf 100644
@@ -53,6 +53,7 @@ static DEFINE_PCI_DEVICE_TABLE(xonar_ids) = {
 	{ OXYGEN_PCI_SUBID(0x1043, 0x835e) },
 	{ OXYGEN_PCI_SUBID(0x1043, 0x838e) },
 	{ OXYGEN_PCI_SUBID(0x1043, 0x8522) },
+	{ OXYGEN_PCI_SUBID(0x1043, 0x85f4) },
 	{ OXYGEN_PCI_SUBID_BROKEN_EEPROM },
 	{ }
 };
sound/pci/oxygen/xonar_pcm179x.c +10 -2
index c8c7f2c..e026059 100644
@@ -100,8 +100,8 @@
  */
 
 /*
- * Xonar Essence ST (Deluxe)/STX
- * -----------------------------
+ * Xonar Essence ST (Deluxe)/STX (II)
+ * ----------------------------------
  *
  * CMI8788:
  *
@@ -1138,6 +1138,14 @@ int get_xonar_pcm179x_model(struct oxygen *chip,
 		chip->model.resume = xonar_stx_resume;
 		chip->model.set_dac_params = set_pcm1796_params;
 		break;
+	case 0x85f4:
+		chip->model = model_xonar_st;
+		/* TODO: daughterboard support */
+		chip->model.shortname = "Xonar STX II";
+		chip->model.init = xonar_stx_init;
+		chip->model.resume = xonar_stx_resume;
+		chip->model.set_dac_params = set_pcm1796_params;
+		break;
 	default:
 		return -EINVAL;
 	}
Applied
#6 lore raw

Re: [PATCH] ALSA: virtuoso: add Xonar Essence STX II support

At Mon, 04 Aug 2014 15:17:55 +0200,

Quoted 8 lines · Clemens Ladisch

Just add the PCI ID for the STX II. It appears to work the same as the STX, except for the addition of the not-yet-supported daughterboard.

Applied, thanks.

Takashi

Quoted 80 lines
---
 Documentation/sound/alsa/ALSA-Configuration.txt |    4 ++--
 sound/pci/Kconfig                               |    4 ++--
 sound/pci/oxygen/virtuoso.c                     |    1 +
 sound/pci/oxygen/xonar_pcm179x.c                |   12 ++++++++++--
 4 files changed, 15 insertions(+), 6 deletions(-)
Documentation/sound/alsa/ALSA-Configuration.txt +2 -2
index 7ccf933..48148d6 100644
@@ -2026,8 +2026,8 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
   -------------------
 
     Module for sound cards based on the Asus AV66/AV100/AV200 chips,
-    i.e., Xonar D1, DX, D2, D2X, DS, Essence ST (Deluxe), Essence STX,
-    HDAV1.3 (Deluxe), and HDAV1.3 Slim.
+    i.e., Xonar D1, DX, D2, D2X, DS, DSX, Essence ST (Deluxe),
+    Essence STX (II), HDAV1.3 (Deluxe), and HDAV1.3 Slim.
 
     This module supports autoprobe and multiple cards.
 
sound/pci/Kconfig +2 -2
index 3a3a3a7..50dd008 100644
@@ -858,8 +858,8 @@ config SND_VIRTUOSO
 	select SND_JACK if INPUT=y || INPUT=SND
 	help
 	  Say Y here to include support for sound cards based on the
-	  Asus AV66/AV100/AV200 chips, i.e., Xonar D1, DX, D2, D2X, DS,
-	  Essence ST (Deluxe), and Essence STX.
+	  Asus AV66/AV100/AV200 chips, i.e., Xonar D1, DX, D2, D2X, DS, DSX,
+	  Essence ST (Deluxe), and Essence STX (II).
 	  Support for the HDAV1.3 (Deluxe) and HDAV1.3 Slim is experimental;
 	  for the Xense, missing.
 
sound/pci/oxygen/virtuoso.c +1 -0
index 64b9fda..dbbbacf 100644
@@ -53,6 +53,7 @@ static DEFINE_PCI_DEVICE_TABLE(xonar_ids) = {
 	{ OXYGEN_PCI_SUBID(0x1043, 0x835e) },
 	{ OXYGEN_PCI_SUBID(0x1043, 0x838e) },
 	{ OXYGEN_PCI_SUBID(0x1043, 0x8522) },
+	{ OXYGEN_PCI_SUBID(0x1043, 0x85f4) },
 	{ OXYGEN_PCI_SUBID_BROKEN_EEPROM },
 	{ }
 };
sound/pci/oxygen/xonar_pcm179x.c +10 -2
index c8c7f2c..e026059 100644
@@ -100,8 +100,8 @@
  */
 
 /*
- * Xonar Essence ST (Deluxe)/STX
- * -----------------------------
+ * Xonar Essence ST (Deluxe)/STX (II)
+ * ----------------------------------
  *
  * CMI8788:
  *
@@ -1138,6 +1138,14 @@ int get_xonar_pcm179x_model(struct oxygen *chip,
 		chip->model.resume = xonar_stx_resume;
 		chip->model.set_dac_params = set_pcm1796_params;
 		break;
+	case 0x85f4:
+		chip->model = model_xonar_st;
+		/* TODO: daughterboard support */
+		chip->model.shortname = "Xonar STX II";
+		chip->model.init = xonar_stx_init;
+		chip->model.resume = xonar_stx_resume;
+		chip->model.set_dac_params = set_pcm1796_params;
+		break;
 	default:
 		return -EINVAL;
 	}