From owner-freebsd-current Sun Aug 12 9: 2:48 2001 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 3964437B407 for ; Sun, 12 Aug 2001 09:02:44 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f7CG2gq00806; Sun, 12 Aug 2001 10:02:43 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.4) with ESMTP id f7CG2bW01274; Sun, 12 Aug 2001 10:02:42 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200108121602.f7CG2bW01274@harmony.village.org> To: Joe Kelsey Subject: Re: Mouse flags? Cc: freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Sat, 11 Aug 2001 22:35:30 PDT." <15222.5538.796294.673437@zircon.zircon.seattle.wa.us> References: <15222.5538.796294.673437@zircon.zircon.seattle.wa.us> Date: Sun, 12 Aug 2001 10:02:37 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <15222.5538.796294.673437@zircon.zircon.seattle.wa.us> Joe Kelsey writes: : Where is the evidence that any errors have ever occurred on the ps2 : port? What sort of errors should one expect to occur? Surely not : parity errors. The only possible errors are if you use a mechanical : switch (such as Mike Smith) and you flip the switch in the middle of a : mouse operation. . Therefore, I would expect Mike Smith to experience a : multitude of errors, whereas those of us using electronic KVM switches : should never experinece a single error. When the mouse is switched in and out, I've seen extra or missing bytes in the data stream. I've seen this even on a mouse that wasn't moving at all. I've long suspected, but haven't dived deep enough in the code to verify, that mice initialize to one packet format, and the driver puts it into a different format as part of its initialization. That disconnect is why the mouse never works if you do the mechanical switch route, since it disconnects power as part of the switch process. So just ripping out the error detection/correction code won't help much at all. Like I said above, this is specualtion. I found the psm driver a little hard to penetrate, so I never followed up on this at all. It was the only theory I ever came up with that explained things. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message