1. 06 11月, 2011 1 次提交
  2. 01 11月, 2011 2 次提交
  3. 13 10月, 2011 3 次提交
  4. 27 9月, 2011 1 次提交
  5. 26 9月, 2011 1 次提交
  6. 23 9月, 2011 2 次提交
    • T
      ALSA: usb-audio - clear chip->probing on error exit · 362e4e49
      Thomas Pfaff 提交于
      The Terratec Aureon 5.1 USB sound card support is broken since kernel
      2.6.39.
      2.6.39 introduced power management support for USB sound cards that added
      a probing flag in struct snd_usb_audio.
      
      During the probe of the card it gives following error message :
      
      usb 7-2: new full speed USB device number 2 using uhci_hcd
      cannot find UAC_HEADER
      snd-usb-audio: probe of 7-2:1.3 failed with error -5
      input: USB Audio as
      /devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.3/input/input6
      generic-usb 0003:0CCD:0028.0001: input: USB HID v1.00 Device [USB Audio]
      on usb-0000:00:1d.1-2/input3
      
      I can not comment about that "cannot find UAC_HEADER" error, but until
      2.6.38 the card worked anyway.
      With 2.6.39 chip->probing remains 1 on error exit, and any later ioctl
      stops in snd_usb_autoresume with -ENODEV.
      Signed-off-by: NThomas Pfaff <tpfaff@gmx.net>
      Cc: <stable@kernel.org> [2.6.39+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      362e4e49
    • A
      49957f39
  7. 16 9月, 2011 1 次提交
  8. 14 9月, 2011 3 次提交
  9. 12 9月, 2011 1 次提交
    • P
      ALSA: usb: refine delay information with USB frame counter · 294c4fb8
      Pierre-Louis Bossart 提交于
      Existing code only updates the audio delay when URBs were
      submitted/retired. This can introduce an uncertainty of 8ms
      on the number of samples played out with the default settings,
      and a lot more when URBs convey more packets to reduce the
      interrupt rate and power consumption.
      
      This patch relies on the USB frame counter to reduce the
      uncertainty to less than 2ms worst-case. The delay information
      essentially becomes independent of the URB size and number of
      packets. This should help applications like PulseAudio which
      require accurate audio timing. Clemens Ladisch reported
      a decrease of mplayer's A-V difference from nrpacks down to at
      most 1ms.
      
      Thanks to Clemens for also pointing out that the implementation
      of frame counters varies between different HCDs. Only the
      8 lowest-bits are used to estimate the delay.
      Signed-off-by: NPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      [clemens: changed debug code]
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      294c4fb8
  10. 26 8月, 2011 1 次提交
  11. 20 8月, 2011 1 次提交
  12. 19 8月, 2011 2 次提交
    • T
      ALSA: usb-audio - Check the dB-range validity in the later read, too · 9fcd0ab1
      Takashi Iwai 提交于
      When the initial check of dB-range failed due to the read error, try to
      check again at the later read, too.  When an invalid dB range is found,
      remove TLV flags and notify the mixer info change.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      9fcd0ab1
    • T
      ALSA: usb-audio - Fix missing mixer dB information · 38b65190
      Takashi Iwai 提交于
      The recent fix for testing dB range at the mixer creation time seems
      to cause regressions in some devices.  In such devices, reading the dB
      info at probing time gives an error, thus both dBmin and dBmax are still
      zero, and TLV flag isn't set although the later read of dB info succeeds.
      
      This patch adds a workaround for such a case by assuming that the later
      read will succeed.  In future, a similar test should be performed in a
      case where a wrong dB range is seen even in the later read.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Cc: <stable@kernel.org>
      38b65190
  13. 15 8月, 2011 1 次提交
    • D
      ALSA: snd_usb_caiaq: track submitted output urbs · da6094ea
      Daniel Mack 提交于
      The snd_usb_caiaq driver currently assumes that output urbs are serviced
      in time and doesn't track when and whether they are given back by the
      USB core. That usually works fine, but due to temporary limitations of
      the XHCI stack, we faced that urbs were submitted more than once with
      this approach.
      
      As it's no good practice to fire and forget urbs anyway, this patch
      introduces a proper bit mask to track which requests have been submitted
      and given back.
      
      That alone however doesn't make the driver work in case the host
      controller is broken and doesn't give back urbs at all, and the output
      stream will stop once all pre-allocated output urbs are consumed. But
      it does prevent crashes of the controller stack in such cases.
      
      See http://bugzilla.kernel.org/show_bug.cgi?id=40702 for more details.
      Signed-off-by: NDaniel Mack <zonque@gmail.com>
      Reported-and-tested-by: NMatej Laitl <matej@laitl.cz>
      Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>
      Cc: stable@kernel.org
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      da6094ea
  14. 11 8月, 2011 1 次提交
  15. 10 8月, 2011 1 次提交
  16. 06 8月, 2011 2 次提交
  17. 05 8月, 2011 1 次提交
  18. 04 8月, 2011 3 次提交
  19. 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
  20. 13 7月, 2011 1 次提交
  21. 08 7月, 2011 1 次提交
  22. 17 6月, 2011 2 次提交
  23. 14 6月, 2011 1 次提交
  24. 04 6月, 2011 1 次提交
  25. 03 6月, 2011 1 次提交
  26. 25 5月, 2011 4 次提交