From owner-freebsd-questions Sun Jan 21 18:44:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from slappy.plambert.net (slappy.plambert.net [167.216.255.198]) by hub.freebsd.org (Postfix) with ESMTP id 9DA6137B400 for ; Sun, 21 Jan 2001 18:44:02 -0800 (PST) Received: (from plambert@localhost) by slappy.plambert.net (8.11.1/8.11.1) id f0M2hij20678; Sun, 21 Jan 2001 18:43:44 -0800 (PST) (envelope-from plambert) Date: Sun, 21 Jan 2001 18:43:44 -0800 From: "Paul M . Lambert" To: "Donald J . Maddox" Cc: questions@freebsd.org Subject: Re: Xfree 4.0.2 - mouse fixed... not really... Message-ID: <20010121184344.A18067@slappy.plambert.net> References: <200101201942.UAA71679@usr02.cybercity.dk> <20010120145322.A90461@cae88-102-101.sc.rr.com> <200101202013.f0KKDgu34319@usr03.cybercity.dk> <20010120152136.B349@cae88-102-101.sc.rr.com> <200101202026.VAA79619@usr02.cybercity.dk> <20010120153429.A402@cae88-102-101.sc.rr.com> <200101202057.VAA92424@usr01.cybercity.dk> <20010120160610.A390@cae88-102-101.sc.rr.com> <200101202151.WAA84032@usr04.cybercity.dk> <20010120170446.A998@cae88-102-101.sc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010120170446.A998@cae88-102-101.sc.rr.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 20 Jan 2001, Donald J . Maddox wrote: > You're not quite getting it. Moused translates mouse events from > whatever specific mouse device you use into MouseSystems protocol > and feeds it to /dev/sysmouse. > > In other words, the driver you are using *is* /dev/psm0 and whatever > protocol is specific to your mouse. There is a problem, however, in > that both X and moused want to handle mouse events, and only one > can be allowed to do so. > > The solution is that moused handles *all* mouse events, and feeds > these events to /dev/sysmouse disguised as MouseSystems protocol. > > This way, there is no conflict between the console mouse driver and > the X mouse driver. See? > Certainly. However, the original poster is, I think, seeing a behavior I myself am also seeing: Under XFree86 3.3.6, I had moused running with -t ps/2 and using /dev/psm0. This allowed console mouse access, and provided /dev/sysmouse. I had XFree86 looking at /dev/sysmouse and using SysMouse as the protocol type. This all worked very nicely. Under XFree86 4.0.2, if I have moused running with -t ps/2 and using /dev/psm0, and tell XFree86 to use /dev/sysmouse and SysMouse, as I did in 3.3.6, it _fails to work correctly_. If I click the first mouse button, for example, the mouse-down event appears to register (i.e. if I click a widget that shows the mouse-down and mouse-up separately, I see the mouse-down). However, I don't see the mouse-up until such time as I move the mouse. For example, with Netscape 4.76 running, I can move the pointer to the back button in the Netscape window. Then, i can press and release the first mouse button (normal 'click' action). The Back button depresses, and remains there. I have let go of the mouse button, but the Netscape button remains depressed until eventually the Back menu comes up. If I move the mouse (i.e. the _pointer_) before the menu appears, then the Back button in the netscape window releases from the depressed position and acts as though I have pressed it normally. Needless to say, this is a real pain; it makes, for example, clicking and dragging difficult, as it appears that any mouse movement is also seen as releasing the mouse buttons. It's really frustrating. If I kill moused, and tell XFree86 to use /dev/psm0 directly, it works just fine. If I leave moused running and tell XFree86 to use /dev/sysmouse and the MouseSystems driver, it also works just fine. This is not correct behavior. I think this is the behavior that this person had seen. --plambert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message