1. 14 6月, 2019 1 次提交
  2. 31 5月, 2019 1 次提交
  3. 29 5月, 2019 1 次提交
    • H
      ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops · 9cb40eb1
      Hui Wang 提交于
      We met another Acer Aspire laptop which has the problem on the
      headset-mic, the Pin 0x19 is not set the corret configuration for a
      mic and the pin presence can't be detected too after plugging a
      headset. Kailang suggested that we should set the coeff to enable the
      mic and apply the ALC269_FIXUP_LIFEBOOK_EXTMIC. After doing that,
      both headset-mic presence and headset-mic work well.
      
      The existing ALC255_FIXUP_ACER_MIC_NO_PRESENCE set the headset-mic
      jack to be a phantom jack. Now since the jack can support presence
      unsol event, let us imporve it to set the jack to be a normal jack.
      
      https://bugs.launchpad.net/bugs/1821269
      Fixes: 5824ce8d ("ALSA: hda/realtek - Add support for Acer Aspire E5-475 headset mic")
      Cc: Chris Chiu <chiu@endlessm.com>
      CC: Daniel Drake <drake@endlessm.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NKailang Yang <kailang@realtek.com>
      Signed-off-by: NHui Wang <hui.wang@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      9cb40eb1
  4. 24 5月, 2019 1 次提交
  5. 23 5月, 2019 1 次提交
  6. 22 5月, 2019 1 次提交
  7. 14 5月, 2019 1 次提交
  8. 10 5月, 2019 3 次提交
    • J
      ALSA: hda/realtek - Corrected fixup for System76 Gazelle (gaze14) · 891afcf2
      Jeremy Soller 提交于
      A mistake was made in the identification of the four variants of the
      System76 Gazelle (gaze14). This patch corrects the PCI ID of the
      17-inch, GTX 1660 Ti variant from 0x8560 to 0x8551. This patch also
      adds the correct fixups for the 15-inch and 17-inch GTX 1650 variants
      with PCI IDs 0x8560 and 0x8561.
      
      Tests were done on all four variants ensuring full audio capability.
      
      Fixes: 80a5052d ("ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)")
      Signed-off-by: NJeremy Soller <jeremy@system76.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      891afcf2
    • T
      ALSA: hda/realtek - Avoid superfluous COEF EAPD setups · c9af753f
      Takashi Iwai 提交于
      Realtek codec driver applied the COEF setups to change the EAPD
      control to the default mode (i.e. control by EPAD verbs) at the init
      callback.  It works, but this is too excessive at the same time, since
      it's called at each runtime PM resume.  That is, the initialization
      should be done only once after the probe.  One may think that moving
      this to the probe should be OK, but no -- there is a catch; when a
      system resumes from S4 (hibernation), we need to re-initialize this
      again manually, because it's out of regcache restoration.
      
      This patch addresses the issue by introducing alc_pre_init() function
      that performs such a task.  This is called from each codec probe
      function, and it's called from the resume callback conditionally only
      from S4 resume.
      Reported-and-tested-by: NKailang Yang <kailang@realtek.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      c9af753f
    • K
      ALSA: hda/realtek - Fixup headphone noise via runtime suspend · dad3197d
      Kailang Yang 提交于
      Dell platform with ALC298.
      system enter to runtime suspend. Headphone had noise.
      Let Headset Mic not shutup will solve this issue.
      
      [ Fixed minor coding style issues by tiwai ]
      Signed-off-by: NKailang Yang <kailang@realtek.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      dad3197d
  9. 08 5月, 2019 2 次提交
    • K
      ALSA: hda/realtek - Support low power consumption for ALC256 · 6447c962
      Kailang Yang 提交于
      Remove hp_pin = 0 return. Add the default pin 0x21 as headphone.
      Supported low power consumption, it must do depop procedure when
      headset jack was plugged or unplugged.
      So, alc256_init() and alc256_shutup() must run delay when headset jack
      was plugged or unplugged.
      If depop procedure not run with delay, it will have a chance to let
      power consumption raise high.
      
      [ NOTE: this is a quite quite similar change for ALC295 by commit
        d3ba58bb ("ALSA: hda/realtek - Support low power consumption for
        ALC295"), but applied to ALC256 codec instead -- tiwai ]
      
      Fixes: 8983eb60 ("ALSA: hda/realtek - Move to ACT_INIT state")
      Signed-off-by: NKailang Yang <kailang@realtek.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      6447c962
    • J
      ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14) · 80a5052d
      Jeremy Soller 提交于
      On the System76 Gazelle (gaze14), there is a headset microphone input
      attached to 0x1a that does not have a jack detect. In order to get it
      working, the pin configuration needs to be set correctly, and the
      ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC fixup needs to be applied. This is
      identical to the patch already applied for the System76 Darter Pro
      (darp5).
      Signed-off-by: NJeremy Soller <jeremy@system76.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      80a5052d
  10. 07 5月, 2019 1 次提交
    • K
      ALSA: hda/realtek - Support low power consumption for ALC295 · d3ba58bb
      Kailang Yang 提交于
      Enter to close more power control widgets at suspend.
      Remove hp_pin check. Add the default pin 0x21 as headphone.
      Supported low power consumption, it must do depop procedure when
      headset jack was plugged or unplugged.
      So, alc225_init() and alc225_shutup() must run delay when headset
      jack was plugged or unplugged.
      If depop procedure not run with delay, it will have a chance to let
      power consumption raise high.
      
      [ A few compile fixes by tiwai ]
      
      Fixes: 8983eb60 ("ALSA: hda/realtek - Move to ACT_INIT state")
      Signed-off-by: NKailang Yang <kailang@realtek.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d3ba58bb
  11. 30 4月, 2019 1 次提交
  12. 28 4月, 2019 2 次提交
  13. 24 4月, 2019 1 次提交
  14. 17 4月, 2019 1 次提交
  15. 03 4月, 2019 2 次提交
    • R
      ALSA: hda/realtek - Add quirk for Tuxedo XC 1509 · 80690a27
      Richard Sailer 提交于
      This adds a SND_PCI_QUIRK(...) line for the Tuxedo XC 1509.
      
      The Tuxedo XC 1509 and the System76 oryp5 are the same barebone
      notebooks manufactured by Clevo. To name the fixups both use after the
      actual underlying hardware, this patch also changes System76_orpy5
      to clevo_pb51ed in 2 enum symbols and one function name,
      matching the other pci_quirk entries which are also named after the
      device ODM.
      
      Fixes: 7f665b1c ("ALSA: hda/realtek - Headset microphone and internal speaker support for System76 oryp5")
      Signed-off-by: NRichard Sailer <rs@tuxedocomputers.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      80690a27
    • K
      ALSA: hda/realtek - Move to ACT_INIT state · 8983eb60
      Kailang Yang 提交于
      It will be lose Mic JD state when Chrome OS boot and headset was plugged.
      Just Implement of reset combo jack JD verb for ACT_PRE_PROBE state.
      Intel test result was also failed.
      It test passed until changed the initial state to ACT_INIT.
      Mic JD will show every time.
      This patch also changed the model name as 'alc-chrome-book' for
      application of Chrome OS.
      
      Fixes: 10f5b1b8 ("ALSA: hda/realtek - Fixed Headset Mic JD not stable")
      Signed-off-by: NKailang Yang <kailang@realtek.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8983eb60
  16. 02 4月, 2019 1 次提交
  17. 27 3月, 2019 1 次提交
  18. 22 3月, 2019 3 次提交
  19. 21 3月, 2019 3 次提交
  20. 14 3月, 2019 3 次提交
  21. 13 3月, 2019 3 次提交
  22. 21 2月, 2019 1 次提交
  23. 20 2月, 2019 1 次提交
    • T
      ALSA: hda/realtek - Reduce click noise on Dell Precision 5820 headphone · c0ca5ece
      Takashi Iwai 提交于
      Dell Precision 5820 with ALC3234 codec (which is equivalent with
      ALC255) shows click noises at (runtime) PM resume on the headphone.
      The biggest source of the noise comes from the cleared headphone pin
      control at resume, which is done via the standard shutup procedure.
      
      Although we have an override of the standard shutup callback to
      replace with NOP, this would skip other needed stuff (e.g. the pull
      down of headset power).  So, instead, this "fixes" the behavior of
      alc_fixup_no_shutup() by introducing spec->no_shutup_pins flag.
      When this flag is set, Realtek codec won't call the standard
      snd_hda_shutup_pins() & co.  Now alc_fixup_no_shutup() just sets this
      flag instead of overriding spec->shutup callback itself.  This allows
      us to apply the similar fix for other entries easily if needed in
      future.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      c0ca5ece
  24. 14 2月, 2019 2 次提交
    • H
      ALSA: hda/realtek: Disable PC beep in passthrough on alc285 · c8c6ee61
      Hui Wang 提交于
      It is reported that there's a constant background "hum/whitenoise"
      in the headset on the Lenovo X1 machines with the codec alc285, and it
      is confirmed that if we run the command below, the noise will stop.
       sudo hda-verb /dev/snd/hwC0D0 0x1d SET_PIN_WIDGET_CONTROL 0x0
      
      Then I consulted this issue with Kailang, he told me the pin 0x1d on
      this codec is used for PC beep in, the noise probably comes from this
      pin and we can also disable the PC beep in passthrough, then the PC
      beep in will not affect other sound playback.
      
      Fixes: c4cfcf6f ("ALSA: hda/realtek - fix the pop noise on headphone for lenovo laptops")
      Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1660581
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NKailang Yang <kailang@realtek.com>
      Signed-off-by: NHui Wang <hui.wang@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      c8c6ee61
    • J
      ALSA: hda/realtek - Headset microphone and internal speaker support for System76 oryp5 · 7f665b1c
      Jeremy Soller 提交于
      On the System76 Oryx Pro (oryp5), there is a headset microphone input
      attached to 0x19 that does not have a jack detect. In order to get it
      working, the pin configuration needs to be set correctly, and the
      ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC fixup needs to be applied. This is
      similar to the MIC_NO_PRESENCE fixups for some Dell laptops, except we
      have a separate microphone jack that is already configured correctly.
      
      Since the ALC1220 does not have a fixup similar to
      ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC, I have exposed the fixup from the
      ALC269 in a way that it can be accessed from the
      alc1220_fixup_system76_oryp5 function. In addition, the
      alc1220_fixup_clevo_p950 needs to be applied to gain speaker output.
      Signed-off-by: NJeremy Soller <jeremy@system76.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7f665b1c
  25. 01 2月, 2019 2 次提交