From: jwaters@deepthought.unm.edu (Joe Waters) Subject: Re: X and Logitech mice - still not working (long) Date: 21 May 1992 04:13:34 GMT
In article <1992May20.153757.24221@fs7.ece.cmu.edu> jka@ece.cmu.edu writes:
> I still have problems with my Logitech Pilot mouse and X under Linux.
> Description: I can startx; I can type in an xterm, if it's "under" my
> mousepointer; mousepointer is visible, but I cannot force X to accept
> any mouse movement or button pressing. Please I really need some help.
> I tried all those "great" mouse revive programs, which appeared here at
> comp.os.linux. I tried all combinations to set stty -istrip, no way.
> Here are my configuration files and my hardware setup. Is there anyone,
> who can help me?
I think this is a general problem. I too have not been able to get my
Logitech mouse to work. I've tried hacking on the Xconfig file, I've
tried using the mouseinfo program to put it into "MouseSystems" mode,
and I've tried all kinds of "stty -foobar > /dev/mouse." I get
different results but I've never actually gotten it to work.
Part of the problem might be the way that you implement the mouseinfo program.
I got two separate Logitech three-button mice running perfectly under X - one
was firmware rev. 5 and one was rev. 7. The two had different problems - the
rev. 5 (as reported by the MesS-DOS Logitech 6.0 driver "MOUSE -?" ) was
*easier* to make go than rev. 7. In both instances, I used the mouseinfo.c
program - I've still got source and I'll repost or mail it to people who want
it - to make it go. Two things have to be done. First, the Xconfig file must
be set up to say mousesystems - as somebody else mentioned, there's a typo
in the 386bsd source and it don't recognise Logitech, or something like that.
It must say mousesystems, and it must be at 1200 baud, and samplerate must be
commented out. Then compile mouseinfo. THat's the easy part. The hard part
is finding somewhere to execute mouseinfo where it'll execute and where X386
won't write right after it and confuse the mouse again. On the machine with
the firmware rev. 5, it was real easy, you can stick mouseinfo pretty much
anywhere in the xinitrc file and it'll execute and fix the mouse. However,
on my personal mouse (rev. 7, series 9 3-button) this didn't work. The mouse
would move, but only for a few seconds (actually I think it would only put
a few characters from the mouse into the serial buffer before it chewed). The
solution on mine was to go to the bottom of the xinitrc file and stick in an
extra xterm. The command should be something like
"xterm -e /usr/bin/X11/mouseinfo" or something similar. This works on my
machine where stty -istrip doesn't. Hope this helps some people get their
Logitech micez going...
Joe