mbox series

[v3,0/3] Huawei laptops

Message ID 20181108171701.4444-1-ayman.bagabas@gmail.com (mailing list archive)
Headers show
Series Huawei laptops | expand

Message

Ayman Bagabas Nov. 8, 2018, 5:16 p.m. UTC
Changes from v2:
* Support for Huawei MBX
* Style and formating issues

[PATCH v3 1/3] 
The first patch adds support for missing hotkeys on some models.

[PATCH v3 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 v3 3/3]
This enables the micmute LED on Huawei laptops using ACPI calls.

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                 |  11 +
 drivers/platform/x86/Makefile                |   1 +
 drivers/platform/x86/huawei_wmi.c            | 236 +++++++++++++++++++
 include/linux/platform_data/x86/huawei_wmi.h |   9 +
 sound/pci/hda/huawei_wmi_helper.c            |  47 ++++
 sound/pci/hda/patch_realtek.c                |  29 +++
 6 files changed, 333 insertions(+)
 create mode 100644 drivers/platform/x86/huawei_wmi.c
 create mode 100644 include/linux/platform_data/x86/huawei_wmi.h
 create mode 100644 sound/pci/hda/huawei_wmi_helper.c

Comments

Andy Shevchenko Nov. 8, 2018, 7:59 p.m. UTC | #1
On Thu, Nov 8, 2018 at 7:17 PM Ayman Bagabas <ayman.bagabas@gmail.com> wrote:

Is it supposed to go via PDx86 or ALSA tree?

> Changes from v2:
> * Support for Huawei MBX
> * Style and formating issues
>
> [PATCH v3 1/3]
> The first patch adds support for missing hotkeys on some models.
>
> [PATCH v3 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 v3 3/3]
> This enables the micmute LED on Huawei laptops using ACPI calls.
>
> 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                 |  11 +
>  drivers/platform/x86/Makefile                |   1 +
>  drivers/platform/x86/huawei_wmi.c            | 236 +++++++++++++++++++
>  include/linux/platform_data/x86/huawei_wmi.h |   9 +
>  sound/pci/hda/huawei_wmi_helper.c            |  47 ++++
>  sound/pci/hda/patch_realtek.c                |  29 +++
>  6 files changed, 333 insertions(+)
>  create mode 100644 drivers/platform/x86/huawei_wmi.c
>  create mode 100644 include/linux/platform_data/x86/huawei_wmi.h
>  create mode 100644 sound/pci/hda/huawei_wmi_helper.c
>
> --
> 2.17.2
>
Ayman Bagabas Nov. 9, 2018, 3:38 a.m. UTC | #2
On Thu, 2018-11-08 at 21:59 +0200, Andy Shevchenko wrote:
> On Thu, Nov 8, 2018 at 7:17 PM Ayman Bagabas <ayman.bagabas@gmail.com
> > wrote:
> 
> Is it supposed to go via PDx86 or ALSA tree?

There isn't much of work done on behave of ALSA. So PDx86?

> 
> > Changes from v2:
> > * Support for Huawei MBX
> > * Style and formating issues
> > 
> > [PATCH v3 1/3]
> > The first patch adds support for missing hotkeys on some models.
> > 
> > [PATCH v3 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 v3 3/3]
> > This enables the micmute LED on Huawei laptops using ACPI calls.
> > 
> > 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                 |  11 +
> >  drivers/platform/x86/Makefile                |   1 +
> >  drivers/platform/x86/huawei_wmi.c            | 236
> > +++++++++++++++++++
> >  include/linux/platform_data/x86/huawei_wmi.h |   9 +
> >  sound/pci/hda/huawei_wmi_helper.c            |  47 ++++
> >  sound/pci/hda/patch_realtek.c                |  29 +++
> >  6 files changed, 333 insertions(+)
> >  create mode 100644 drivers/platform/x86/huawei_wmi.c
> >  create mode 100644 include/linux/platform_data/x86/huawei_wmi.h
> >  create mode 100644 sound/pci/hda/huawei_wmi_helper.c
> > 
> > --
> > 2.17.2
> > 
> 
>
Takashi Iwai Nov. 9, 2018, 7:41 a.m. UTC | #3
On Thu, 08 Nov 2018 20:59:45 +0100,
Andy Shevchenko wrote:
> 
> On Thu, Nov 8, 2018 at 7:17 PM Ayman Bagabas <ayman.bagabas@gmail.com> wrote:
> 
> Is it supposed to go via PDx86 or ALSA tree?

I don't mind either way.  The addition in platform is more
significant, so I suppose you can take it more easily.


thanks,

Takashi