Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH] toshiba_acpi: Support RFKILL hotkey scancode

16 views
Skip to first unread message

Unai Uribarri

unread,
Jan 14, 2014, 5:10:02 AM1/14/14
to
This scancode is used in new 2013 models like Satellite P75-A7200.

Signed-off-by: Unai Uribarri <una...@gmail.com>
---
drivers/platform/x86/toshiba_acpi.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
index 7fce391..5d23ca2 100644
--- a/drivers/platform/x86/toshiba_acpi.c
+++ b/drivers/platform/x86/toshiba_acpi.c
@@ -151,6 +151,7 @@ static const struct acpi_device_id toshiba_device_ids[] = {
MODULE_DEVICE_TABLE(acpi, toshiba_device_ids);

static const struct key_entry toshiba_acpi_keymap[] = {
+ { KE_KEY, 0x9e, { KEY_RFKILL } },
{ KE_KEY, 0x101, { KEY_MUTE } },
{ KE_KEY, 0x102, { KEY_ZOOMOUT } },
{ KE_KEY, 0x103, { KEY_ZOOMIN } },
--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Matthew Garrett

unread,
Jan 14, 2014, 11:00:03 AM1/14/14
to
On Tue, 2014-01-14 at 11:06 +0100, Unai Uribarri wrote:
> This scancode is used in new 2013 models like Satellite P75-A7200.

Just to check - this is generated by a key that otherwise does nothing,
right? Ie, hitting the key generates the scancode but doesn't
automatically change the wireless state?

--
Matthew Garrett <matthew...@nebula.com>

Unai Uribarri

unread,
Jan 15, 2014, 1:10:01 AM1/15/14
to
In Windows disables the Wi-Fi & Bluetooth. In Linux does nothing but
showing this error in dmesg about the unrecognized scancode:
[230128.042047] toshiba_acpi: Unknown key 158
0 new messages