All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Waychison <mike@waychison.com>
To: linux-kernel@vger.kernel.org
Cc: Dmitry Torokhov <dtor@mail.ru>, Vojtech Pavlik <vojtech@suse.cz>,
	Andrew Morton <akpm@osdl.org>
Subject: ALPS psmouse_reset on reconnect confusing Tecra M2
Date: Mon, 04 Jul 2005 17:14:02 -0400	[thread overview]
Message-ID: <42C9A69A.5050905@waychison.com> (raw)

-----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-----

             reply	other threads:[~2005-07-04 21:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-04 21:14 Mike Waychison [this message]
2005-07-04 22:05 ` ALPS psmouse_reset on reconnect confusing Tecra M2 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

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=42C9A69A.5050905@waychison.com \
    --to=mike@waychison.com \
    --cc=akpm@osdl.org \
    --cc=dtor@mail.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vojtech@suse.cz \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.