1. 25 5月, 2021 1 次提交
  2. 22 5月, 2021 2 次提交
  3. 14 5月, 2021 1 次提交
  4. 11 5月, 2021 1 次提交
  5. 10 5月, 2021 1 次提交
  6. 07 5月, 2021 1 次提交
  7. 04 5月, 2021 3 次提交
  8. 03 5月, 2021 1 次提交
    • S
      ALSA: hda/realtek: ALC285 Thinkpad jack pin quirk is unreachable · 266fd994
      Sami Loone 提交于
      In 9bbb94e5 ("ALSA: hda/realtek: fix static noise on ALC285 Lenovo
      laptops") an existing Lenovo quirk was made more generic by removing a
      0x12 pin requirement from the entry. This made the second chance table
      Thinkpad jack entry unreachable as the pin configurations became
      identical.
      
      Revert the 0x12 pin requirement removal and move Thinkpad jack pin quirk
      back to the primary pin table as they can co-exist when more specific
      configurations come first.
      
      Add a more targeted pin quirk for Lenovo devices that have 0x12 as
      0x40000000.
      
      Tested on Yoga 6 (AMD) laptop.
      
      [ Corrected the commit ID -- tiwai ]
      
      Fixes: 9bbb94e5 ("ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops")
      Signed-off-by: NSami Loone <sami@loone.fi>
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/YI0oefvTYn8URYDb@yogaSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      266fd994
  9. 28 4月, 2021 13 次提交
  10. 26 4月, 2021 1 次提交
  11. 20 4月, 2021 2 次提交
  12. 19 4月, 2021 1 次提交
  13. 16 4月, 2021 3 次提交
  14. 08 4月, 2021 1 次提交
  15. 30 3月, 2021 2 次提交
  16. 22 3月, 2021 2 次提交
    • H
      ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook · e54f30be
      Hui Wang 提交于
      We found the alc_update_headset_mode() is not called on some machines
      when unplugging the headset, as a result, the mode of the
      ALC_HEADSET_MODE_UNPLUGGED can't be set, then the current_headset_type
      is not cleared, if users plug a differnt type of headset next time,
      the determine_headset_type() will not be called and the audio jack is
      set to the headset type of previous time.
      
      On the Dell machines which connect the dmic to the PCH, if we open
      the gnome-sound-setting and unplug the headset, this issue will
      happen. Those machines disable the auto-mute by ucm and has no
      internal mic in the input source, so the update_headset_mode() will
      not be called by cap_sync_hook or automute_hook when unplugging, and
      because the gnome-sound-setting is opened, the codec will not enter
      the runtime_suspend state, so the update_headset_mode() will not be
      called by alc_resume when unplugging. In this case the
      hp_automute_hook is called when unplugging, so add
      update_headset_mode() calling to this function.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NHui Wang <hui.wang@canonical.com>
      Link: https://lore.kernel.org/r/20210320091542.6748-2-hui.wang@canonical.comSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      e54f30be
    • H
      ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO · febf2256
      Hui Wang 提交于
      We found a recording issue on a Dell AIO, users plug a headset-mic and
      select headset-mic from UI, but can't record any sound from
      headset-mic. The root cause is the determine_headset_type() returns a
      wrong type, e.g. users plug a ctia type headset, but that function
      returns omtp type.
      
      On this machine, the internal mic is not connected to the codec, the
      "Input Source" is headset mic by default. And when users plug a
      headset, the determine_headset_type() will be called immediately, the
      codec on this AIO is alc274, the delay time for this codec in the
      determine_headset_type() is only 80ms, the delay is too short to
      correctly determine the headset type, the fail rate is nearly 99% when
      users plug the headset with the normal speed.
      
      Other codecs set several hundred ms delay time, so here I change the
      delay time to 850ms for alc2x4 series, after this change, the fail
      rate is zero unless users plug the headset slowly on purpose.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NHui Wang <hui.wang@canonical.com>
      Link: https://lore.kernel.org/r/20210320091542.6748-1-hui.wang@canonical.comSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      febf2256
  17. 16 3月, 2021 4 次提交