public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] toshiba_acpi: Add Satellite L845 to alternative keymap.
@ 2015-03-04 21:52 Joseph Salisbury
  2015-03-04 21:52 ` [PATCH 2/2] toshiba_acpi: Add Satellite P50W-B to alternative keymap and create new mappings Joseph Salisbury
  0 siblings, 1 reply; 7+ messages in thread
From: Joseph Salisbury @ 2015-03-04 21:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: dvhart, platform-driver-x86, stable

BugLink: http://bugs.launchpad.net/bugs/1428302

The Toshiba Satellite L845 is required in the alternate keymap for all
keys to properly function.  Specifically the KEY_WLAN mapped as 0x158.
Without being in the alternate keymap, the L845 will report 'Unknown key 158'.

Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
Reported-and-tested-by: zcappa@gmail.com
Cc: stable@vger.kernel.org
---
 drivers/platform/x86/toshiba_acpi.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
index dbcb7a8..333aaca 100644
--- a/drivers/platform/x86/toshiba_acpi.c
+++ b/drivers/platform/x86/toshiba_acpi.c
@@ -263,6 +263,12 @@ static const struct dmi_system_id toshiba_alt_keymap_dmi[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "TECRA A50-A"),
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Satellite-L845"),
+		},
+	},
 	{}
 };
 
-- 
2.1.0


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

end of thread, other threads:[~2015-03-05 21:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-04 21:52 [PATCH 1/2] toshiba_acpi: Add Satellite L845 to alternative keymap Joseph Salisbury
2015-03-04 21:52 ` [PATCH 2/2] toshiba_acpi: Add Satellite P50W-B to alternative keymap and create new mappings Joseph Salisbury
2015-03-05  0:05   ` Azael Avalos
2015-03-05 12:57     ` Joseph Salisbury
2015-03-05 20:59     ` Joseph Salisbury
2015-03-05 21:04       ` Azael Avalos
2015-03-05 21:06         ` Joseph Salisbury

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