Re: AudioQuest DragonFly v1.0 DAC

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

 



On Sat, 2 Aug 2014 23:59:18 -0700
chris hermansen <clhermansen@xxxxxxxxx> wrote:

> Adam, list;
> 
> On Aug 2, 2014 11:13 PM, "Adam Khan" <trinsnet@xxxxxxxxx> 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:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x21b4 
  idProduct          0x0081 
  bcdDevice            1.0c
  iManufacturer           1 AudioQuest inc.
  iProduct                2 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
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           43
        bInCollection           1
        baInterfaceNr( 0)       1
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        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:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 7
        bSourceID               5
        bControlSize            2
        bmaControls( 0)      0x01
        bmaControls( 0)      0x00
          Mute Control
        bmaControls( 1)      0x02
        bmaControls( 1)      0x00
          Volume Control
        bmaControls( 2)      0x02
        bmaControls( 2)      0x00
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             8
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               7
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                20
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                20
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           3
        bBitResolution         24
        bSamFreqType            4 Discrete
        tSamFreq[ 0]        44100
        tSamFreq[ 1]        48000
        tSamFreq[ 2]        88200
        tSamFreq[ 3]        96000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x024c  1x 588 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress         131
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0003  1x 3 bytes
        bInterval               1
        bRefresh                5
        bSynchAddress           0
Device Status:     0x0001
  Self Powered

------------------------------------------------------------------------------
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