I have a Toshiba Satellite L845, that suffers the same issue descrived here.
I've tried with the kernels listed here and also the latest Mainline, none
worked.
But I was able to solve it wit this patch:
diff --git a/drivers/platform/x86/toshiba_acpi.c
b/drivers/platform/x86/toshiba_acpi.c
index 76441dc..f3c488a 100644
--- a/drivers/platform/x86/toshiba_acpi.c
+++ b/drivers/platform/x86/toshiba_acpi.c
@@ -222,6 +222,12 @@ static const struct dmi_system_id toshiba_alt_keymap_dmi[]
= {
DMI_MATCH(DMI_PRODUCT_NAME, "Satellite M840"),
},
},
+ {
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Satellite-L845"),
+ },
+ },
{}
};
The patch at #2 converts 158 to hex (0x9e) that's why it didn't work for me.
Also, the alternative mapping already has the code 158 it at line 236:
{ KE_KEY, 0x158, { KEY_WLAN } },
So, only adding the DMI rule in order to use the alt mapping does the
trick (no need for the patch at #2)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1416277
Title:
toshiba_acpi: Unknown key 158
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1416277/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs