1. 07 6月, 2022 1 次提交
    • T
      ALSA: usb-audio: Set up (implicit) sync for Saffire 6 · e0469d65
      Takashi Iwai 提交于
      Focusrite Saffire 6 has fixed audioformat quirks with multiple
      endpoints assigned to a single altsetting.  Unfortunately the generic
      parser couldn't detect the sync endpoint correctly as the implicit
      sync due to the missing EP attribute bits.  In the former kernels, it
      used to work somehow casually, but it's been broken for a while after
      the large code change in 5.11.
      
      This patch cures the regression by the following:
      - Allow the static quirk table to provide the sync EP information;
        we just need to fill the fields and let the generic parser skipping
        parsing if sync_ep is already set.
      - Add the sync endpoint information to the entry for Saffire 6.
      
      Fixes: 7b0efea4 ("ALSA: usb-audio: Add missing ep_idx in fixed EP quirks")
      Reported-and-tested-by: NAndré Kapelrud <a.kapelrud@gmail.com>
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20220606160910.6926-3-tiwai@suse.deSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      e0469d65
  2. 21 5月, 2022 1 次提交
  3. 16 5月, 2022 1 次提交
  4. 01 2月, 2022 1 次提交
  5. 15 10月, 2021 1 次提交
  6. 13 10月, 2021 1 次提交
  7. 11 10月, 2021 1 次提交
  8. 02 8月, 2021 3 次提交
  9. 10 6月, 2021 1 次提交
  10. 09 4月, 2021 2 次提交
  11. 02 3月, 2021 1 次提交
  12. 03 2月, 2021 1 次提交
  13. 19 1月, 2021 1 次提交
  14. 09 1月, 2021 1 次提交
  15. 30 11月, 2020 1 次提交
  16. 28 11月, 2020 1 次提交
  17. 23 11月, 2020 1 次提交
  18. 26 8月, 2020 1 次提交
  19. 24 8月, 2020 1 次提交
  20. 23 8月, 2020 1 次提交
  21. 20 8月, 2020 3 次提交
  22. 17 8月, 2020 1 次提交
  23. 15 8月, 2020 1 次提交
  24. 10 8月, 2020 2 次提交
  25. 04 8月, 2020 1 次提交
  26. 03 8月, 2020 1 次提交
    • K
      ALSA: usb-audio: Add support for Lenovo ThinkStation P620 · f8c11eb7
      Kai-Heng Feng 提交于
      Lenovo ThinkStation P620 is like other TRX40 boards, is equipped with
      two USB audio cards.
      
      USB device (17aa:104d) provides functionality for Internal Speaker and
      Front Headset. It's UAC v2, so it supports insertion control (jack
      detection). However, when trying to get the connector status of the
      speaker, an error occurs:
      [    5.787405] usb 3-1: cannot get connectors status: req = 0x81, wValue = 0x200, wIndex = 0x1000, type = 0
      
      Since the insertion control works perfectly for the headset, the error
      for speaker is probably casued by connecting internally. So let's relax
      the error for a bit if it's a speaker, and always reports it's connected.
      
      USB device (17aa:1046) is for rear Line-in, Line-out and Microphone.
      The insertion control works for all three jacks. However, there's an
      Function Unit that doesn't work:
      [    5.905415] usb 3-6: cannot get ctl value: req = 0x83, wValue = 0xc00, wIndex = 0x1300, type = 4
      [    5.905418] usb 3-6: 19:0: cannot get min/max values for control 12 (id 19)
      
      So turn off the FU to avoid the error.
      
      Also, add specific card name for both devices, so userspace can easily
      indentify both cards.
      Signed-off-by: NKai-Heng Feng <kai.heng.feng@canonical.com>
      Link: https://lore.kernel.org/r/20200803142612.17156-1-kai.heng.feng@canonical.comSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      f8c11eb7
  27. 15 7月, 2020 1 次提交
  28. 07 7月, 2020 1 次提交
  29. 08 6月, 2020 2 次提交
  30. 02 6月, 2020 1 次提交
  31. 28 5月, 2020 1 次提交
  32. 27 5月, 2020 1 次提交
    • T
      ALSA: usb-audio: Quirks for Gigabyte TRX40 Aorus Master onboard audio · 7f5ad9c9
      Takashi Iwai 提交于
      Gigabyte TRX40 Aorus Master is equipped with two USB-audio devices,
      a Realtek ALC1220-VB codec (USB ID 0414:a001) and an ESS SABRE9218 DAC
      (USB ID 0414:a000).  The latter serves solely for the headphone output
      on the front panel while the former serves for the rest I/Os (mostly
      for the I/Os in the rear panel but also including the front mic).
      
      Both chips do work more or less with the unmodified USB-audio driver,
      but there are a few glitches.  The ALC1220-VB returns an error for an
      inquiry to some jacks, as already seen on other TRX40-based mobos.
      However this machine has a slightly incompatible configuration, hence
      the existing mapping cannot be used as is.
      
      Meanwhile the ESS chip seems working without any quirk.  But since
      both audio devices don't provide any specific names, both cards appear
      as "USB-Audio", and it's quite confusing for users.
      
      This patch is an attempt to overcome those issues:
      
      - The specific mapping table for ALC1220-VB is provided, reducing the
        non-working nodes and renaming the badly chosen controls.
        The connector map isn't needed here unlike other TRX40 quirks.
      
      - For both USB IDs (0414:a000 and 0414:a001), provide specific card
        name strings, so that user-space can identify more easily; and more
        importantly, UCM profile can be applied to each.
      Reported-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20200526082810.29506-1-tiwai@suse.deSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      7f5ad9c9
  33. 04 5月, 2020 1 次提交