Re: [Alsa-user] AudioQuest DragonFly v1.0 DAC
On Sat, 2 Aug 2014 23:59:18 -0700 chris hermansen clherman...@gmail.com wrote: Adam, list; On Aug 2, 2014 11:13 PM, Adam Khan trins...@gmail.com wrote: Hello, I'm trying to get an AudioQuest DragonFly v1.0 DAC to work from mplayer2 with ALSA. uname -srv Linux 3.14-2-amd64 #1 SMP Debian 3.14.13-2 (2014-07-24) dmesg after plugging in the device: [85853.148104] usb 4-2: new full-speed USB device number 9 using uhci_hcd [85853.542494] usb 4-2: New USB device found, idVendor=21b4, idProduct=0081 [85853.542505] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [85853.542513] usb 4-2: Product: AudioQuest DragonFly [85853.542519] usb 4-2: Manufacturer: AudioQuest inc. [85853.542525] usb 4-2: SerialNumber: (C) 2011 Wavelength Audio, ltd. [85853.567454] 9:1:1: cannot get freq at ep 0x1 aplay -l card 1: DragonFly [AudioQuest DragonFly], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 Adam, I use the AQ Dragonfly just fine with Ubuntu. It worked in 13.04, 13.10 and 14.04. I use it with Guayadeque, which allows specifying the playback chain to a reasonable degree. I looked a bit into Guayadeque, thanks. I took your other suggestion first and went back to basics with wave and aplay, see results below. The device I connect to is plughw, because as you note the Dragonfly only accepts 24 bit data. I have never tried 96kHz but it works fine at 44.1, 48, 88.2 and 96. I suggest you try the plughw device. Also you might try it with aplay and some wav files before you jump into mplayer. I tested wave files with 'aplay -D plughw:DragonFly file.wav' 44.1 kHz, 16 bit signed LE - broken (silence) 48 kHz, 24 bit signed LE - works 88.2 kHz, 24 bit signed LE - broken (silence and intermittent static) If none of that works for you, I will carefully inspect my configuration so that you can tell what is different. I created the file /etc/modprobe.d/alsa_index.conf and added two lines: options snd-usb-audio index=0 options snd_hda_intel index=1 I can issue aplay file.wav for any file and it works, but the DAC *always* uses 48 kHz, 24 bit regardless of the input format so something is resampling, which I do not want. Good luck! Thank you. Which kernel are you using? I can test with an Ubuntu Live USB instance to see if the DAC behaves any differently. Here is output from lsusb -v (it does list 4 sampling rates): Bus 004 Device 005: ID 21b4:0081 Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x21b4 idProduct 0x0081 bcdDevice1.0c iManufacturer 1 AudioQuest inc. iProduct2 AudioQuest DragonFly iSerial 3 (C) 2011 Wavelength Audio, ltd. bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 131 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 1 Control Device bInterfaceProtocol 0 iInterface 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType36 bDescriptorSubtype 1 (HEADER) bcdADC 1.00 wTotalLength 43 bInCollection 1 baInterfaceNr( 0) 1 AudioControl Interface Descriptor: bLength12 bDescriptorType36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 5 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bNrChannels 2 wChannelConfig 0x0003 Left Front (L) Right Front (R) iChannelNames 0 iTerminal 0 AudioControl Interface Descriptor: bLength13 bDescriptorType36 bDescriptorSubtype 6 (FEATURE_UNIT) bUnitID 7 bSourceID 5 bControlSize2 bmaControls( 0) 0x01 bmaControls( 0) 0x00 Mute Control bmaControls( 1) 0x02 bmaControls( 1) 0x00 Volume Control bmaControls( 2) 0x02 bmaControls( 2) 0x00 Volume Control iFeature0 AudioControl Interface Descriptor:
Re: [Alsa-user] AudioQuest DragonFly v1.0 DAC
Hi Adam and list, On Aug 3, 2014 11:11 PM, Adam Khan trins...@gmail.com wrote: On Sat, 2 Aug 2014 23:59:18 -0700 chris hermansen clherman...@gmail.com wrote: Adam, list; On Aug 2, 2014 11:13 PM, Adam Khan trins...@gmail.com wrote: Hello, I'm trying to get an AudioQuest DragonFly v1.0 DAC to work from mplayer2 with ALSA. uname -srv Linux 3.14-2-amd64 #1 SMP Debian 3.14.13-2 (2014-07-24) dmesg after plugging in the device: [85853.148104] usb 4-2: new full-speed USB device number 9 using uhci_hcd [85853.542494] usb 4-2: New USB device found, idVendor=21b4, idProduct=0081 [85853.542505] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [85853.542513] usb 4-2: Product: AudioQuest DragonFly [85853.542519] usb 4-2: Manufacturer: AudioQuest inc. [85853.542525] usb 4-2: SerialNumber: (C) 2011 Wavelength Audio, ltd. [85853.567454] 9:1:1: cannot get freq at ep 0x1 aplay -l card 1: DragonFly [AudioQuest DragonFly], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 Adam, I use the AQ Dragonfly just fine with Ubuntu. It worked in 13.04, 13.10 and 14.04. I use it with Guayadeque, which allows specifying the playback chain to a reasonable degree. I looked a bit into Guayadeque, thanks. I took your other suggestion first and went back to basics with wave and aplay, see results below. The device I connect to is plughw, because as you note the Dragonfly only accepts 24 bit data. I have never tried 96kHz but it works fine at 44.1, 48, 88.2 and 96. I suggest you try the plughw device. Also you might try it with aplay and some wav files before you jump into mplayer. I tested wave files with 'aplay -D plughw:DragonFly file.wav' 44.1 kHz, 16 bit signed LE - broken (silence) 48 kHz, 24 bit signed LE - works 88.2 kHz, 24 bit signed LE - broken (silence and intermittent static) If none of that works for you, I will carefully inspect my configuration so that you can tell what is different. I created the file /etc/modprobe.d/alsa_index.conf and added two lines: options snd-usb-audio index=0 options snd_hda_intel index=1 I can issue aplay file.wav for any file and it works, but the DAC *always* uses 48 kHz, 24 bit regardless of the input format so something is resampling, which I do not want. Good luck! Thank you. Which kernel are you using? I can test with an Ubuntu Live USB instance to see if the DAC behaves any differently. Here is output from lsusb -v (it does list 4 sampling rates): Bus 004 Device 005: ID 21b4:0081 Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x21b4 idProduct 0x0081 bcdDevice1.0c iManufacturer 1 AudioQuest inc. iProduct2 AudioQuest DragonFly iSerial 3 (C) 2011 Wavelength Audio, ltd. bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 131 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 1 Control Device bInterfaceProtocol 0 iInterface 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType36 bDescriptorSubtype 1 (HEADER) bcdADC 1.00 wTotalLength 43 bInCollection 1 baInterfaceNr( 0) 1 AudioControl Interface Descriptor: bLength12 bDescriptorType36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 5 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bNrChannels 2 wChannelConfig 0x0003 Left Front (L) Right Front (R) iChannelNames 0 iTerminal 0 AudioControl Interface Descriptor: bLength13 bDescriptorType36 bDescriptorSubtype 6 (FEATURE_UNIT) bUnitID 7 bSourceID 5 bControlSize2 bmaControls( 0) 0x01 bmaControls( 0) 0x00 Mute Control bmaControls( 1) 0x02 bmaControls( 1) 0x00
Re: [Alsa-user] [alsa-devel] [PATCH] Asus Essence STX II
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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] [alsa-devel] [PATCH] Asus Essence STX II
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: 50 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 ti...@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. [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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net 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=153845071iu=/4140/ostg.clktrk___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] [alsa-devel] [PATCH] Asus Essence STX II
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 metinbu...@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: 50 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 ti...@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. [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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net 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=153845071iu=/4140/ostg.clktrk___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] [alsa-devel] [PATCH] Asus Essence STX II
Burak METİN wrote: I have 2 CM6571 usb sound cards. And what does this have to do with the Asus Essence STX II? cannot submit urb 0, error -28: not enough bandwidth Use separate USB buses. -- 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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] Alsa simultaneous use of usb-sound card - BW problem
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: 50 BUFFER_SIZE: 4000 BUFFER_BYTES: 4000 TICK_TIME: 0 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 I think it is about the usb driver in alsa, any ideas? -- 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=153845071iu=/4140/ostg.clktrk___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Alsa simultaneous use of usb-sound card - BW problem
On Mon, 2014-08-04 at 17:19 +0300, Burak METİN wrote: any ideas? What should it be good for, to use two unsynchronized audio devices? -- 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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Alsa simultaneous use of usb-sound card - BW problem
It is for sip sessions, is there a way to do this with multiple usb sound cards? On 4 Aug 2014 18:10, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Mon, 2014-08-04 at 17:19 +0300, Burak METİN wrote: any ideas? What should it be good for, to use two unsynchronized audio devices? -- 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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net 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=153845071iu=/4140/ostg.clktrk___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] AudioQuest DragonFly v1.0 DAC
Hi Adam, list, My info way below... On Sun, Aug 3, 2014 at 11:45 PM, chris hermansen clherman...@gmail.com wrote: Hi Adam and list, On Aug 3, 2014 11:11 PM, Adam Khan trins...@gmail.com wrote: On Sat, 2 Aug 2014 23:59:18 -0700 chris hermansen clherman...@gmail.com wrote: Adam, list; On Aug 2, 2014 11:13 PM, Adam Khan trins...@gmail.com wrote: Hello, I'm trying to get an AudioQuest DragonFly v1.0 DAC to work from mplayer2 with ALSA. uname -srv Linux 3.14-2-amd64 #1 SMP Debian 3.14.13-2 (2014-07-24) dmesg after plugging in the device: [85853.148104] usb 4-2: new full-speed USB device number 9 using uhci_hcd [85853.542494] usb 4-2: New USB device found, idVendor=21b4, idProduct=0081 [85853.542505] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [85853.542513] usb 4-2: Product: AudioQuest DragonFly [85853.542519] usb 4-2: Manufacturer: AudioQuest inc. [85853.542525] usb 4-2: SerialNumber: (C) 2011 Wavelength Audio, ltd. [85853.567454] 9:1:1: cannot get freq at ep 0x1 aplay -l card 1: DragonFly [AudioQuest DragonFly], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 Adam, I use the AQ Dragonfly just fine with Ubuntu. It worked in 13.04, 13.10 and 14.04. I use it with Guayadeque, which allows specifying the playback chain to a reasonable degree. I looked a bit into Guayadeque, thanks. I took your other suggestion first and went back to basics with wave and aplay, see results below. The device I connect to is plughw, because as you note the Dragonfly only accepts 24 bit data. I have never tried 96kHz but it works fine at 44.1, 48, 88.2 and 96. I suggest you try the plughw device. Also you might try it with aplay and some wav files before you jump into mplayer. I tested wave files with 'aplay -D plughw:DragonFly file.wav' 44.1 kHz, 16 bit signed LE - broken (silence) 48 kHz, 24 bit signed LE - works 88.2 kHz, 24 bit signed LE - broken (silence and intermittent static) If none of that works for you, I will carefully inspect my configuration so that you can tell what is different. I created the file /etc/modprobe.d/alsa_index.conf and added two lines: options snd-usb-audio index=0 options snd_hda_intel index=1 I can issue aplay file.wav for any file and it works, but the DAC *always* uses 48 kHz, 24 bit regardless of the input format so something is resampling, which I do not want. Good luck! Thank you. Which kernel are you using? I can test with an Ubuntu Live USB instance to see if the DAC behaves any differently. Here is output from lsusb -v (it does list 4 sampling rates): Bus 004 Device 005: ID 21b4:0081 Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x21b4 idProduct 0x0081 bcdDevice1.0c iManufacturer 1 AudioQuest inc. iProduct2 AudioQuest DragonFly iSerial 3 (C) 2011 Wavelength Audio, ltd. bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 131 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 1 Control Device bInterfaceProtocol 0 iInterface 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType36 bDescriptorSubtype 1 (HEADER) bcdADC 1.00 wTotalLength 43 bInCollection 1 baInterfaceNr( 0) 1 AudioControl Interface Descriptor: bLength12 bDescriptorType36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 5 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bNrChannels 2 wChannelConfig 0x0003 Left Front (L) Right Front (R) iChannelNames 0 iTerminal 0 AudioControl Interface Descriptor: bLength13 bDescriptorType36 bDescriptorSubtype 6 (FEATURE_UNIT) bUnitID
Re: [Alsa-user] Alsa simultaneous use of usb-sound card - BW problem
On 08/04/2014 05:07 PM, Ralf Mardorf wrote: On Mon, 2014-08-04 at 17:19 +0300, Burak METİN wrote: any ideas? What should it be good for, to use two unsynchronized audio devices? For a bit of understanding why Ralf is asking this, you may read the first paragraph: http://www.alsa-project.org/main/index.php/Asoundrc#Virtual_multi_channel_devices Please don't just paste this into your asoundrc. Read it, understand it, and use JACK ;) You may go this route: http://www.penguinproducer.com/Blog/2011/11/using-multiple-devices-with-jack/ I hope, that gives you a starting point. Greetings Markus -- 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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Alsa simultaneous use of usb-sound card - BW problem
On Mon, 2014-08-04 at 18:55 +0300, Burak METİN wrote: It is for sip sessions, is there a way to do this with multiple usb sound cards? I don't know. Perhaps by making both cards one virtual card and using S/PDIF for sync or by using zita-resampler. This class was developed for converting between two nominally fixed sample rates with a ratio which is not known exactly and may even drift slowly, e.g. when combining sound cards wich do not have a common word clock. - http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html -- The natural scientist Fritz Haber, Otto Hahn, James Franck and Gustav Hertz established poison gas for military usage and later they were decorated with the Nobelpreis. -- 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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Alsa simultaneous use of usb-sound card - BW problem
PS: IIRC this year it was discussed at Linux audio user mailing list [1], if it's possible to sync two USB sound devices. My professional PCIe card provides a professional sync option, however, IIRC my prosumer PCI Envy24 cards don't provide a sync option, but AFAIR it's possible to use S/PDIF to sync those cards. [1] http://lists.linuxaudio.org/listinfo/linux-audio-user -- The natural scientists Fritz Haber, Otto Hahn, James Franck and Gustav Hertz established poison gas for military usage and later they were decorated with the Nobelpreis. -- 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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Alsa simultaneous use of usb-sound card - BW problem
No sync is needed, i only want to use 2 usb sound cards at the same time (different streams, eg: 2 terminal open and i want to make arecord -D plughw:1,0 | aplay -D plughw:1,0 for first usb card and arecord -D plughw:2,0 | aplay -D plughw:2,0 for second usb sound card. I dont need to create virtual devices, i only want to use these 2 cards at the same time, When i use these cards with different usb buses, it is ok but i need to use them in same bus. The same bus situation results in a problem about bandwidth,i am surprised at seeing the bandwidth error. -- 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=153845071iu=/4140/ostg.clktrk___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Alsa simultaneous use of usb-sound card - BW problem
On Mon, 2014-08-04 at 19:53 +0300, Burak METİN wrote: When i use these cards with different usb buses, it is ok but i need to use them in same bus. IIRC the plug'n'play audio USB driver is limited to USB1, for USB2 proprietary drivers are needed. But perhaps I'm confusing something. Assumed I shouldn't be mistaken, then perhaps the bandwidth really is to small. -- 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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Alsa simultaneous use of usb-sound card - BW problem
Hi Ralf Mardorf! On 2014.08.04 at 19:05:37 +0200, Ralf Mardorf wrote next: On Mon, 2014-08-04 at 19:53 +0300, Burak METİN wrote: When i use these cards with different usb buses, it is ok but i need to use them in same bus. IIRC the plug'n'play audio USB driver is limited to USB1, for USB2 proprietary drivers are needed. But perhaps I'm confusing something. Assumed I shouldn't be mistaken, then perhaps the bandwidth really is to small. Can't be true.. Here is example of USB 2.0 audio device (bcdUSB: 2.00), completely plug and play: Bus 002 Device 005: ID 20b1:0002 XMOS Ltd Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize064 idVendor 0x20b1 XMOS Ltd idProduct 0x0002 bcdDevice3.30 iManufacturer 1 XMOS iProduct2 XMOS USB Audio 2.0 iSerial 3 bNumConfigurations 2 -- Vladimir -- 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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Alsa simultaneous use of usb-sound card - BW problem
Cmedia 6571 codecs are intel 8051 based codecs and have firmware on them to handle the usb protocol, i have another usb codecs which are plantronics, they have no problem when i use them 8khz and 8 bit, but when i use them as 16 bit and 48khz, the bandwidth problem occurs again. On 4 Aug 2014 22:33, Vladimir Mosgalin mosga...@vm10124.spb.edu wrote: Hi Ralf Mardorf! On 2014.08.04 at 19:05:37 +0200, Ralf Mardorf wrote next: On Mon, 2014-08-04 at 19:53 +0300, Burak METİN wrote: When i use these cards with different usb buses, it is ok but i need to use them in same bus. IIRC the plug'n'play audio USB driver is limited to USB1, for USB2 proprietary drivers are needed. But perhaps I'm confusing something. Assumed I shouldn't be mistaken, then perhaps the bandwidth really is to small. Can't be true.. Here is example of USB 2.0 audio device (bcdUSB: 2.00), completely plug and play: Bus 002 Device 005: ID 20b1:0002 XMOS Ltd Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize064 idVendor 0x20b1 XMOS Ltd idProduct 0x0002 bcdDevice3.30 iManufacturer 1 XMOS iProduct2 XMOS USB Audio 2.0 iSerial 3 bNumConfigurations 2 -- Vladimir -- 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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net 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=153845071iu=/4140/ostg.clktrk___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] Asus xonar DGX card issues
Hi Guys, I'm running an Arch linux system and I'm having some issues with my Asus xonar DGX sound card. Now what is confusing to me is that supposedly according to the ALSA website. The front panel audio for this card (including mic) shouldn't work but the back panel should. However I am experiencing the exact opposite, where my front panel works but not the rear. I currently have a 2.0 system but all the options I get for analog out include 4.0,4.1,5.0,5.1. http://www.alsa-project.org/main/index.php/Matrix:Vendor-Asus is where it says the front panel doesn't work. I tried troubleshooting with a member on the Arch forums which refered me here. The link to that is https://bbs.archlinux.org/viewtopic.php?pid=1442762#p1442762 I would love to know what you guys think! Thanks in advanced. Taylor -- -Taylor G. -- 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=153845071iu=/4140/ostg.clktrk___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Alsa simultaneous use of usb-sound card - BW problem
On Mon, 2014-08-04 at 23:11 +0400, Vladimir Mosgalin wrote: IIRC the plug'n'play audio USB driver is limited to USB1, for USB2 proprietary drivers are needed. But perhaps I'm confusing something. Assumed I shouldn't be mistaken, then perhaps the bandwidth really is to small. Can't be true.. Here is example of USB 2.0 audio device (bcdUSB: 2.00), completely plug and play: Yes, I didn't remember correctly, for example: The UA-55 is not USB-2 class compliant. It needs a dedicated driver and does not [yet?] work with GNU/Linux. see http://wiki.linuxaudio.org/wiki/current_audio_gear#roland_-_quad-capture_ua-55_usb-2; - http://lists.linuxaudio.org/pipermail/linux-audio-user/2012-September/086758.html OTOH USB Compliance USB specification 2.0 full speed-compatible USB audio device class 1.0-compliant - http://www.cmedia.com.tw/ProductsDetail/page-p/C1Serno-53/C2Serno-54/C3Serno-0/PSerno-47.html Perhaps the devices aren't recognised as 2.0 devices. I don't know how much channels duplex for unsynced USB devices do work sharing one USB, USB 1 or 2. An expert should chime in. Does 2.0 full speed-compatible mean USB-2 class compliant or is a special driver needed? -- 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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] [alsa-devel] Alsa simultaneous use of usb-sound card - BW problem
Ralf Mardorf wrote: On Mon, 2014-08-04 at 23:11 +0400, Vladimir Mosgalin wrote: IIRC the plug'n'play audio USB driver is limited to USB1, for USB2 proprietary drivers are needed. Can't be true.. Here is example of USB 2.0 audio device (bcdUSB: 2.00), completely plug and play: Perhaps the devices aren't recognised as 2.0 devices. I don't know how much channels duplex for unsynced USB devices do work sharing one USB, USB 1 or 2. An expert should chime in. Does 2.0 full speed-compatible mean USB-2 class compliant or is a special driver needed? USB 2.0 is not the same as as USB Audio 2. (USB 2.0 adds the high-speed mode, i.e., 480 Mbit/s. USB Audio 2 is a specification that allows conformant drivers and USB 2 devices to work together.) Nowadays, Linux does support USB Audio 2. (As do OS X, and FreeBSD; the only holdout is Windows.) perhaps the bandwidth really is to small. Indeed, that is why the error message says bandwidth. Please note that USB 2.0 *adds* high speed mode, so it is still possible to have devices running at full speed (12 Mbit/s). Bandwidth is measured in time, not bits, so a bit from a full-speed device takes as much bandwidth as 40 bits from a high-speed device. A single stereo full-duplex device can easily max out a full-speed bus. If you want to use two of them, connect them to *different* buses. (Check the output of lsusb -t to see which bus they are connected to.) Regards, Clemens -- 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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Asus xonar DGX card issues
Taylor Goudreau wrote: I'm running an Arch linux system and I'm having some issues with my Asus xonar DGX sound card. Now what is confusing to me is that supposedly according to the ALSA website. The front panel audio for this card (including mic) shouldn't work but the back panel should. However I am experiencing the exact opposite, where my front panel works but not the rear. I currently have a 2.0 system but all the options I get for analog out include 4.0,4.1,5.0,5.1. The driver itself does not have options such as 4.0; this is probably some PulseAudio setting. Anyway, you would not need to select 2.0; the hardware supports stereo output just fine; just play a stereo file. Did you select the correct output in alsamixer? http://www.alsa-project.org/main/index.php/Matrix:Vendor-Asus is where it says the front panel doesn't work. *clickety-click* It doesn't say that. ;-) Regards, Clemens -- 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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] AudioQuest DragonFly v1.0 DAC
My current, broken kernel: uname -srv Linux 3.14-2-amd64 #1 SMP Debian 3.14.13-2 (2014-07-24) Working kernel: uname -a Linux avignon 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux I still have Debian kernels 3.13-1 and 3.12-1 installed so I booted with each of them. 3.13-1 exhibits the same problems as 3.14-2. 3.12-1 works properly! *** tested with aplay: aplay -D plughw:DragonFly file.wav uname -srv Linux 3.12-1-amd64 #1 SMP Debian 3.12.9-1 (2014-02-01) Devices 'iec598:DragonFly' and 'hw:DragonFly' work if the source is 24 bit. I don't know why this is, but I spent a long time trying to figure out what was wrong with my configuration, the kernel, the Alsa driver, etc etc when I finally in desperation plugged the card into one of the other USB ports and POOF all worked fine. So, if you have a different set of USB ports or a different machine to try, you might want to give that a go first. My machine is a Thinkpad X200 with dock. I tested USB ports on both sides of the Thinkpad and the dock ports. Also I tested without any other USB devices present but none of that helped. I just thought of this.. maybe I should test on my monitor's USB hub. I lack the necessary USB A-B cable at the moment. I tested using Foobar on Win7 in my university's library on a Dell machine and the DAC worked properly. I don't have other Linux machines at the moment to test with. Beyond that, I have a completely vanilla configuration (no messing with Alsa configuration files). I continue to let Pulse Audio live on my system, and the default sound card is the Intel stuff delivered with the machine. So all alerts and system audio go through that subsystem, and only Guayadeque uses the Dragonfly. I don't have pulse installed. I did have pulse installed before I got the DAC but I uninstalled it during testing of this issue. I have jack installed but it isn't running. I installed jack during testing of this issue and I learned something about it: jack uses padded s32le for 24 bit devices. If the device doesn't support s32le it falls back to s16le. 'true' 24 bit in jack is currently unavailable: http://linux-audio.com/jack/ jack wouldn't work with the DAC in any configuration except for 96000 kHz 16 bit, which is interesting. I didn't include my jack results earlier because it is seems irrelevant. Also, generally I plug in the Dragonfly after the machine is booted, so all other audio configuration is probably pretty stable and configured by the time that happens. I have tried both methods with the newer kernels but neither works. The working 3.12 kernel is with device plugged in from boot. Let me know if you want me to collect any more data for you from my end. My lsusb -v for DragonFly in Debian kernel 3.12-1 is identical to Ubuntu kernel 3.13.0-32. My lsusb -v for DragonFly in Debian kernel 3.14-2 has different section order and an extra section to Ubuntu 3.13.0-32. Additional section: AudioStreaming Interface Descriptor: bLength20 bDescriptorType36 bDescriptorSubtype 1 (AS_GENERAL) bTerminalLink 5 bDelay 1 frames wFormatTag 1 PCM Where can I view and submit bug reports for snd_usb_audio? I've been trying to figure that out to determine if something is already filed for this but I cannot seem to locate the proper place. I tried to test Ubuntu 14.04.1 but the USB drive didn't boot. I'll try again. Thanks! Adam -- 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=153845071iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] AudioQuest DragonFly v1.0 DAC
Adam, list On Aug 4, 2014 2:42 PM, Adam Khan trins...@gmail.com wrote: My current, broken kernel: uname -srv Linux 3.14-2-amd64 #1 SMP Debian 3.14.13-2 (2014-07-24) Working kernel: uname -a Linux avignon 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux I still have Debian kernels 3.13-1 and 3.12-1 installed so I booted with each of them. 3.13-1 exhibits the same problems as 3.14-2. 3.12-1 works properly! *** OK well this is good news. Earlier you mentioned some error messages in your syslog. Are these absent in 3.12-1? If so, you can probably find the new code in the source tree and see if you can detect what is happening. tested with aplay: aplay -D plughw:DragonFly file.wav uname -srv Linux 3.12-1-amd64 #1 SMP Debian 3.12.9-1 (2014-02-01) Devices 'iec598:DragonFly' and 'hw:DragonFly' work if the source is 24 bit. I don't know why this is, but I spent a long time trying to figure out what was wrong with my configuration, the kernel, the Alsa driver, etc etc when I finally in desperation plugged the card into one of the other USB ports and POOF all worked fine. So, if you have a different set of USB ports or a different machine to try, you might want to give that a go first. My machine is a Thinkpad X200 with dock. I tested USB ports on both sides of the Thinkpad and the dock ports. Also I tested without any other USB devices present but none of that helped. I just thought of this.. maybe I should test on my monitor's USB hub. I lack the necessary USB A-B cable at the moment. I tested using Foobar on Win7 in my university's library on a Dell machine and the DAC worked properly. I don't have other Linux machines at the moment to test with. Beyond that, I have a completely vanilla configuration (no messing with Alsa configuration files). I continue to let Pulse Audio live on my system, and the default sound card is the Intel stuff delivered with the machine. So all alerts and system audio go through that subsystem, and only Guayadeque uses the Dragonfly. I don't have pulse installed. I did have pulse installed before I got the DAC but I uninstalled it during testing of this issue. I have jack installed but it isn't running. I installed jack during testing of this issue and I learned something about it: jack uses padded s32le for 24 bit devices. If the device doesn't support s32le it falls back to s16le. 'true' 24 bit in jack is currently unavailable: http://linux-audio.com/jack/ jack wouldn't work with the DAC in any configuration except for 96000 kHz 16 bit, which is interesting. I didn't include my jack results earlier because it is seems irrelevant. It seems to me worthwhile trying without Jack (though I know nothing about Jack). Also, generally I plug in the Dragonfly after the machine is booted, so all other audio configuration is probably pretty stable and configured by the time that happens. I have tried both methods with the newer kernels but neither works. The working 3.12 kernel is with device plugged in from boot. Let me know if you want me to collect any more data for you from my end. My lsusb -v for DragonFly in Debian kernel 3.12-1 is identical to Ubuntu kernel 3.13.0-32. My lsusb -v for DragonFly in Debian kernel 3.14-2 has different section order and an extra section to Ubuntu 3.13.0-32. Additional section: AudioStreaming Interface Descriptor: bLength20 bDescriptorType36 bDescriptorSubtype 1 (AS_GENERAL) bTerminalLink 5 bDelay 1 frames wFormatTag 1 PCM Where can I view and submit bug reports for snd_usb_audio? Maybe one of the devs on this list can answer this. I believe that snd_USB_audio bugs are filed against the kernel. Certainly the kernel bug tracker has lots of bugs filed under that. I've been trying to figure that out to determine if something is already filed for this but I cannot seem to locate the proper place. I tried to test Ubuntu 14.04.1 but the USB drive didn't boot. I'll try again. I think it's worthwhile to try with a live CD / memory stick version of Ubuntu given that we know it works for me and given the problems you experience above. Given that you have found that 3.12 works and 3.14 doesn't we have to hope that one of the experts on this list can chime in with some better suggestions than mine. -- 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=153845071iu=/4140/ostg.clktrk___ Alsa-user mailing list Alsa-user@lists.sourceforge.net