cvs commit: src/sys/isa psm.c

Robert Watson rwatson at FreeBSD.org
Sun Apr 4 12:22:16 PDT 2004


On Sun, 4 Apr 2004, Mark Murray wrote:

>   Put a bunch of output that us really only useful in a debug
>   scenario into #ifdef DEBUG. This makes my cluster with Belkin
>   KVM switch completely usable, even if the KVM switch and mouse
>   get a bit confused sometimes.
>   
>   Without this, when the mouse gets confused, all sorts of crud
>   gets spammed all over the screen. With this, the mouse may appear
>   dead for a second or three, but it recovers silently.

Might be useful to have a counter though, exported by a sysctl.  That way
when someone says "My mouse cursor appears to hang for a few seconds every
minute or two), we can say "check this counter and see if it is non-zero",
or worse, rapidly increasing in value.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Senior Research Scientist, McAfee Research




More information about the cvs-src mailing list