* Re: PS/2 Slowness w/ 2.6.0-test9-bk2 [not found] <fa.k5maq39.1h6g0b7@ifi.uio.no> @ 2003-10-29 0:48 ` walt 2003-10-29 1:48 ` [PATCH] " Ramón Rey Vicente 0 siblings, 1 reply; 4+ messages in thread From: walt @ 2003-10-29 0:48 UTC (permalink / raw) To: Shawn Starr; +Cc: linux-kernel Shawn Starr wrote: > Apon trying the latest -bk, I've noticed changes in how the kernel > determines mouse rate. > > Although this was easy to fix with gpm, XFree86-HEAD does not seem to > honor any manual overriding of the mouse rate. Even when setting the rate > to 60 this did not work. > > After reverting the psmouse-base.c changes XFree86 behaved like previous. > > I would suggest reverting the patch until this issue is resolved. I don't > know what X is doing to get the mouse rate but it certainly ignored it > when I set psmouse_rate=60 in kernel parameters. Perhaps someone knows > something I'm not doing... I have the same problem, but I find that booting with the psmouse_noext kernel parameter reverses the unwanted behavior. My other 2.6 machine running with a KVM switch is not at all affected by the recent change. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] Re: PS/2 Slowness w/ 2.6.0-test9-bk2 2003-10-29 0:48 ` PS/2 Slowness w/ 2.6.0-test9-bk2 walt @ 2003-10-29 1:48 ` Ramón Rey Vicente 0 siblings, 0 replies; 4+ messages in thread From: Ramón Rey Vicente @ 2003-10-29 1:48 UTC (permalink / raw) To: walt; +Cc: Shawn Starr, linux-kernel [-- Attachment #1.1: Type: text/plain, Size: 515 bytes --] El mié, 29-10-2003 a las 01:48, walt escribió: > I have the same problem, but I find that booting with the psmouse_noext > kernel parameter reverses the unwanted behavior. I've made a patch with a workaround, a new MOUSE_PS2_FORCE_RATE option :). I hope this help somebody while Linus/someone find the perfect solution -- Ramón Rey Vicente <ramon dot rey at hispalinux dot es> jabber ID <rreylinux at jabber dot org> GPG public key ID 0xBEBD71D5 -> http://pgp.escomposlinux.org/ [-- Attachment #1.2: mouse_ps2_force_rate.patch --] [-- Type: text/x-patch, Size: 2016 bytes --] Index: Kconfig =================================================================== --- Kconfig (revision 13674) +++ Kconfig (working copy) @@ -28,6 +28,13 @@ To compile this driver as a module, choose M here: the module will be called psmouse. +config MOUSE_PS2_FORCE_RATE + bool "Force rate of PS/2 mouse" + default n + depends on MOUSE_PS2 + ---help--- + Say Y if you experiment slowness problems with your PS/2 mouse. + config MOUSE_PS2_SYNAPTICS bool "Synaptics TouchPad" default n Index: psmouse-base.c =================================================================== --- psmouse-base.c (revision 14241) +++ psmouse-base.c (working copy) @@ -40,7 +40,13 @@ static int psmouse_noext; int psmouse_resolution; + +#ifdef CONFIG_MOUSE_PS2_FORCE_RATE +unsigned int psmouse_rate = 60; +#else unsigned int psmouse_rate; +#endif + int psmouse_smartscroll = PSMOUSE_LOGITECH_SMARTSCROLL; unsigned int psmouse_resetafter; @@ -471,16 +477,23 @@ * We set the mouse report rate. */ +#ifdef CONFIG_MOUSE_PS2_FORCE_RATE + psmouse_set_rate(psmouse); +#else if (psmouse_rate) psmouse_set_rate(psmouse); +#endif /* * We also set the resolution and scaling. */ +#ifdef CONFIG_MOUSE_PS2_FORCE_RATE + psmouse_set_resolution(psmouse); +#else if (psmouse_resolution) psmouse_set_resolution(psmouse); - +#endif psmouse_command(psmouse, NULL, PSMOUSE_CMD_SETSCALE11); /* @@ -654,17 +667,22 @@ return 1; } +#ifndef CONFIG_MOUSE_PS2_FORCE_RATE static int __init psmouse_rate_setup(char *str) { get_option(&str, &psmouse_rate); return 1; } +#endif __setup("psmouse_noext", psmouse_noext_setup); __setup("psmouse_resolution=", psmouse_resolution_setup); __setup("psmouse_smartscroll=", psmouse_smartscroll_setup); __setup("psmouse_resetafter=", psmouse_resetafter_setup); + +#ifndef CONFIG_MOUSE_PS2_FORCE_RATE __setup("psmouse_rate=", psmouse_rate_setup); +#endif #endif [-- Attachment #2: Esta parte del mensaje está firmada digitalmente --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* PS/2 Slowness w/ 2.6.0-test9-bk2 @ 2003-10-28 20:01 Shawn Starr 2003-10-28 20:15 ` Shawn Starr 0 siblings, 1 reply; 4+ messages in thread From: Shawn Starr @ 2003-10-28 20:01 UTC (permalink / raw) To: linux-kernel Apon trying the latest -bk, I've noticed changes in how the kernel determines mouse rate. Although this was easy to fix with gpm, XFree86-HEAD does not seem to honor any manual overriding of the mouse rate. Even when setting the rate to 60 this did not work. After reverting the psmouse-base.c changes XFree86 behaved like previous. I would suggest reverting the patch until this issue is resolved. I don't know what X is doing to get the mouse rate but it certainly ignored it when I set psmouse_rate=60 in kernel parameters. Perhaps someone knows something I'm not doing. This isn't trying to start a flamewar but I'd prefer that these changes were checked beforehand. Thanks, Shawn S. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PS/2 Slowness w/ 2.6.0-test9-bk2 2003-10-28 20:01 Shawn Starr @ 2003-10-28 20:15 ` Shawn Starr 0 siblings, 0 replies; 4+ messages in thread From: Shawn Starr @ 2003-10-28 20:15 UTC (permalink / raw) To: linux-kernel It should be noted that I have a Startech KVM. On Tue, 28 Oct 2003, Shawn Starr wrote: > > Apon trying the latest -bk, I've noticed changes in how the kernel > determines mouse rate. > > Although this was easy to fix with gpm, XFree86-HEAD does not seem to > honor any manual overriding of the mouse rate. Even when setting the rate > to 60 this did not work. > > After reverting the psmouse-base.c changes XFree86 behaved like previous. > > I would suggest reverting the patch until this issue is resolved. I don't > know what X is doing to get the mouse rate but it certainly ignored it > when I set psmouse_rate=60 in kernel parameters. Perhaps someone knows > something I'm not doing. > > This isn't trying to start a flamewar but I'd prefer that these changes > were checked beforehand. > > Thanks, > Shawn S. > > > ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-29 1:49 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <fa.k5maq39.1h6g0b7@ifi.uio.no> 2003-10-29 0:48 ` PS/2 Slowness w/ 2.6.0-test9-bk2 walt 2003-10-29 1:48 ` [PATCH] " Ramón Rey Vicente 2003-10-28 20:01 Shawn Starr 2003-10-28 20:15 ` Shawn Starr
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).