From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
To: "H.J. Lu" <hjl@lucon.org>
Cc: "linux kernel" <linux-kernel@vger.kernel.org>
Subject: Re: PATCH: PR Input Devives/2082: PS/2 mouse out of sync after switching with KVM switch
Date: Tue, 30 Oct 2007 12:53:17 -0400 [thread overview]
Message-ID: <d120d5000710300953kd145c7fg53f4fa4d41fbc9c3@mail.gmail.com> (raw)
In-Reply-To: <20071030135304.GA24688@lucon.org>
Hi,
On 10/30/07, H.J. Lu <hjl@lucon.org> wrote:
> The bug report is at
>
> http://bugzilla.kernel.org/show_bug.cgi?id=2082
>
> Problem Description: When switching to another machine with a KVM
> switch and back, the mouse is out of control, with X.Org. To recover,
> I have to unplug the mouse cable and plug it back.
>
> Steps to reproduce: Have a wheel mouse connected and X.Org. Keyboard,
> Mouse and Video are connected to a KVM switch. Switch to another
> machine and back. You have lost the usage of wheel on mouse.
>
> This patch for 2.6.23 tries to reconnect the mouse after KVM switch.
> It doesn't completely solve the problem. Mouse still got a few random
> bytes after KVM switch.
Have you tried psmouse.resync_time=5 option?
Any change you coudl do
echo 1 > /sys/module/i8042/parameters/debug
before switrching KVM back and forth and send me dmesg?
> But it recovers with kernel message:
>
> psmouse.c: Wheel Mouse at isa0060/serio1/input0 lost synchronization, issuing reconnect request.
>
> instead of
>
> psmouse.c: Wheel Mouse at isa0060/serio1/input0 lost synchronization, throwing 3 bytes away.
>
> and never recovering from it.
>
I am hesitant queuing reconnect immediately - if the byte was delayed
because embedded controller was busy doing something else and we start
querying mouse at the wrong time we might lose mouse altogether.
--
Dmitry
next prev parent reply other threads:[~2007-10-30 16:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-30 13:53 H.J. Lu
2007-10-30 16:53 ` Dmitry Torokhov [this message]
2007-10-30 17:25 ` H.J. Lu
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=d120d5000710300953kd145c7fg53f4fa4d41fbc9c3@mail.gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=hjl@lucon.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®