Re: [alsa-devel] [PATCH] Asus Essence STX II

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx> 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.
>
>
> [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
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
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
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux