aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2016-11-29 22:46:12 +0000
committerGregor Jasny <gjasny@googlemail.com>2017-01-16 20:56:31 +0100
commit234743caf3366aef225dd2efd33cf7a2344691e7 (patch)
tree870b965b236b50af0c87a0c09b4cb042c0d64cdc
parent63ad731274b6dc8d5c77d9ada6d2e4b1dcaa7a71 (diff)
ir-keytable: "-p all" or "-p mce-kdb" does not work
When writing to the sysfs protocols file, use the underscore variant. The kernel does not accept "mce-kdb" and it never did. Signed-off-by: Sean Young <sean@mess.org>
-rw-r--r--utils/keytable/keytable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/keytable/keytable.c b/utils/keytable/keytable.c
index 202610a7..a6ecc9e3 100644
--- a/utils/keytable/keytable.c
+++ b/utils/keytable/keytable.c
@@ -131,8 +131,8 @@ const struct protocol_map_entry protocol_map[] = {
{ "sony20", NULL, SYSFS_INVALID },
{ "nec", "/nec_decoder", SYSFS_NEC },
{ "sanyo", NULL, SYSFS_SANYO },
- { "mce-kbd", NULL, SYSFS_MCE_KBD },
{ "mce_kbd", NULL, SYSFS_MCE_KBD },
+ { "mce-kbd", NULL, SYSFS_MCE_KBD },
{ "rc-6", "/rc6_decoder", SYSFS_RC6 },
{ "rc6", NULL, SYSFS_RC6 },
{ "rc-6-0", NULL, SYSFS_INVALID },

Privacy Policy