From: Daniel Drake Based on a patch from Castagnola Roberto Firstly, the kernel lists that the device has an EXTRA_BTN - this is not true. This is a simple wheel mouse with an additional task-switcher button. Secondly, the task button is registered as the side button in hardware. This patch allows that button to be used. [akpm@osdl.org: build fix] Signed-off-by: Daniel Drake Cc: Dmitry Torokhov Signed-off-by: Andrew Morton --- drivers/input/mouse/logips2pp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/input/mouse/logips2pp.c~logips2pp-fix-mx300-button-layout drivers/input/mouse/logips2pp.c --- a/drivers/input/mouse/logips2pp.c~logips2pp-fix-mx300-button-layout +++ a/drivers/input/mouse/logips2pp.c @@ -238,8 +238,7 @@ static struct ps2pp_info *get_model_info { 100, PS2PP_KIND_MX, /* MX510 */ PS2PP_WHEEL | PS2PP_SIDE_BTN | PS2PP_TASK_BTN | PS2PP_EXTRA_BTN | PS2PP_NAV_BTN }, - { 111, PS2PP_KIND_MX, /* MX300 */ - PS2PP_WHEEL | PS2PP_EXTRA_BTN | PS2PP_TASK_BTN }, + { 111, PS2PP_KIND_MX, PS2PP_WHEEL|PS2PP_SIDE_BTN }, /* MX300 reports task button as side */ { 112, PS2PP_KIND_MX, /* MX500 */ PS2PP_WHEEL | PS2PP_SIDE_BTN | PS2PP_TASK_BTN | PS2PP_EXTRA_BTN | PS2PP_NAV_BTN }, _