From: Ayman Bagabas <ayman.bagabas@gmail.com>
To: Darren Hart <dvhart@infradead.org>,
Andy Shevchenko <andy@infradead.org>,
Ayman Bagabas <ayman.bagabas@gmail.com>,
linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org
Subject: [PATCH v6 0/3] Huawei laptops
Date: Wed, 14 Nov 2018 10:25:55 -0500 [thread overview]
Message-ID: <20181114152602.7842-1-ayman.bagabas@gmail.com> (raw)
Changes from v5:
* Review tags
Changes from v4:
* Consistency in file names
* How module would be enabled (Kconfig)
* Match license in SPDX and MODULE_LICENSE
Changes from v3:
* Code formatting
Changes from v2:
* Support for Huawei MBX
* Style and formatting issues
[PATCH 1/3]
The first patch adds support for missing hotkeys on some models.
[PATCH 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 3/3]
This enables the micmute LED on Huawei laptops with these IDs:
1. Matebook X (19e5:3200)
2. Matebook X (19e5:3201)
3. Matebook X Pro (19e5:3204)
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 | 10 +
drivers/platform/x86/Makefile | 1 +
drivers/platform/x86/huawei-wmi.c | 215 +++++++++++++++++++
include/linux/platform_data/x86/huawei-wmi.h | 9 +
sound/pci/hda/huawei_wmi_helper.c | 47 ++++
sound/pci/hda/patch_realtek.c | 30 +++
6 files changed, 312 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
next reply other threads:[~2018-11-14 15:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-14 15:25 Ayman Bagabas [this message]
2018-11-14 15:25 ` [PATCH v6 1/3] x86: add support for Huawei WMI hotkeys Ayman Bagabas
2018-11-14 15:25 ` [PATCH v6 2/3] ALSA: hda: fix front speakers on Huawei MBXP Ayman Bagabas
2018-11-14 15:25 ` [PATCH v6 3/3] ALSA: hda: add support for Huawei WMI micmute LED Ayman Bagabas
2018-11-14 16:01 ` [PATCH v6 0/3] Huawei laptops Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181114152602.7842-1-ayman.bagabas@gmail.com \
--to=ayman.bagabas@gmail.com \
--cc=andy@infradead.org \
--cc=dvhart@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).