*BSD News Article 77376


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.erols.net!cam-news-hub1.bbnplanet.com!news.mathworks.com!newsfeed.internetmci.com!psgrain!quack!quack.kfu.com!nsayer
From: nsayer@quack.kfu.com (Nick Sayer)
Subject: Re: 2.1.5 psm0 trouble
Message-ID: <nye5Zfx@quack.kfu.com>
Sender: news@quack.kfu.com (0000-News(0000))
Supersedes: <nyduxho@quack.kfu.com>
Organization: The Duck Pond public unix, +1 408 249 9630, log in as guest.
References: <nyduxho@quack.kfu.com>
Date: Sun, 1 Sep 1996 05:59:02 UTC
Lines: 41

nsayer@quack.kfu.com (Nick Sayer) writes:

>This is an odd one.

>I have only tried this under X, so I am not yet sure if it's a driver
>issue or an XFree issue.

>I have a MouseSystems 3 button PS/2 mouse. Works fine under win95.
>Under XFree, if I roll the mouse down or left, the mouse pointer will
>jump all the way to the screen edge. Moving up or right works fine.
>All three buttons work just fine (according to xev). The machine is
>a Triton motherboard running FreeBSD 2.1.5 stock with a P120.

>Anyone heard of this one?

>/dev/mouse is a symlink to /dev/psm0, psm0 probes just fine according
>to dmesg, no other symptoms are visible. The XF86Config file is as
>correct as I know how to make it for an ordinary PS/2 mouse.
>(device is /dev/mouse, protocol is PS/2, the rest is commented
>out).

This same behavior is noticed if I plug this mouse into my laptop,
which is running 2.2-960501-SNAP. Moving the mouse the slightest
bit left or down causes it to jump ~512 (guessing a bit - it goes
a little less than half way across a 1152 wide screen) pixels in the
left or down direction.

I wrote a small test program that reads /dev/psm0. The events I see
don't look substantially different than they do on my laptop's built-in
mouse (which works just fine).

This is a really nice mouse. All the other PS/2 mice in the store had
two buttons. I really hate chordmiddle and would really rather have a
real 3 button mouse. It would be a trajedy if I had to waste a serial
port to do it.

-- 
Nick Sayer <nsayer@quack.kfu.com>  | I am Pentium of Borg.
N6QQQ @ N0ARY.#NORCAL.CA.USA.NOAM  | You will be approximated.
+1 408 249 9630, log in as 'guest' | 
URL: http://www.kfu.com/~nsayer/   |      -- The Usenet Oracle