From brian215@netscape.net  Wed Feb 28 14:16:20 2001
Return-Path: <brian215@netscape.net>
Received: from imo-d04.mx.aol.com (imo-d04.mx.aol.com [205.188.157.36])
	by hub.freebsd.org (Postfix) with ESMTP id C26CB37B718
	for <freebsd-gnats-submit@freebsd.org>; Wed, 28 Feb 2001 14:16:19 -0800 (PST)
	(envelope-from brian215@netscape.net)
Received: from brian215@netscape.net
	by imo-d04.mx.aol.com (mail_out_v29.5.) id n.ec.f6534e (16244);
	Wed, 28 Feb 2001 17:15:51 -0500 (EST)
Received: from  netscape.com (aimmail11.aim.aol.com [205.188.144.203]) by air-in03.mx.aol.com (v77_r1.21) with ESMTP; Wed, 28 Feb 2001 17:15:51 -0500
Message-Id: <381A4B81.5931E90E.00962B8C@netscape.net>
Date: Wed, 28 Feb 2001 17:14:59 -0500
From: brian215@netscape.net
To: FreeBSD-gnats-submit@freebsd.org
Cc: brian215@netscape.net
Subject: PS/2 mouse sync problems with KVM switch - /dev/sysmouse and /dev/psm0

>Number:         25463
>Category:       i386
>Synopsis:       PS/2 mouse sync problems with KVM switch - /dev/sysmouse and /dev/psm0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 28 14:20:00 PST 2001
>Closed-Date:    Sun Jun 08 10:52:06 PDT 2003
>Last-Modified:  Sun Jun 08 10:52:06 PDT 2003
>Originator:     Brian Dickson
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Velocita
>Environment:

933Mhz PIII on Intel D815EEAAL Mboard, 256MB PC133 SDRAM, ELSA GeForce2 GTS, Maxtor 60GB 7200rpm

MS Intellimouse Optical 5-button+wheel USB/PS/2 mouse on PS/2 port (via Belkin OmniCube 2-port KVM switch (used only for keybo
ard and mouse, since monitor has two inputs))

FreeBSD bpd.pf.net 4.2-STABLE FreeBSD 4.2-STABLE #0: Wed Feb  7 18:37:33 EST 2001     root@bpd.pf.net:/usr/obj/usr/src/sys/GEN
ERIC  i386

XFree86 4.0.2 (needed for GeForce2 video card).

>Description:

        Switching systems using the KVM switch, the mouse loses sync.

        (Other system is a (yuch) Win98 box (IBM thinkpad). That box, after a few seconds of wonkyness, regains sync.)

        When switching to FreeBSD-4.2(Stable), mouse loses sync but never regains sync. Mouse movement and keyclicks
        result in chaotic moves/clicks not resembling input (but at a rate corresponding to mouse activity).
        
        Behaviour consistent across use of "Auto", "PS/2", "SysMouse" protocols, "/dev/sysmouse" or "/dev/psm0" devices,
                with/without moused (as appropriate).

        Other symptoms, side-effects: X programs (window manager, xterms) crash (signal 11); messages on console or vty where
        X was started from include:
                (WW) fcntl(7, F_SETOWN): Inappropriate ioctl for device
                psmintr (message about loss of sync, 0x0000 != 0x8000 or some such hex values)
                (last message repeated 491 times)

        Keyboard not affected.
>How-To-Repeat:

        Switching via KVM switch
        Also repeatable by unplugging mouse from KVM switch (KVM switch is "smart", emulates mouse/keyboard when not connected
)
>Fix:

        Reboot (possibly also via "init 1", CTRL-D)
        (Works perfectly fine until/unless use KVM switch.)

        Tried suggested workarounds (switch to other VTYs, via CTL-ALT-Fn; hit buttons while not moving mouse) to no avail, at
 great length; Tried KVM-vendors suggestion of unplug mouse, wait 5, re-plug, also no-go.





__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/
>Release-Note:
>Audit-Trail:

From: James Thomason <james@divide.org>
To: freebsd-gnats-submit@FreeBSD.org, brian215@netscape.net
Cc:  
Subject: Re: i386/25463: PS/2 mouse sync problems with KVM switch - /dev/sysmouse
 and /dev/psm0
Date: Tue, 21 Aug 2001 23:44:33 -0700 (PDT)

 This happens because the mouse driver desyncs with the pointing
 device.  The fix may be found at the following URL. 
 
 Regards, 
 James Thomason
 
 http://www.pl.freebsd.org/FAQ/FAQ134.html
 
State-Changed-From-To: open->feedback 
State-Changed-By: ashp 
State-Changed-When: Fri Feb 8 18:23:25 PST 2002 
State-Changed-Why:  
Did the suggested workaround listed by James Thomason work for you? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25463 

From: "Dickson, Brian" <brian.dickson@velocita.com>
To: "'freebsd-gnats-submit@FreeBSD.org'" <freebsd-gnats-submit@FreeBSD.org>
Cc:  
Subject: RE: Re: i386/25463: PS/2 mouse sync problems with KVM switch - /d
	ev/sysmouse and /dev/psm0
Date: Wed, 20 Feb 2002 12:37:11 -0500

 No, suggested work-around did not work.
  
 I eventually did the following:
 - returned KVM to vendor
 - purchased PS2-to-USB keyboard adapter dongle
 - purchased USB switch
 - put both keyboard and mouse (now both USB) on USB hub (integrated in my
 monitor) which is connected to USB switch
  
 So, when I need to switch V, K+M, I hit A/B button on my two-input monitor,
 and hit a button on the USB switch.
  
 This works, but is significantly constrained (ie, limited to number of video
 inputs on monitor; limited to USB keyboards/mice).
  
 It would be nice to see the problem really resolved, but I won't lose sleep
 (or productivity) over it, since it no longer affects me.
  
 Brian
 
State-Changed-From-To: feedback->open 
State-Changed-By: ceri 
State-Changed-When: Sun Jun 8 10:49:45 PDT 2003 
State-Changed-Why:  
The originator no longer has the hardware required to test this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25463 
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Sun Jun 8 10:51:12 PDT 2003 
State-Changed-Why:  
The last status change should have been to "closed". 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25463 
>Unformatted:
