From: Dmitry Torokhov <dtor_core@ameritech.net>
To: linux-kernel@vger.kernel.org
Cc: Ari Pollak <ajp@aripollak.com>
Subject: Re: 2.6.6-rc3-mm2 oops in psmouse/serio after resuming from APM suspend-to-ram
Date: Fri, 7 May 2004 17:16:11 -0500 [thread overview]
Message-ID: <200405071716.15523.dtor_core@ameritech.net> (raw)
In-Reply-To: <409BEF21.6040206@aripollak.com>
Hi,
On Friday 07 May 2004 03:18 pm, Ari Pollak wrote:
> On a Thinkpad T41 after going into suspend via APM and then resuming,
> the psmouse driver seems to crash after resetting itself, at which point
> the PS/2 mouse device (obviously) stops responding and I can't unload
> the psmouse module. I don't know if this is a new bug or not, as this is
> the first time I'm trying APM suspend on this laptop. The oops and the
> kernel messages before it:
>
I think this should take care of your oops:
===== drivers/input/mouse/psmouse-base.c 1.57 vs edited =====
--- 1.57/drivers/input/mouse/psmouse-base.c Mon May 3 18:34:11 2004
+++ edited/drivers/input/mouse/psmouse-base.c Fri May 7 17:12:22 2004
@@ -424,17 +424,17 @@
if (set_properties) {
psmouse->vendor = "Synaptics";
psmouse->name = "TouchPad";
- }
- if (max_proto > PSMOUSE_IMEX) {
- if (synaptics_init(psmouse) == 0)
- return PSMOUSE_SYNAPTICS;
+ if (max_proto > PSMOUSE_IMEX) {
+ if (synaptics_init(psmouse) == 0)
+ return PSMOUSE_SYNAPTICS;
/*
* Some Synaptics touchpads can emulate extended protocols (like IMPS/2).
* Unfortunately Logitech/Genius probes confuse some firmware versions so
* we'll have to skip them.
*/
- max_proto = PSMOUSE_IMEX;
+ max_proto = PSMOUSE_IMEX;
+ }
}
/*
* Make sure that touchpad is in relative mode, gestures (taps) are enabled
next prev parent reply other threads:[~2004-05-08 0:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-07 20:18 2.6.6-rc3-mm2 oops in psmouse/serio after resuming from APM suspend-to-ram Ari Pollak
2004-05-07 22:16 ` Dmitry Torokhov [this message]
2004-05-08 18:30 ` Ari Pollak
2004-05-10 5:40 ` Dmitry Torokhov
2004-05-08 21:34 ` Ari Pollak
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=200405071716.15523.dtor_core@ameritech.net \
--to=dtor_core@ameritech.net \
--cc=ajp@aripollak.com \
--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