Re: Are people still having fun with psaux and 2.1.12/3x ?

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Mon, 07 Dec 1998 21:49:18 -0500


In message <Pine.LNX.4.04.9812071359360.15307-100000@isaac.taelgar.org>,
Mike S
ackton writes:
+-----
| On Mon, 7 Dec 1998, Mike McEwan wrote:
| > From the feedback I've had so far from fellow sufferers, it would
| >appear the problem may be limited to mice with *wheels*. I don't
| >really know anything here, but can't these appear like 5-button mice?
|
| I have no problems running X with a 2 button + wheel (which acts as a
| third button, plus 4 + 5 for the up and down movement of the wheel)
+--->8

Keep in mind that the X server uses magic to convert wheel events into
button presses; they don't show up that way by default. And yes, treating a
wheel mouse as an ordinary PS/2 mouse in my experience *does* lead to the
pointer shooting to the upper right hand corner of the screen.

Someone should dig up the protocol for the wheel mice (it must be available,
since it's supported by XFree86) and make sure that, even if the kernel
driver doesn't do anything useful with the wheel, at least it doesn't cause
aberrant behavior.

| Section "Pointer"
| Protocol "imps/2"
| Device "/dev/mouse"
| ZAxisMapping 4 5
+-----^^^^^^^^^^^^^^^^

That's the magic that remaps the wheel events. IIRC the X server makes the
wheel events available "as is" if you leave this out; but no current X11
programs know what to do with them (i.e. you can't write translation
resources for them).

| X might get unhappy if you have a protocol of ps/2 instead of imps/2 and
| you have a wheel mouse. I don't know, though...
+--->8

It does. Likewise if you don't have a wheel mouse and you tell it IMPS/2
strange things happen; apparently the protocol is *not* compatible.

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering			 KF8NH
			  Kiss my bits, Billy-boy.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/