From: Dmitry Torokhov Date: Sat, 29 Jan 2011 07:33:29 +0000 (-0800) Subject: Input: rc-keymap - return KEY_RESERVED for unknown mappings X-Git-Tag: v2.6.37.1~174 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82e7d9f7c8d548fc1c9c1fb9849b2bc1878f9063;p=pandora-kernel.git Input: rc-keymap - return KEY_RESERVED for unknown mappings commit 54e74b87e2a9941c6fa82189f270b47cceeba714 upstream. Do not respond with -EINVAL to EVIOCGKEYCODE for not-yet-mapped scancodes, but rather return KEY_RESERVED. This fixes breakage with Ubuntu's input-kbd utility that stopped returning full keymaps for remote controls. Tested-by: Mauro Carvalho Chehab Tested-by: Mark Lord Signed-off-by: Dmitry Torokhov Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed