lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed,  4 Mar 2015 16:52:33 -0500
From:	Joseph Salisbury <joseph.salisbury@...onical.com>
To:	linux-kernel@...r.kernel.org
Cc:	dvhart@...radead.org, platform-driver-x86@...r.kernel.org,
	stable@...r.kernel.org
Subject: [PATCH 1/2] toshiba_acpi: Add Satellite L845 to alternative keymap.

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@...onical.com>
Reported-and-tested-by: zcappa@...il.com
Cc: stable@...r.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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ