Skip to contentSkip to conversation

psmouse_proto=exps

DISCUSSION Greg Fitzgerald 2 participants 3 messages Dec 30, 2003 Input drivers

lore
Share & tools
lore
#0 lore raw

Hi,

	I am using a Raritan Switchman kvm switch, with a Logitech MX 500 optical mouse. I have tried using 2.6.0, 2.6.0-mm1, 2.6.0-mm2, and 2.6.0-bk1. I can move the mouse around with no problems but when i try to use my scrollwheel instead of scrolling up and down my mouse cursor just moves across the screen. It works perfect in 2.4.23. I been reading the lists and i have tried using psmouse_proto=exps but have had the same results, i even tried the other drivers just to see if that would fix it but i keep coming up with the same results. Anyone have some ideas? Thanks in adavance.

	--Greg
#1 lore raw
Quoted 12 lines · Greg Fitzgerald

Hi,

I am using a Raritan Switchman kvm switch, with a Logitech MX 500
optical mouse. I have tried using 2.6.0, 2.6.0-mm1, 2.6.0-mm2, and 2.6.0-bk1. I can move the mouse around with no problems but when i try to use my scrollwheel instead of scrolling up and down my mouse cursor just moves across the screen. It works perfect in 2.4.23. I been reading the lists and i have tried using psmouse_proto=exps but have had the same results, i even tried the other drivers just to see if that would fix it but i keep coming up with the same results. Anyone have some ideas? Thanks in adavance.

Do you have psmouse as a module or compiled in? If it's compiled in you have to use psmouse.psmouse_proto=exps for the parameter to be recognized or apply the patch below.

Dmitry

drivers/input/mouse/psmouse-base.c +9 -0
diff -Nru a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
@@ -22,6 +22,15 @@
 #include "synaptics.h"
 #include "logips2pp.h"
 
+/*
+ * Reset module param prefix regardless of whether we build psmouse as
+ * a module or directly into kernel, otherwise for build-in case
+ * parameters will have to be specified as psmouse.psmouse_proto which
+ * is unsightly
+ */
+#undef MODULE_PARAM_PREFIX
+#define MODULE_PARAM_PREFIX /* empty */
+
 MODULE_AUTHOR("Vojtech Pavlik <[email protected]>");
 MODULE_DESCRIPTION("PS/2 mouse driver");
 MODULE_LICENSE("GPL");
#2 lore raw

Hey,

Changed my line in grub.conf and now it works perfect. Thanks a lot i been screwing with this for a while now. I guess i overlooked that when i was reading the source for psmouse-base.c. Thanks again!

--Greg