mbox series

[v2,0/3] Huawei laptops WMI & sound fixes

Message ID 20181102041120.7603-1-ayman.bagabas@gmail.com (mailing list archive)
Headers show
Series Huawei laptops WMI & sound fixes | expand

Message

Ayman Bagabas Nov. 2, 2018, 4:11 a.m. UTC
This patch set fixes some of the issues with Huawei laptops. 

[PATCH v2 1/3] 
The first patch adds support for missing hotkeys on some models. Some hotkeys,
like brightness keys, work out of the box on these models.

[PATCH v2 2/3]
This one enables the front speakers on the Huawei Matebook X Pro (MBXP). This
solves bug 200501 https://bugzilla.kernel.org/show_bug.cgi?id=200501
It simply uses the pins configurations generated by hdajackretast using the
settings posted on the bug page https://imgur.com/a/N1xsCVZ

[PATCH v2 3/3]
This enables the micmute LED on Huawei laptops. It calls an WMI method, using
PATCH #1, to turn the micmute LED on/off.

Ayman Bagabas (3):
  x86: add support for Huawei WMI hotkeys.
  ALSA: hda: fix front speakers on Huawei MBXP.
  ALSA: hda: add support for Huawei WMI MicMute LED

 drivers/platform/x86/Kconfig      |  13 ++
 drivers/platform/x86/Makefile     |   1 +
 drivers/platform/x86/huawei_wmi.c | 224 ++++++++++++++++++++++++++++++
 include/linux/huawei_wmi.h        |   7 +
 sound/pci/hda/huawei_wmi_helper.c |  48 +++++++
 sound/pci/hda/patch_realtek.c     |  28 ++++
 6 files changed, 321 insertions(+)
 create mode 100644 drivers/platform/x86/huawei_wmi.c
 create mode 100644 include/linux/huawei_wmi.h
 create mode 100644 sound/pci/hda/huawei_wmi_helper.c

Comments

Andy Shevchenko Nov. 2, 2018, 6:05 p.m. UTC | #1
On Fri, Nov 2, 2018 at 6:11 AM Ayman Bagabas <ayman.bagabas@gmail.com> wrote:
>
> This patch set fixes some of the issues with Huawei laptops.
>

Thanks for the series, I'll review it later on.

> [PATCH v2 1/3]
> The first patch adds support for missing hotkeys on some models. Some hotkeys,
> like brightness keys, work out of the box on these models.
>
> [PATCH v2 2/3]
> This one enables the front speakers on the Huawei Matebook X Pro (MBXP). This
> solves bug 200501 https://bugzilla.kernel.org/show_bug.cgi?id=200501
> It simply uses the pins configurations generated by hdajackretast using the
> settings posted on the bug page https://imgur.com/a/N1xsCVZ
>
> [PATCH v2 3/3]
> This enables the micmute LED on Huawei laptops. It calls an WMI method, using
> PATCH #1, to turn the micmute LED on/off.
>
> Ayman Bagabas (3):
>   x86: add support for Huawei WMI hotkeys.
>   ALSA: hda: fix front speakers on Huawei MBXP.
>   ALSA: hda: add support for Huawei WMI MicMute LED
>
>  drivers/platform/x86/Kconfig      |  13 ++
>  drivers/platform/x86/Makefile     |   1 +
>  drivers/platform/x86/huawei_wmi.c | 224 ++++++++++++++++++++++++++++++
>  include/linux/huawei_wmi.h        |   7 +
>  sound/pci/hda/huawei_wmi_helper.c |  48 +++++++
>  sound/pci/hda/patch_realtek.c     |  28 ++++
>  6 files changed, 321 insertions(+)
>  create mode 100644 drivers/platform/x86/huawei_wmi.c
>  create mode 100644 include/linux/huawei_wmi.h
>  create mode 100644 sound/pci/hda/huawei_wmi_helper.c
>
> --
> 2.17.2
>