Commit 68ca243d authored by David S. Miller's avatar David S. Miller
Browse files

[SERMOUSE]: Sun mice speak 5-byte protocol too.

Noticed by Christophe Zimmerman, this explains the slow mouse movement
with 2.6.x kernels.

And checking the 2.4.x drivers/sbus/char/sunmouse.c driver shows we
always used a 5-byte protocol with Sun mice in the past.  I have no
idea how the 3-byte thing got into the 2.6.x driver, but it's surely
Signed-off-by: default avatarDavid S. Miller <>
parent d5784b57
......@@ -95,7 +95,7 @@ static void sermouse_process_msc(struct sermouse *sermouse, signed char data, st
if (++sermouse->count == (5 - ((sermouse->type == SERIO_SUN) << 1)))
if (++sermouse->count == 5)
sermouse->count = 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment