1. 06 8月, 2013 2 次提交
  2. 29 7月, 2013 1 次提交
  3. 10 7月, 2013 1 次提交
    • E
      ALSA: usb-audio: fix regression for fixed stream quirk · 42d4ab83
      Eldad Zack 提交于
      Commit 8f898e92 removed the redundant
      reads of bInterfaceProtocol from the descriptors, but introduced a
      regression to devices with quirks of type QUIRK_AUDIO_FIXED_ENDPOINT,
      since fp->protocol is not set in setup process.
      
      As a consequence, audio streams would not get initialized, as the
      following logs show:
      
      [   48.923043] setting usb interface 3:1
      [   48.923056] Creating new capture data endpoint #81
      [   48.923484] 4:3:1: cannot set freq 48000 to ep 0x81
      
      This patch sets fp->protocol in create_fixed_stream_quirk() and
      resolves the regression.
      Signed-off-by: NEldad Zack <eldad@fogrefinery.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      42d4ab83
  4. 28 6月, 2013 8 次提交
    • P
      ALSA: usb-audio: Add Audio Advantage Micro II · 066624c6
      Przemek Rudy 提交于
      This patch is adding extensive support (beside standard usb audio class)
      for Audio Advantage Micro II usb sound card.
      Features included:
      - Access to AES bits (so now sending the IEC61937 compliant stream is
      possible).
      - Mixer SPDIF control added to turn on/off the optical transmitter.
      Signed-off-by: NPrzemek Rudy <prudy1@o2.pl>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      066624c6
    • C
      ALSA: usb-audio: add quirks for Roland QUAD/OCTO-CAPTURE · b7f33917
      Clemens Ladisch 提交于
      The Roland Quad/Octo-Capture devices use some unknown vendor-specific
      mechanism to switch sample rates (and to manage other controls).  To
      prevent the driver from attempting to use any other than the default
      44.1 kHz sample rate, use quirks to hide the other alternate settings.
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      b7f33917
    • C
      ALSA: usb-audio: claim autodetected PCM interfaces all at once · b1ce7ba6
      Clemens Ladisch 提交于
      snd_card_register() registers all devices newly added since the last
      call.  However, the playback/capture streams are handled as one ALSA
      device, so the second /dev device will not be registered if the PCM
      streams are added in two steps.
      
      QUIRK_AUTODETECT caused the probe callback to be called once for each
      interface, which triggered this problem.  Work around this by handling
      this like the composite quirk, i.e., autodetecting all other interfaces
      that might be used for PCM or MIDI.
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      b1ce7ba6
    • C
      ALSA: usb-audio: remove superfluous Roland quirks · 8e5ced83
      Clemens Ladisch 提交于
      Remove all quirks that are no longer needed now that the generic Roland
      quirks can handle the vendor-specific descriptors correctly.
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      8e5ced83
    • C
    • C
      ALSA: usb-audio: add support for many Roland/Yamaha devices · aafe77cc
      Clemens Ladisch 提交于
      Add quirks to detect the various vendor-specific descriptors used by
      Roland and Yamaha in most of their recent USB audio and MIDI devices.
      
      Together with the previous patch, this should add audio/MIDI support for
      the following USB devices:
      - Edirol motion dive .tokyo performance package
      - Roland MC-808 Synthesizer
      - Roland BK-7m Synthesizer
      - Roland VIMA JM-5/8 Synthesizer
      - Roland SP-555 Sequencer
      - Roland V-Synth GT Synthesizer
      - Roland Music Atelier AT-75/100/300/350C/500/800/900/900C Organ
      - Edirol V-Mixer M-200i/300/380/400/480/R-1000
      - BOSS GT-10B Effects Processor
      - Roland Fantom G6/G7/G8 Keyboard
      - Cakewalk Sonar V-Studio 20/100/700 Audio Interface
      - Roland GW-8 Keyboard
      - Roland AX-Synth Keyboard
      - Roland JUNO-Di/STAGE/Gi Keyboard
      - Roland VB-99 Effects Processor
      - Cakewalk UM-2G MIDI Interface
      - Roland A-500S Keyboard
      - Roland SD-50 Synthesizer
      - Roland OCTAPAD SPD-30 Controller
      - Roland Lucina AX-09 Synthesizer
      - BOSS BR-800 Digital Recorder
      - Roland DUO/TRI-CAPTURE (EX) Audio Interface
      - BOSS RC-300 Loop Station
      - Roland JUPITER-50/80 Keyboard
      - Roland R-26 Recorder
      - Roland SPD-SX Controller
      - BOSS JS-10 Audio Player
      - Roland TD-11/15/30 Drum Module
      - Roland A-49/88 Keyboard
      - Roland INTEGRA-7 Synthesizer
      - Roland R-88 Recorder
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      aafe77cc
    • C
      ALSA: usb-audio: detect implicit feedback on Roland devices · ba7c2be1
      Clemens Ladisch 提交于
      All the Roland/Edirol/BOSS USB audio devices that need implicit feedback
      show this unambiguously in their descriptors, so it might be a good idea
      to let the driver detect this.
      
      This should make playback work correctly (at least with Jack) with the
      following devices:
      - BOSS GT-100
      - BOSS JS-8 Jam Station
      - Edirol M-16DX
      - Roland GAIA SH-01
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      ba7c2be1
    • C
      ALSA: usb-audio: store protocol version in struct audioformat · 8f898e92
      Clemens Ladisch 提交于
      Instead of reading bInterfaceProtocol from the descriptor whenever it's
      needed, store this value in the audioformat structure.  Besides
      simplifying some code, this will allow us to correctly handle vendor-
      specific devices where the descriptors are marked with other values.
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      8f898e92
  5. 24 6月, 2013 1 次提交
  6. 21 6月, 2013 4 次提交
  7. 18 6月, 2013 1 次提交
  8. 17 6月, 2013 3 次提交
  9. 05 6月, 2013 1 次提交
  10. 04 6月, 2013 1 次提交
  11. 03 6月, 2013 1 次提交
  12. 23 5月, 2013 1 次提交
  13. 17 5月, 2013 1 次提交
  14. 30 4月, 2013 1 次提交
  15. 29 4月, 2013 2 次提交
  16. 26 4月, 2013 1 次提交
  17. 25 4月, 2013 5 次提交
  18. 22 4月, 2013 1 次提交
  19. 18 4月, 2013 4 次提交
    • D
      ALSA: snd-usb: add quirks handler for DSD streams · 126825e7
      Daniel Mack 提交于
      Unfortunately, none of the UAC standards provides a way to identify DSD
      (Direct Stream Digital) formats. Hence, this patch adds a quirks
      handler to identify USB interfaces that are capable of handling DSD.
      
      That quirks handler can augment the already parsed formats bit-field,
      by any of the new SNDRV_PCM_FMTBIT_DSD_{U8_U16} and setting the dsd_dop
      flag in the audio format, if the driver should take care for the DOP
      byte stuffing.
      
      The only devices that are known to work with this are the ones with
      a 'Playback Designs' vendor id.
      Signed-off-by: NDaniel Mack <zonque@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      126825e7
    • D
      ALSA: snd-usb: add support for bit-reversed byte formats · 44dcbbb1
      Daniel Mack 提交于
      There is quite some confusion around the bit-ordering in DSD samples,
      and no general agreement that defines whether hardware is supposed to
      expect the oldest sample in the MSB or the LSB of a byte.
      
      ALSA will hence set the rule that on the software API layer, bytes
      always carry the oldest bit in the most significant bit of a byte, and
      the driver has to translate that at runtime in order to match the
      hardware layout.
      
      This patch adds support for this by adding a boolean flag to the
      audio format struct.
      Signed-off-by: NDaniel Mack <zonque@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      44dcbbb1
    • D
      ALSA: snd-usb: add support for DSD DOP stream transport · d24f5061
      Daniel Mack 提交于
      In order to provide a compatibility way for pushing DSD
      samples through ordinary PCM channels, the "DoP open Standard" was
      invented. See http://www.dsd-guide.com for the official document.
      
      The host is required to stuff DSD marker bytes (0x05, 0xfa,
      alternating) in the MSB of 24 bit wide samples on the bus, in addition
      to the 16 bits of actual DSD sample payload.
      
      To support this, the hardware and software stride logic in the driver
      has to be tweaked a bit, as we make the userspace believe we're
      operating on 16 bit samples, while we in fact push one more byte per
      channel down to the hardware.
      
      The DOP runtime information is stored in struct snd_usb_substream, so
      we can keep track of our state across multiple calls to
      prepare_playback_urb_dsd_dop().
      Signed-off-by: NDaniel Mack <zonque@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d24f5061
    • D
      ALSA: snd-usb: use ep->stride from urb callbacks · 8a2a74d2
      Daniel Mack 提交于
      For normal PCM transfer, this change has no effect, as the endpoint's
      stride is always frame_bits/8. For DSD DOP streams, however, which is
      added later, the hardware stride differs from the software stride, and
      the endpoint has the correct information in these cases.
      Signed-off-by: NDaniel Mack <zonque@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8a2a74d2