public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] psmouse: fix mouse hotplugging
@ 2004-04-22  7:44 Kim Holviala
  2004-04-22 15:46 ` Horst von Brand
  2004-04-22 15:53 ` Tomasz Torcz
  0 siblings, 2 replies; 8+ messages in thread
From: Kim Holviala @ 2004-04-22  7:44 UTC (permalink / raw)
  To: linux-kernel; +Cc: Dmitry Torokhov, vojtech

Note to myself: make small patches not big confusing ones.

This patch fixes hotplugging of PS/2 devices on hardware which don't
support hotplugging of PS/2 devices. In other words, most desktop machines.
Applies to at least 2.6.5, 2.6.6, 2.6.6-rc2 and 2.6.6-rc2-mm1.



Kim




--- linux-2.6.6-rc2/drivers/input/mouse/psmouse-base.c	2004-04-21 13:35:43.000000000 +0300
+++ linux-2.6.6-rc2-kim/drivers/input/mouse/psmouse-base.c	2004-04-21 13:50:16.753975235 +0300
@@ -470,7 +470,7 @@
  * Then we reset and disable the mouse so that it doesn't generate events.
  */
 
-	if (psmouse_command(psmouse, NULL, PSMOUSE_CMD_RESET_DIS))
+	if (psmouse_reset(psmouse))
 		printk(KERN_WARNING "psmouse.c: Failed to reset mouse on %s\n", psmouse->serio->phys);
 
 /*

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

end of thread, other threads:[~2004-04-22 22:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-22  7:44 [PATCH] psmouse: fix mouse hotplugging Kim Holviala
2004-04-22 15:46 ` Horst von Brand
2004-04-22 16:01   ` Maciej W. Rozycki
2004-04-22 22:04     ` Ian Stirling
2004-04-22 16:18   ` Meelis Roos
2004-04-22 18:08   ` Kim Holviala
2004-04-22 15:53 ` Tomasz Torcz
2004-04-22 18:10   ` Kim Holviala

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