linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Properly fix headphone noise on the XPS 13 and other ALC256 devices
@ 2020-03-30  7:30 Thomas Hebb
  2020-03-30  7:30 ` [PATCH 1/3] ALSA: doc: Document PC Beep Hidden Register on Realtek ALC256 Thomas Hebb
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Thomas Hebb @ 2020-03-30  7:30 UTC (permalink / raw)
  To: alsa-devel, linux-kernel
  Cc: Kailang Yang, Thomas Hebb, Greg Kroah-Hartman, Hui Wang,
	Jaroslav Kysela, Jian-Hong Pan, Jonathan Corbet, Kai-Heng Feng,
	Michał Mirosław, Sergey Bostandzhyan, Takashi Iwai,
	Tomas Espeleta, linux-doc, linux-kernel


The root cause of various pervasive audio problems on the XPS 13
9350/9360, mostly relating to the headphone jack, turns out to be an
undocumented feature of the ALC256 and similar codecs that routes audio
along paths not exposed in the HDA node graph. The best we've had so far
to configure this feature is magic numbers provided by Realtek, none of
which have fully fixed all issues.

This series documents the "PC Beep Hidden Register", which controls the
feature and which I've reverse engineered using black box techniques,
and uses my findings to hopefully fix the headphone issues on my XPS 13
once and for all.


Thomas Hebb (3):
  ALSA: doc: Document PC Beep Hidden Register on Realtek ALC256
  ALSA: hda/realtek - Set principled PC Beep configuration for ALC256
  ALSA: hda/realtek - Remove now-unnecessary XPS 13 headphone noise
    fixups

 Documentation/sound/hd-audio/index.rst        |   1 +
 Documentation/sound/hd-audio/models.rst       |   2 -
 .../sound/hd-audio/realtek-pc-beep.rst        | 129 ++++++++++++++++++
 sound/pci/hda/patch_realtek.c                 |  49 ++-----
 4 files changed, 139 insertions(+), 42 deletions(-)
 create mode 100644 Documentation/sound/hd-audio/realtek-pc-beep.rst

-- 
2.25.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-31 13:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30  7:30 [PATCH 0/3] Properly fix headphone noise on the XPS 13 and other ALC256 devices Thomas Hebb
2020-03-30  7:30 ` [PATCH 1/3] ALSA: doc: Document PC Beep Hidden Register on Realtek ALC256 Thomas Hebb
2020-03-30  7:30 ` [PATCH 2/3] ALSA: hda/realtek - Set principled PC Beep configuration for ALC256 Thomas Hebb
2020-03-30  7:30 ` [PATCH 3/3] ALSA: hda/realtek - Remove now-unnecessary XPS 13 headphone noise fixups Thomas Hebb
2020-03-31 13:11   ` Sasha Levin
2020-03-30  8:02 ` [PATCH 0/3] Properly fix headphone noise on the XPS 13 and other ALC256 devices Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).