From: Chase Douglas <chase.douglas@canonical.com>
To: Jeffrey Brown <jeffbrown@android.com>
Cc: Jiri Kosina <jkosina@suse.cz>,
Henrik Rydberg <rydberg@euromail.se>,
Simon Budig <simon@budig.de>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH resend] hid-magicmouse: Increase evdev buffer size
Date: Sat, 02 Apr 2011 12:36:02 -0400 [thread overview]
Message-ID: <4D975072.1040507@canonical.com> (raw)
In-Reply-To: <AANLkTim-tN=siA8tJVCzNZHs+oM0hN-N8Ckc+9ynnNpb@mail.gmail.com>
On 04/01/2011 07:51 PM, Jeffrey Brown wrote:
> I've got another change in the works that fixes this problem more
> systematically.
That would be great :). I still would like to see this patch added so
it's released with the 2.6.39 kernel and backported to earlier stable
releases. I hope that's not a problem.
Thanks,
-- Chase
> On Fri, Apr 1, 2011 at 2:03 PM, Chase Douglas
> <chase.douglas@canonical.com> wrote:
>> 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 <simon@budig.de>
>> Cc: Henrik Rydberg <rydberg@euromail.se>
>> Cc: Jiri Kosina <jkosina@suse.cz>
>> Cc: stable@kernel.org
>> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
>> ---
>> Forgot to Cc the mailing lists on the first send.
>>
>> drivers/hid/hid-magicmouse.c | 2 ++
>> 1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c
>> index 698e645..404dcbc 100644
>> --- 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) {
>> --
>> 1.7.4.1
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-input" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
next prev parent reply other threads:[~2011-04-02 16:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 21:03 [PATCH resend] hid-magicmouse: Increase evdev buffer size Chase Douglas
2011-04-01 23:51 ` Jeffrey Brown
2011-04-02 16:36 ` Chase Douglas [this message]
2011-04-04 12:20 ` Simon Budig
2011-04-04 12:43 ` Jiri Kosina
2011-04-04 18:13 ` Jeffrey Brown
2011-04-04 18:55 ` Chase Douglas
2011-04-04 21:39 ` Dmitry Torokhov
2011-04-04 21:46 ` Chase Douglas
2011-04-05 19:45 ` Chase Douglas
2011-04-06 13:18 ` Jiri Kosina
2011-04-04 11:50 ` Henrik Rydberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D975072.1040507@canonical.com \
--to=chase.douglas@canonical.com \
--cc=jeffbrown@android.com \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rydberg@euromail.se \
--cc=simon@budig.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox