1. 17 9月, 2019 1 次提交
  2. 06 9月, 2019 1 次提交
    • S
      Add Acer Aspire Ethos 8951G model quirk · 00066e97
      Sergey Bostandzhyan 提交于
      This notebook has 6 built in speakers for 5.1 surround support, however
      only two got autodetected and have also not been assigned correctly.
      
      This patch enables all speakers and also fixes muting when headphones are
      plugged in.
      
      The speaker layout is as follows:
      
      pin 0x15 Front Left / Front Right
      pin 0x18 Front Center / Subwoofer
      pin 0x1b Rear Left / Rear Right (Surround)
      
      The quirk will be enabled automatically on this hardware, but can also be
      activated manually via the model=aspire-ethos module parameter.
      
      Caveat: pin 0x1b is shared between headphones jack and surround speakers.
      When headphones are plugged in, the surround speakers get muted
      automatically by the hardware, however all other speakers remain
      unmuted. Currently it's not possible to make use of the generic automute
      function in the driver, because such shared pins are not supported.
      
      If we would change the pin settings to identify the pin as headphones,
      the surround channel and thus the ability to select 5.1 profiles would
      get lost.
      
      This quirk solves the above problem by monitoring jack state of 0x1b and
      by connecting/disconnecting all remaining speaker pins when something
      gets plugged in or unplugged from the headphones jack port.
      Signed-off-by: NSergey Bostandzhyan <jin@mediatomb.cc>
      Link: https://lore.kernel.org/r/20190906093343.GA7640@xn--80adja5bqm.suSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      00066e97
  3. 04 9月, 2019 1 次提交
  4. 03 9月, 2019 1 次提交
  5. 02 9月, 2019 1 次提交
  6. 30 8月, 2019 1 次提交
    • T
      ALSA: hda/realtek - Fix overridden device-specific initialization · 89781d08
      Takashi Iwai 提交于
      The recent change to shuffle the codec initialization procedure for
      Realtek via commit 607ca3bd ("ALSA: hda/realtek - EAPD turn on
      later") caused the silent output on some machines.  This change was
      supposed to be safe, but it isn't actually; some devices have quirk
      setups to override the EAPD via COEF or BTL in the additional verb
      table, which is applied at the beginning of snd_hda_gen_init().  And
      this EAPD setup is again overridden in alc_auto_init_amp().
      
      For recovering from the regression, tell snd_hda_gen_init() not to
      apply the verbs there by a new flag, then apply the verbs in
      alc_init().
      
      BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=204727
      Fixes: 607ca3bd ("ALSA: hda/realtek - EAPD turn on later")
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      89781d08
  7. 22 8月, 2019 2 次提交
  8. 16 8月, 2019 2 次提交
  9. 14 8月, 2019 1 次提交
  10. 13 8月, 2019 1 次提交
  11. 09 8月, 2019 1 次提交
    • T
      ALSA: hda - Add a quirk model for fixing Huawei Matebook X right speaker · a2ef03fe
      Tomas Espeleta 提交于
      [ This is rather a revival of the patch Tomas sent in months ago, but
        applying only with the quirk model option -- tiwai ]
      
      Hard coded coefficients to make Huawuei Matebook X right speaker
      work. The Matebook X has a ALC298, please refer to bug 197801 on
      how these numbers were reverse engineered from the Windows driver
      
      The reversed engineered sequence represents a repeating pattern
      of verbs, and the only values that are changing periodically are
      written on indexes 0x23 and 0x25:
      
      0x500, 0x23
      0x400, VALUE1
      0x500, 0x25
      0x400, VALUE2
      
      * skipped reading sequences (0x500 - 0xc00 sequences are ignored)
      * static values from reverse engineering are used
      
      NOTE: since a significant risk is still considered, this is provided
      as an experimental fix that isn't applied as default for now.  For
      enabling the fix, you'll have to choose huawei-mbx-stereo via model
      option of snd-hda-intel module.
      
      If we get feedback from users that this works stably, we may apply it
      per default.
      
      [ Some coding style fixes and replacement with AC_VERB_* by tiwai ]
      
      BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=197801Signed-off-by: NTomas Espeleta <tomas.espeleta@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a2ef03fe
  12. 16 7月, 2019 1 次提交
  13. 15 7月, 2019 1 次提交
  14. 04 7月, 2019 1 次提交
  15. 28 6月, 2019 1 次提交
  16. 25 6月, 2019 1 次提交
    • R
      ALSA: hda/realtek: Add quirks for several Clevo notebook barebones · 503d90b3
      Richard Sailer 提交于
      This adds 4 SND_PCI_QUIRK(...) lines for several barebone models of the ODM
      Clevo. The model names are written in regex syntax to describe/match all clevo
      models that are similar enough and use the same PCI SSID that this fixup works
      for them.
      
      Additionally the lines regarding SSID 0x96e1 and 0x97e1 didn't fix audio for the
      all our Clevo notebooks using these SSIDs (models Clevo P960* and P970*) since
      ALC1220_FIXP_CLEVO_PB51ED_PINS swapped pins that are not necesarry to be
      swapped. This patch initiates ALC1220_FIXUP_CLEVO_P950 instead for these model
      and fixes the audio.
      
      Fixes: 80690a27 ("ALSA: hda/realtek - Add quirk for Tuxedo XC 1509")
      Signed-off-by: NRichard Sailer <rs@tuxedocomputers.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      503d90b3
  17. 14 6月, 2019 1 次提交
  18. 31 5月, 2019 1 次提交
  19. 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
  20. 24 5月, 2019 2 次提交
  21. 23 5月, 2019 1 次提交
  22. 22 5月, 2019 1 次提交
  23. 14 5月, 2019 1 次提交
  24. 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
  25. 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
  26. 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
  27. 30 4月, 2019 1 次提交
  28. 28 4月, 2019 2 次提交
  29. 24 4月, 2019 1 次提交
  30. 17 4月, 2019 1 次提交
  31. 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
  32. 02 4月, 2019 1 次提交