From: Mitch <Mitch@0Bits.COM>
To: dtor_core@ameritech.net, linux-kernel@vger.kernel.org
Subject: Re: [RFT/PATCH] KVMS, mouse losing sync and going crazy
Date: Mon, 09 May 2005 10:57:05 +0400 [thread overview]
Message-ID: <427F09C1.8010703@0Bits.COM> (raw)
Hi Dmitry,
No, no change with the attached patch either. Mouse goes to sleep and
need to be re-enabled constantly.
Cheers
Mitch
-------- Original Message --------
Subject: Re: [RFT/PATCH] KVMS, mouse losing sync and going crazy
Date: Mon, 9 May 2005 01:26:34 -0500
From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Mitch <Mitch@0Bits.COM>
CC: linux-kernel@vger.kernel.org
References: <427EFF3C.1040706@0Bits.COM>
On Monday 09 May 2005 01:12, Mitch wrote:
> Log file as requested...
>
*sign* ALPS decided to return bare PS/2 packet instead of full 6-byte
packet...
Hmm, could you please try the patch below and see if it makes any
difference (although I doubt). I'll probably have to do special case
for ALPS.
--
Dmitry
--- drivers/input/mouse/psmouse-base.c.orig 2005-05-09
01:19:17.000000000 -0500
+++ drivers/input/mouse/psmouse-base.c 2005-05-09 01:20:22.000000000 -0500
@@ -657,7 +657,7 @@
int attempt;
for (attempt = 0; attempt < 5; attempt++) {
- if (!ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_SETSTREAM))
+ if (!ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_ENABLE))
return 0;
msleep(200);
}
@@ -693,7 +693,7 @@
* transmitting motion packet, so we use ps2_sendbyte() instead of
* ps2_command() to avoid delay.
*/
- ps2_sendbyte(&psmouse->ps2dev, PSMOUSE_CMD_SETPOLL, 20);
+ ps2_sendbyte(&psmouse->ps2dev, PSMOUSE_CMD_DISABLE, 20);
ps2_command(&psmouse->ps2dev, psmouse->packet, PSMOUSE_CMD_POLL |
0x0600);
if (psmouse->ps2dev.cmdcnt != 6 - psmouse->pktsize)
next reply other threads:[~2005-05-09 6:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-09 6:57 Mitch [this message]
2005-05-10 4:03 ` ALPS testers wanted (Was Re: [RFT/PATCH] KVMS, mouse losing sync and going crazy) Dmitry Torokhov
-- strict thread matches above, loose matches on Subject: below --
2005-05-09 6:12 [RFT/PATCH] KVMS, mouse losing sync and going crazy Mitch
2005-05-09 6:26 ` Dmitry Torokhov
2005-05-09 5:49 Mitch
2005-05-09 6:02 ` Dmitry Torokhov
2005-05-08 14:15 Mitch
2005-05-08 17:47 ` Dmitry Torokhov
2005-05-08 7:26 Dmitry Torokhov
2005-05-08 23:19 ` zhilla
2005-05-09 5:02 ` Dmitry Torokhov
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=427F09C1.8010703@0Bits.COM \
--to=mitch@0bits.com \
--cc=dtor_core@ameritech.net \
--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
Powered by JetHome