Sorry, this is the correct patch:
--- a/drivers/input/mouse/psmouse-base.c 2014-07-21 06:04:16.000000000 +0200 +++ b/drivers/input/mouse/psmouse-base.c 2014-08-01 15:15:06.837120339 +0200 @@ -1083,7 +1083,9 @@ * Sunrex K8561 IR Keyboard/Mouse reports 0xff on second and subsequent * ID queries, probably due to a firmware bug. */ - if (ps2_command(ps2dev, NULL, 0xff)) + if (ps2_command(ps2dev, param, PSMOUSE_CMD_RESET_BAT)) + return -1; + if (param[0] != 0xaa && param[1] != 0x00) return -1;
param[0] = 0xa5;
Sorry, this is the correct patch:
--- a/drivers/ input/mouse/ psmouse- base.c 2014-07-21 06:04:16.000000000 +0200 input/mouse/ psmouse- base.c 2014-08-01 15:15:06.837120339 +0200 ps2dev, NULL, 0xff)) ps2dev, param, PSMOUSE_ CMD_RESET_ BAT))
return -1;
+++ b/drivers/
@@ -1083,7 +1083,9 @@
* Sunrex K8561 IR Keyboard/Mouse reports 0xff on second and subsequent
* ID queries, probably due to a firmware bug.
*/
- if (ps2_command(
+ if (ps2_command(
+ return -1;
+ if (param[0] != 0xaa && param[1] != 0x00)
param[0] = 0xa5;