From: Eric Wong <eric@yhbt.net>
To: Vojtech Pavlik <vojtech@suse.cz>
Cc: 4Front Technologies <dev@opensound.com>,
Martin Josefsson <gandalf@wlug.westbo.se>,
linux-kernel@vger.kernel.org
Subject: Re: mouse driver bug in 2.6.0-test7?
Date: Wed, 15 Oct 2003 00:48:37 +0000 [thread overview]
Message-ID: <20031015004837.GA444@BL4ST> (raw)
In-Reply-To: <20031014201354.GA10458@ucw.cz>
Vojtech Pavlik <vojtech@suse.cz> wrote:
> On Tue, Oct 14, 2003 at 01:04:03PM -0700, 4Front Technologies wrote:
> > I'd recommend that you make the sample rate a module config option so that
> > users may be able to tweak this for their systems.
>
> It already is. Only the code to make it a kernel command line parameter
> (when psmouse is compiled into the kernel) is missing.
I could've sworn I had this in one of the patches I sent you, but
perhaps not.
--- drivers/input/mouse/psmouse-base.c~ 2003-10-13 06:13:52.000000000 +0000
+++ drivers/input/mouse/psmouse-base.c 2003-10-15 00:21:59.000000000 +0000
@@ -651,10 +651,17 @@
return 1;
}
+static int __init psmouse_rate_setup(char *str)
+{
+ get_option(&str, &psmouse_rate);
+ return 1;
+}
+
__setup("psmouse_noext", psmouse_noext_setup);
__setup("psmouse_resolution=", psmouse_resolution_setup);
__setup("psmouse_smartscroll=", psmouse_smartscroll_setup);
__setup("psmouse_resetafter=", psmouse_resetafter_setup);
+__setup("psmouse_rate=", psmouse_rate_setup);
#endif
--
Eric Wong
next prev parent reply other threads:[~2003-10-15 0:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-14 18:04 mouse driver bug in 2.6.0-test7? 4Front Technologies
2003-10-14 19:18 ` Martin Josefsson
2003-10-14 19:38 ` Vojtech Pavlik
2003-10-14 20:04 ` 4Front Technologies
2003-10-14 20:13 ` Vojtech Pavlik
2003-10-14 20:27 ` Martin Josefsson
2003-10-14 20:47 ` Mika Penttilä
2003-10-14 20:59 ` 4Front Technologies
2003-10-15 0:48 ` Eric Wong [this message]
2003-10-15 6:45 ` Vojtech Pavlik
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=20031015004837.GA444@BL4ST \
--to=eric@yhbt.net \
--cc=dev@opensound.com \
--cc=gandalf@wlug.westbo.se \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox