Commit 151e78a0 authored by Armin Wolf's avatar Armin Wolf Committed by Hans de Goede

platform/x86: wireless-hotkey: Add support for LG Airplane Button

The LGEX0815 ACPI device is used by the "LG Airplane Mode Button"
Windows driver for handling rfkill requests. When the ACPI device
receives an 0x80 ACPI notification, an rfkill event is to be
send to userspace.

Add support for the LGEX0815 ACPI device to the driver.
Tested-by: default avatarAgathe Boutmy <agathe@boutmy.com>
Signed-off-by: default avatarArmin Wolf <W_Armin@gmx.de>
Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240606233540.9774-2-W_Armin@gmx.deReviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent d56fbfba
...@@ -19,6 +19,7 @@ MODULE_AUTHOR("Alex Hung"); ...@@ -19,6 +19,7 @@ MODULE_AUTHOR("Alex Hung");
MODULE_ALIAS("acpi*:HPQ6001:*"); MODULE_ALIAS("acpi*:HPQ6001:*");
MODULE_ALIAS("acpi*:WSTADEF:*"); MODULE_ALIAS("acpi*:WSTADEF:*");
MODULE_ALIAS("acpi*:AMDI0051:*"); MODULE_ALIAS("acpi*:AMDI0051:*");
MODULE_ALIAS("acpi*:LGEX0815:*");
struct wl_button { struct wl_button {
struct input_dev *input_dev; struct input_dev *input_dev;
...@@ -29,6 +30,7 @@ static const struct acpi_device_id wl_ids[] = { ...@@ -29,6 +30,7 @@ static const struct acpi_device_id wl_ids[] = {
{"HPQ6001", 0}, {"HPQ6001", 0},
{"WSTADEF", 0}, {"WSTADEF", 0},
{"AMDI0051", 0}, {"AMDI0051", 0},
{"LGEX0815", 0},
{"", 0}, {"", 0},
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment