OpenCloudOS-Kernel/Documentation/sound
Tomas Espeleta a2ef03fe61 ALSA: hda - Add a quirk model for fixing Huawei Matebook X right speaker
[ 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=197801
Signed-off-by: Tomas Espeleta <tomas.espeleta@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-08-09 16:57:31 +02:00
..
cards ALSA: multisound.sh: update module namespace 2018-06-26 17:45:16 +02:00
designs ALSA: pcm: add a documentation for tracepoints 2017-07-02 11:15:52 +02:00
hd-audio ALSA: hda - Add a quirk model for fixing Huawei Matebook X right speaker 2019-08-09 16:57:31 +02:00
kernel-api ALSA: doc: my_chip has no element ioport 2019-04-03 11:55:47 +02:00
soc ASoC: doc: Fix typos in dpcm.rst 2019-02-08 12:58:31 +00:00
alsa-configuration.rst ALSA: Fix references to Documentation/.*/MultiSound 2018-06-26 17:45:31 +02: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