public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ALPS psmouse_reset on reconnect confusing Tecra M2
@ 2005-07-04 21:14 Mike Waychison
  2005-07-04 22:05 ` Dmitry Torokhov
  0 siblings, 1 reply; 11+ messages in thread
From: Mike Waychison @ 2005-07-04 21:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: Dmitry Torokhov, Vojtech Pavlik, Andrew Morton

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I just upgrade my Tecra M2 this weekend to the latest GIT tree and
noticed that my mouse pointer/touchpad is now broken on resume.

Investigating, it appears that mouse device gets confused due to the
introduced psmouse_reset(psmouse) during reconnect:

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f3a5c73d5ecb40909db662c4d2ace497b25c5940

Before resume, this is the output I get:

Jul  3 01:25:11 lapdance kernel: alps.c: E6 report: 00 00 64
Jul  3 01:25:11 lapdance kernel: alps.c: E7 report: 22 02 14
Jul  3 01:25:11 lapdance kernel: alps.c: E6 report: 00 00 64
Jul  3 01:25:11 lapdance kernel: alps.c: E7 report: 22 02 14
Jul  3 01:25:12 lapdance kernel: alps.c: Status: 05 01 0a
Jul  3 01:25:12 lapdance kernel: alps.c: Enabling hardware tapping
Jul  3 01:25:12 lapdance kernel: alps.c: Status: 05 01 0a
Jul  3 01:25:12 lapdance kernel: input: DualPoint Stick on isa0060/serio1
Jul  3 01:25:12 lapdance kernel: input: AlpsPS/2 ALPS DualPoint TouchPad
on isa0060/serio1

If I then suspend and resume:

Jul  3 01:26:13 lapdance kernel: alps.c: E6 report: 00 00 64
Jul  3 01:26:13 lapdance kernel: alps.c: E7 report: 73 02 0a
Jul  3 01:26:14 lapdance kernel: alps.c: E6 report: 00 00 64
Jul  3 01:26:14 lapdance kernel: alps.c: E7 report: 73 02 0a
Jul  3 01:26:14 lapdance kernel: alps.c: Status: 15 01 0a
Jul  3 01:26:14 lapdance kernel: alps.c: Enabling hardware tapping
Jul  3 01:26:14 lapdance kernel: alps.c: Status: 15 01 0a
Jul  3 01:26:14 lapdance kernel: input: PS/2 Mouse on isa0060/serio1
Jul  3 01:26:14 lapdance kernel: input: AlpsPS/2 ALPS GlidePoint on
isa0060/serio1

The pointer is confused, and a hard shutdown and boot is required to
restore it.  A reboot alone won't do the trick.

FWIW, I was using the regular IMPS/2 X mouse driver, though I later
tried using the synaptics X driver and that didn't work either.

Other things I've tried include trying psmouse_reset until it returns
successfully, though sometimes it did, and other times it didn't, even
after 100 retries.  In either case the pointer didn't come back.

Removing the psmouse_reset makes the pointer come back properly 100% of
the time.

Are you sure that the psmouse_reset is really the right thing to do?

(worked fine in 2.6.11-rc2).

Thanks,

Mike Waychison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCyaaadQs4kOxk3/MRAqvBAKCeaYgsMFPrubb+7p8Se/Z6BwEmcwCfXPOB
yVQkUCORLUKyGGO5ttnfjIs=
=B1O/
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-07-10 20:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-04 21:14 ALPS psmouse_reset on reconnect confusing Tecra M2 Mike Waychison
2005-07-04 22:05 ` Dmitry Torokhov
2005-07-05 13:38   ` Mark Lord
2005-07-05 16:40   ` Mike Waychison
2005-07-06  4:53   ` Micheal Marineau
2005-07-10  6:36     ` Dmitry Torokhov
2005-07-10  7:17       ` Micheal Marineau
     [not found]       ` <42D0C356.9070102@engr.orst.edu>
2005-07-10  7:17         ` Micheal Marineau
2005-07-10  8:03       ` Micheal Marineau
2005-07-10 12:21         ` Vojtech Pavlik
2005-07-10 20:06           ` Micheal Marineau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox