projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1478d82
)
HID: hid-magicmouse: Increase evdev buffer size
author
Chase Douglas
<
[email protected]
>
Fri, 1 Apr 2011 21:03:39 +0000
(17:03 -0400)
committer
Jiri Kosina
<
[email protected]
>
Wed, 6 Apr 2011 13:17:45 +0000
(06:17 -0700)
The evdev buffer isn't big enough when you get many fingers on the
device. Bump up the buffer to a reasonable size, matching what other
multitouch devices use. Without this change, events may be discarded in
the evdev buffer before they are read.
Reported-by: Simon Budig <
[email protected]
>
Cc: Henrik Rydberg <
[email protected]
>
Cc: Jiri Kosina <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Chase Douglas <
[email protected]
>
Acked-by: Henrik Rydberg <
[email protected]
>
Signed-off-by: Jiri Kosina <
[email protected]
>
drivers/hid/hid-magicmouse.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-magicmouse.c
b/drivers/hid/hid-magicmouse.c
index 318cc40df92d6c8ba4ab39535f9c3e9a793da315..418c399d3ef77421301fd471cb64a20516d7bf6e 100644
(file)
--- a/
drivers/hid/hid-magicmouse.c
+++ b/
drivers/hid/hid-magicmouse.c
@@
-418,6
+418,8
@@
static void magicmouse_setup_input(struct input_dev *input, struct hid_device *h
input_set_abs_params(input, ABS_MT_POSITION_Y, -2456,
2565, 4, 0);
}
+
+ input_set_events_per_packet(input, 60);
}
if (report_undeciphered) {