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 <s...@mess.org>
---
 utils/keytable/keytable.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/keytable/keytable.c b/utils/keytable/keytable.c
index 202610a..a6ecc9e 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   },
-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to