tomcat & mouse problems

Chuck Robey chuckr at telenix.org
Thu Feb 26 09:55:17 PST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gavin Atkinson wrote:
> On Wed, 2009-02-25 at 15:36 -0500, Chuck Robey wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Gavin Atkinson wrote:
>>> On Sun, 22 Feb 2009, Chuck Robey wrote:
>>>> I'm running a machine with plenty of memory, plenty of CPU (quad Intel
>>>> core),
>>>> and using FreeBSD-current.  The mouse is a Logitech USB/wireless
>>>> model.  Any
>>>> guess what might be causing my mouse's jerkiness?
>>> Can you try using SCHED_4BSD rather than SCHED_ULE and see if that makes
>>> a difference?
>>>
>>> Gavin
>> OK, I've been watching it long enough.  Running (now) SCHED_4BDSD seems to make
>> the mouse far more active (as far as the movements of the cursor are concerned),
>> but I still havr great problems in getting mouse clicks taken.  They ARE
>> accepted, but I must lick aboout 4 times to get a single moouse-click accepted.
>>  I'm trying hard to read as much as I can about xorg problems, becauase I don't
>> seem to see this in the mouse usages in the virtual-ttys, only in Xorg.
> 
> Do you by any chance have any processes taking all the CPU?  SCHED_ULE
> doesn't play well for me with processes like the distributed.net client
> or setiathome, as the "only run me when idle" flag these rely on seems
> to be ignored by ULE.

No, I think that I found the remaining problem, and now my mouse is running as
well as it can do, even for mouse clicks.  Apparently, I had the position of my
trackball (I dislike mice) right up next to my keyboard, which applied a small
amount of constant pressure against the ball of the trackball.  When I moved the
trackball so that there was no remaining pressure, everything became perfect.

Summary (after testing) is that moving from SCHED_ULE to SCHED_4BSD is maybe 1/2
of my problem, and moving the trackball fixed all remaining problems.  Thanks
hugely for the help, Gavin.

> 
> Gavin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmm1T8ACgkQz62J6PPcoOlLmQCgjLwrI8j24bZyp1N8M4rZjvvr
LR0AnjWZYhORgZQv9ymIT4fUiVi8e7ge
=BgAF
-----END PGP SIGNATURE-----


More information about the freebsd-current mailing list