public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Greg Fitzgerald <gregf@bigtimegeeks.com>, linux-kernel@vger.kernel.org
Subject: Re: psmouse_proto=exps
Date: Mon, 29 Dec 2003 23:37:56 -0500	[thread overview]
Message-ID: <200312292337.59371.dtor_core@ameritech.net> (raw)
In-Reply-To: <20031230042834.GA32087@evilbint>

On Monday 29 December 2003 11:28 pm, Greg Fitzgerald wrote:
> 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

diff -Nru a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
--- a/drivers/input/mouse/psmouse-base.c	Mon Dec 29 23:20:41 2003
+++ b/drivers/input/mouse/psmouse-base.c	Mon Dec 29 23:20:41 2003
@@ -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 <vojtech@suse.cz>");
 MODULE_DESCRIPTION("PS/2 mouse driver");
 MODULE_LICENSE("GPL");

  reply	other threads:[~2003-12-30  4:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-30  4:28 psmouse_proto=exps Greg Fitzgerald
2003-12-30  4:37 ` Dmitry Torokhov [this message]
2003-12-30 17:20   ` psmouse_proto=exps Greg Fitzgerald

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=200312292337.59371.dtor_core@ameritech.net \
    --to=dtor_core@ameritech.net \
    --cc=gregf@bigtimegeeks.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