[alsa-devel] [PATCH] 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.
At Sun, 03 Aug 2014 03:45:44 +0200, corubba wrote:
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.
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
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?
On Mon, Aug 4, 2014 at 2:28 PM, Takashi Iwai tiwai@suse.de wrote:
At Sun, 03 Aug 2014 03:45:44 +0200, corubba wrote:
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.
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.cl... _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
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
On Mon, Aug 4, 2014 at 2:43 PM, Burak METİN metinburak@gmail.com wrote:
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?
On Mon, Aug 4, 2014 at 2:28 PM, Takashi Iwai tiwai@suse.de wrote:
At Sun, 03 Aug 2014 03:45:44 +0200, corubba wrote:
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.
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.cl... _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
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.
Tested-by: Mario fugazzi99@gmail.com Tested-by: corubba corubba@gmx.de Cc: stable@vger.kernel.org Signed-off-by: Clemens Ladisch clemens@ladisch.de --- 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(-)
diff --git a/Documentation/sound/alsa/ALSA-Configuration.txt b/Documentation/sound/alsa/ALSA-Configuration.txt index 7ccf933..48148d6 100644 --- a/Documentation/sound/alsa/ALSA-Configuration.txt +++ b/Documentation/sound/alsa/ALSA-Configuration.txt @@ -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.
diff --git a/sound/pci/Kconfig b/sound/pci/Kconfig index 3a3a3a7..50dd008 100644 --- a/sound/pci/Kconfig +++ b/sound/pci/Kconfig @@ -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.
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c index 64b9fda..dbbbacf 100644 --- a/sound/pci/oxygen/virtuoso.c +++ b/sound/pci/oxygen/virtuoso.c @@ -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 }, { } }; diff --git a/sound/pci/oxygen/xonar_pcm179x.c b/sound/pci/oxygen/xonar_pcm179x.c index c8c7f2c..e026059 100644 --- a/sound/pci/oxygen/xonar_pcm179x.c +++ b/sound/pci/oxygen/xonar_pcm179x.c @@ -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; }
At Mon, 04 Aug 2014 15:17:55 +0200, Clemens Ladisch wrote:
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.
Tested-by: Mario fugazzi99@gmail.com Tested-by: corubba corubba@gmx.de Cc: stable@vger.kernel.org Signed-off-by: Clemens Ladisch clemens@ladisch.de
Applied, thanks.
Takashi
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(-)
diff --git a/Documentation/sound/alsa/ALSA-Configuration.txt b/Documentation/sound/alsa/ALSA-Configuration.txt index 7ccf933..48148d6 100644 --- a/Documentation/sound/alsa/ALSA-Configuration.txt +++ b/Documentation/sound/alsa/ALSA-Configuration.txt @@ -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.
diff --git a/sound/pci/Kconfig b/sound/pci/Kconfig index 3a3a3a7..50dd008 100644 --- a/sound/pci/Kconfig +++ b/sound/pci/Kconfig @@ -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,
Support for the HDAV1.3 (Deluxe) and HDAV1.3 Slim is experimental; for the Xense, missing.Essence ST (Deluxe), and Essence STX (II).
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c index 64b9fda..dbbbacf 100644 --- a/sound/pci/oxygen/virtuoso.c +++ b/sound/pci/oxygen/virtuoso.c @@ -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 }, { }
}; diff --git a/sound/pci/oxygen/xonar_pcm179x.c b/sound/pci/oxygen/xonar_pcm179x.c index c8c7f2c..e026059 100644 --- a/sound/pci/oxygen/xonar_pcm179x.c +++ b/sound/pci/oxygen/xonar_pcm179x.c @@ -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;
default: return -EINVAL; }break;
participants (4)
-
Burak METİN
-
Clemens Ladisch
-
corubba
-
Takashi Iwai