From owner-freebsd-questions@FreeBSD.ORG Mon Oct 11 20:56:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57C09106566B for ; Mon, 11 Oct 2010 20:56:21 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 096368FC12 for ; Mon, 11 Oct 2010 20:56:20 +0000 (UTC) Received: from thought.org (ethic.thought.org [10.47.0.230]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o9BKuAqo003522; Mon, 11 Oct 2010 13:56:10 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1001 kline@thought.org; Mon, 11 Oct 2010 13:56:10 -0700 (PDT) Date: Mon, 11 Oct 2010 13:56:10 -0700 From: Gary Kline To: Polytropon Message-ID: <20101011205610.GA3261@thought.org> References: <20101011032642.GA3354@thought.org> <20101011164152.GA4652@thought.org> <20101011193153.758efde5.freebsd@edvax.de> <20101011181438.GA5076@thought.org> <20101011202741.9e107460.freebsd@edvax.de> <20101011191443.GA5223@thought.org> <20101011213216.0d19ed70.freebsd@edvax.de> <20101011194907.GB5223@thought.org> <20101011221609.b2cff60e.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101011221609.b2cff60e.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. X-Spam-Status: No, score=-2.9 required=3.9 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ethic.thought.org Cc: FreeBSD Mailing List Subject: Re: mouse problems.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2010 20:56:21 -0000 On Mon, Oct 11, 2010 at 10:16:09PM +0200, Polytropon wrote: > On Mon, 11 Oct 2010 12:49:07 -0700, Gary Kline wrote: > > I got a reply from grepping ums and a truckload from usbdev -s. > > Copied to my `posit' notes or whatever: > > > > > > ethic# dmesg | grep ums > > ums0: on uhub4 > > ums0: 5 buttons and Z dir. > > ethic# > > The mouse is detected. Good. > > A problem that now comes to my mind is that switching from / to > the "ethic" machine might confuse the USB subsystem, as a device > disappears and later appears. Although USB is capable of hot plug, > the USB subsystem might not be able to pick up the mouse correctly. > > You could try: > > # moused -d -f -p /dev/ums0 -t auto > > Then debugging messages should appear on the console, and a moving > mouse cursor should be visible. > i tried this remove on _this_ console; then buttoned over to `ethic' [server], killed the moused that was running. Indeed it was /dev/ums0! But the mouse was frozen, and afer I killed it, gone. Then I tried your line and got the data stream. But there was no mouse. ... > > > > I was able to balanced anf get forward enough to see what my > > friend did. The keyboard *is* a PS/2; it is plugged into a new > > adaptor that plugs into the USM slot. The (`Logitech') mouse is > > already a USB and plugs nto the second USB slot/jack on the KVM. > > So it's a "pure USB" solution for the mouse - should be no problem. > > > > > As noted, things are happy on my linux desktop, but not on my > > FBSD boxen. Any ideas how to rebuild things to the new USB > > protocol? > > Which "new" protocol? USB 3.0 for the three buttons? :-) There are two buttons and the mouse "wheel"; I have no clue what's next. Clearly, my 7.2.X sees the mouse. But when I typed simply # startx the windows are there; the mouse cursor hangs, dead-center. > > No, honestly: I think the problem is somewhere in the interaction > of the KVM switch and the FreeBSD USB subsystem which has influence > on how moused handles the mouse. > > Can you check "forcing the mouse on" as described above? If it is > present in dmesg (from boot time on, and NOT switched away and on > again), and also listed in the current state per usbdevs command, > it should be picked up. > > As far as I understood in regards of X, there is > > a) X using the mouse provided through moused, or > > b) X detecting it "itself" by HAL and DBUS. > > Do you use HAL and DBUS with X? > Dunno; I do have hal and dbus there; that's about all I can say. Do I check with ps -ax | egrep "hal|dbus"? gary > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.90a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org