From owner-freebsd-questions Wed Jun 4 17:24:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA14326 for questions-outgoing; Wed, 4 Jun 1997 17:24:36 -0700 (PDT) Received: from nasu.utsunomiya-u.ac.jp (nasu.utsunomiya-u.ac.jp [160.12.128.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA14301 for ; Wed, 4 Jun 1997 17:24:32 -0700 (PDT) Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by nasu.utsunomiya-u.ac.jp (8.8.4+2.7Wbeta4/3.5Wpl3) with ESMTP id JAA00678; Thu, 5 Jun 1997 09:23:44 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (g7tSdIjzSUJ6fro7i2Km6VHUjn+qlrHT@zodiac.mech.utsunomiya-u.ac.jp [160.12.33.1]) by outmail.utsunomiya-u.ac.jp (8.8.4+2.7Wbeta4/3.5Wpl3) with ESMTP id JAA28794; Thu, 5 Jun 1997 09:23:44 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zenith.mech.utsunomiya-u.ac.jp [160.12.33.60]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id JAA02470; Thu, 5 Jun 1997 09:28:58 +0900 (JST) Message-Id: <199706050028.JAA02470@zodiac.mech.utsunomiya-u.ac.jp> To: Keith Mitchell cc: questions@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: PS/2 Mouse and Switch Box Problem In-reply-to: Your message of "Sun, 01 Jun 1997 20:58:25 -0400." <199706042041.QAA28114@weenix.guru.org> References: <199706042041.QAA28114@weenix.guru.org> Date: Thu, 05 Jun 1997 09:28:56 +0900 From: Kazutaka YOKOTA Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >I have a couple of computers hooked together through a Belkin OmniView >switchbox so I only need one mouse/keyboard/monitor. Right now, I have my >PC and my thinkpad hooked up to it (although the thinkpad has its own mouse >because of the way it handles the external mouse/keyboard). > >When the PC first boots (and is selected on the switch box) everything works >fine. After I switch to the thinkpad and back then the mouse slows down >considerable (ithe point moves at about half speed). NOTE: the only computer >that is hooked to the mouse port on the switch box is the PC. I don't know how keyboard/mouse/monitor lines are wired inside this sort of switch box in general. But, I suspect the following sequence of events. When you switch away from the PC to ThinkPad, all the mouse lines are switched to the port to which the cable from the mouse port of ThinkPad is meant to be connected. But, because nothing is connected to that port, the mouse looses power. When you switch back to the PC, the power is supplied to the mouse again as if the host computer is turned on. This means the mouse is in the power-up state. The PS/2 mouse driver sends some commands to the mouse when probing the device during the boot process, including the RESET command. The speed of the mouse is supposed to be set to the default value (typically 100 dpi) after the RESET command. This default value is supposed to be the same as the settings after power-up. But, who knows if they are the same or not... If not, the mouse may be operating in a different settings than it was initialized during boot. If you switch away from and back to the PC for the second time, the mouse speed should stay the same (slow), if this is the case, don't you think? >I am using -current from 6/1/97 although it also failed with a kernel from >about two weeks ago. I think it worked before then but I won't swear to it. I don't think it did. The last change was made around the end of May. But it was a bug fix which is not related to the mouse itself. The functionarily of the driver hasn't changed since January. Kazu