1. 18 3月, 2013 2 次提交
    • M
      ALSA: usb-audio: Trust fields given in the quirk · 59ea586f
      Mark Hills 提交于
      The maxpacksize field is given in some quirks, but it gets ignored (in
      favour of wMaxPacketSize from the first endpoint.) This patch favours
      the one in the quirk.
      
      Digidesign Mbox and Mbox 2 are the only affected quirks and the devices
      are assumed to be working without this patch. So for safety against the
      values in the quirk being incorrect, remove them.
      
      The datainterval is also ignored but there are not currently any quirks
      which choose to override this.
      
      Cc: Damien Zammit <damien@zamaudio.com>
      Cc: Chris J Arges <christopherarges@gmail.com>
      Signed-off-by: NMark Hills <mark@xwax.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      59ea586f
    • M
      ALSA: usb-audio: Playback and MIDI support for Novation Twitch DJ controller · 5e212332
      Mark Hills 提交于
      The hardware also has a PCM capture device which is not implemented in
      this patch.
      
      It may be possible to generalise this to Saffire 6 USB support and some
      of the other Focusrite interfaces, but as I don't have access to these
      devices we should wait until capture support is working first.
      
      Capture support is not implemented because the code assumes the endpoint
      to have its own interface (instead, it shares the interface with playback)
      and some thought will be needed to lift this limitation.
      Signed-off-by: NMark Hills <mark@xwax.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      5e212332
  2. 11 2月, 2013 1 次提交
  3. 01 2月, 2013 1 次提交
  4. 14 1月, 2013 1 次提交
    • E
      ALSA: usb-audio: correct M-Audio C400 clock source quirk · 2aad272b
      Eldad Zack 提交于
      Taking another look at the C400 descriptors, I see now that there is
      a clock selector (0x80) for this device.
      Right now, the clock source points to the internal clock (0x81), which
      is also valid. When the external clock source (0x82) is selected in the
      mixer, and the rates mismatch (if it's free-running it is fixed to
      48KHz), xruns will occur.
      
      Set the clock ID to the clock selector unit (0x81), which then
      allows the validation code to function correctly.
      Signed-off-by: NEldad Zack <eldad@fogrefinery.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2aad272b
  5. 04 1月, 2013 1 次提交
  6. 03 1月, 2013 1 次提交
    • A
      ALSA: usb-audio: Add support for Creative BT-D1 via usb sound quirks · 8f7f3ab1
      Alexander Schremmer 提交于
      Support the Creative BT-D1 Bluetooth USB audio device. Before this
      patch, Linux had trouble finding the correct USB descriptors and bailed
      out with these messages:
      
       no or invalid class specific endpoint descriptor
      
      Now it still prints these messages on hotplug:
      
       snd-usb-audio: probe of ...:1.0 failed with error -5
       snd-usb-audio: probe of ...:1.2 failed with error -5
       snd-usb-audio: probe of ...:1.3 failed with error -5
      
      But the device works correctly, including the HID support.
      
      The patch is diff'ed against 3.8-rc1 but should apply to older kernels
      as well.
      Signed-off-by: NAlexander Schremmer <alex@alexanderweb.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8f7f3ab1
  7. 19 12月, 2012 1 次提交
    • D
      ALSA: usb-audio: Support for Digidesign Mbox 2 USB sound card: · cb99864d
      Damien Zammit 提交于
      This patch is the result of a lot of trial and error, since there are no specs
      available for the device.
      
      Full duplex support is provided, i.e. playback and recording in stereo.
      The format is hardcoded at 48000Hz @ 24 bit, which is the maximum that the
      device supports.  Also, MIDI in and MIDI out both work.
      
      Users will notice that the S/PDIF light also flashes when playback or recording
      is active.  I believe this means that S/PDIF input/output is simultaneously
      activated with the analogue i/o during use.
      But this particular functionality remains untested.
      
      Note that this particular version of the patch is so far untested on the
      physical hardware because I have not compiled a full kernel with the changes.
      However, extensive testing has been done by many users of the hardware
      who believe other versions of my patch have worked since circa 2009.
      
      [Modified to make a function static by tiwai]
      Signed-off-by: NDamien Zammit <damien@zamaudio.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      cb99864d
  8. 15 12月, 2012 1 次提交
  9. 29 11月, 2012 1 次提交
  10. 13 11月, 2012 1 次提交
    • M
      ALSA: usb-audio: Add quirk for Focusrite Scarlett 18i6 · 1762a59d
      Martin Schwenke 提交于
      Probing this device currently fails in snd_usb_audio_probe() because
      the call to snd_usb_create_mixer() fails.  This is due to unknown or
      non-standard interface descriptor subtypes in parse_audio_unit():
      
        usbaudio: unit 51: unexpected type 0x09
        snd-usb-audio: probe of 1-8:1.0 failed with error -5
      
      Some people are working around this by recompiling usb-audio with the
      call to snd_usb_create_mixer() commented out.  It would be nice to
      avoid that.
      
      While the best idea would be to look into the mixer creation failure,
      a reasonable short-term solution is to use quirks to only probe the
      trouble-free interfaces.  This allows audio and MIDI interfaces to be
      used without any obvious issues.
      
      Interface 0 is the main one to ignore.  It contains lots of
      control-fu, including the unexpected interface descriptor subtypes.
      Interface 5 is for firmware updates and I'm not sure how to get
      support for this.  Interface 3 is some sort of control interface that
      I don't understand:
      
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        3
            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            9
              bInCollection           1
              baInterfaceNr( 0)       1
      Signed-off-by: NMartin Schwenke <martin@meltin.net>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1762a59d
  11. 23 10月, 2012 1 次提交
  12. 21 10月, 2012 1 次提交
    • P
      ALSA: usb-audio: USB audio quirk for Roland VG-99 advanced mode · 7a75e742
      Pete Leigh 提交于
      Without this quirk the VG-99 will work in standard mode (set under
      USB on System menu page 2) giving 16 bits at 44.1 Khz audio in/out
      but no midi, and is not recognised when set to advanced mode.
      
      After applying this, I can also use the VG-99 in advanced mode: 24
      24 bits audio in/out at 44.1 Khz, and midi in/out. Sysex is so far
      untested.
      
      In standard mode, the device appears with ID 0x00b3, so the
      behaviour isn't affected by this quirk.
      
      Thanks to Clemens Ladisch for simplifying and correcting my initial
      attempt!
      Signed-off-by: NPete Leigh <pete.leigh@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7a75e742
  13. 08 10月, 2012 1 次提交
  14. 03 9月, 2012 1 次提交
  15. 25 6月, 2012 1 次提交
  16. 08 2月, 2012 1 次提交
  17. 11 1月, 2012 1 次提交
  18. 12 12月, 2011 1 次提交
  19. 29 11月, 2011 1 次提交
  20. 16 9月, 2011 1 次提交
  21. 26 8月, 2011 1 次提交
  22. 10 8月, 2011 1 次提交
  23. 05 8月, 2011 1 次提交
  24. 22 7月, 2011 1 次提交
    • D
      ALSA: usb-audio - Add quirk for Roland / BOSS BR-800 · 6a6d822e
      David G Turner 提交于
      Add support for Roland/BOSS BR-800 (0582:011e) to snd-usb-audio driver.
      
      This allows playback and recording, which has been tested and found to
      work. The third interface should be MIDI (MTC/SMPTE?) for DAW interface
      and is set as per ME-25, but this has not been tested. SDHC card access
      is already supported by usb-storage for Backup/Rhythm Editor/Wave
      Convertor mode which should not conflict with this.
      Signed-off-by: NDavid G Turner <dgturner@iee.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      6a6d822e
  25. 25 5月, 2011 1 次提交
  26. 18 5月, 2011 4 次提交
  27. 14 4月, 2011 1 次提交
  28. 24 3月, 2011 2 次提交
  29. 15 2月, 2011 1 次提交
    • D
      ALSA: usb-audio: add support for Native Instruments MK2 devices · 54a8c500
      Daniel Mack 提交于
      The MK2 generation of Native Instruments' sound cards are in fact
      compliant to the USB audio standard of version 2 and other approved USB
      standards. However, they come up as vendor-specific device when first
      connected but can be told to come up with a new set of descriptors
      upon their next enumeration. The interfaces announced by the new
      descriptors will be handled by the kernel's class drivers. This is done
      by issuing a vendor specific device request and sending the device to
      reset.
      
      There are also some vendor-specific USB requests for some mixer elements
      that can't be exported in a standard compliant way. The driver now
      supports them with quirks handling mechanisms.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      54a8c500
  30. 08 2月, 2011 1 次提交
  31. 10 1月, 2011 1 次提交
  32. 23 10月, 2010 1 次提交
  33. 06 10月, 2010 1 次提交
  34. 04 9月, 2010 2 次提交