linux-stable/Documentation/sound
Thomas Hebb f47413b98c ALSA: doc: Document PC Beep Hidden Register on Realtek ALC256
commit f128090491 upstream.

This codec (among others) has a hidden set of audio routes, apparently
designed to allow PC Beep output without a mixer widget on the output
path, which are controlled by an undocumented Realtek vendor register.
The default configuration of these routes means that certain inputs
aren't accessible, necessitating driver control of the register.
However, Realtek has provided no documentation of the register, instead
opting to fix issues by providing magic numbers, most of which have been
at least somewhat erroneous. These magic numbers then get copied by
others into model-specific fixups, leading to a fragmented and buggy set
of configurations.

To get out of this situation, I've reverse engineered the register by
flipping bits and observing how the codec's behavior changes. This
commit documents my findings. It does not change any code.

Cc: stable@vger.kernel.org
Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
Link: https://lore.kernel.org/r/bd69dfdeaf40ff31c4b7b797c829bb320031739c.1585584498.git.tommyhebb@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-24 08:00:35 +02:00
..
cards ALSA: doc: ReSTize img,spdif-in.txt 2016-11-10 22:33:31 +01:00
designs ALSA: pcm: add a documentation for tracepoints 2017-07-02 11:15:52 +02:00
hd-audio ALSA: doc: Document PC Beep Hidden Register on Realtek ALC256 2020-04-24 08:00:35 +02:00
kernel-api ALSA: doc: Update copy_user, copy_kernel and fill_silence PCM ops 2017-06-02 19:38:27 +02:00
oss docs: fix locations of several documents that got moved 2016-10-24 08:12:35 -02:00
soc ASoC: dapm: Add new widget type for constructing DAPM graphs on DSPs. 2017-06-30 11:55:20 +01:00
alsa-configuration.rst ALSA: doc: ReSTize ALSA-Configuration document 2016-11-10 18:08:44 +01:00
conf.py docs-rst: add sound book to pdf output 2017-05-16 08:44:07 -03:00
index.rst ASoC: doc: ReSTize overview.txt 2016-11-11 17:32:48 +01:00