public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] toshiba_acpi: Support RFKILL hotkey scancode
@ 2014-01-14 10:06 Unai Uribarri
  2014-01-14 15:54 ` Matthew Garrett
  0 siblings, 1 reply; 3+ messages in thread
From: Unai Uribarri @ 2014-01-14 10:06 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: linux-kernel, platform-driver-x86, Unai Uribarri

This scancode is used in new 2013 models like Satellite P75-A7200.

Signed-off-by: Unai Uribarri <unaiur@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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] toshiba_acpi: Support RFKILL hotkey scancode
  2014-01-14 10:06 [PATCH] toshiba_acpi: Support RFKILL hotkey scancode Unai Uribarri
@ 2014-01-14 15:54 ` Matthew Garrett
  2014-01-15  6:02   ` Unai Uribarri
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Garrett @ 2014-01-14 15:54 UTC (permalink / raw)
  To: unaiur@gmail.com
  Cc: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 511 bytes --]

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.garrett@nebula.com>
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] toshiba_acpi: Support RFKILL hotkey scancode
  2014-01-14 15:54 ` Matthew Garrett
@ 2014-01-15  6:02   ` Unai Uribarri
  0 siblings, 0 replies; 3+ messages in thread
From: Unai Uribarri @ 2014-01-15  6:02 UTC (permalink / raw)
  Cc: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org

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

On Tue, Jan 14, 2014 at 4:54 PM, Matthew Garrett
<matthew.garrett@nebula.com> wrote:
> 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.garrett@nebula.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-15  6:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14 10:06 [PATCH] toshiba_acpi: Support RFKILL hotkey scancode Unai Uribarri
2014-01-14 15:54 ` Matthew Garrett
2014-01-15  6:02   ` Unai Uribarri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox