On Mon, Mar 04, 2002 at 07:03:14AM -0800, Harry Putnam wrote:
> Running woody (testing)
>
> I've been ignoring this issue and working on other things but I really
> miss having my little rodent in text mode.
>
> Its a logitec 3 button ps2, critter that works in X just fine.
>
> I can't remember how to tell with no doubt where the mouse is
> connected. At which device. I remember saying /dev/psaux during install
> but that was just a guess.
>
> Boot messages indicate gpm services are being started. But I have no
> functioning mouse in text mode.
>
> A grep of ps waux shows"
> ps waux|grep 'gpm' turns up nothing
>
> The devices directory itself shows
> ls -l /dev/ |grep 'mouse\|psaux\|gpm'
I had a sudden thought: perhaps it is time to experiment with the mouse
type for gpm (completely ignoring X for now).
You've established beyond any doubt that it works in X as a PS/2 mouse
- and hence the kernel, connection, physical mouse etc is OK. And that gpm
does *not* like to interpret the mouse as a vanilla ps/2.
The ps/2 code in gpm is probably not identical to the ps/2 code in
the X server. And even when gpm is told to repeat in "raw" mode it will
still try to interpret the incoming mouse events. I guess that it doesn't
understand them - hence your "Error in protocl" in the gpm debug you
posted earlier.
In other words: X and gpm may well have different interpretations of
"PS/2". (my guess/conclusion, not necessarily fact, but I think it makes
sense).
Try
# gpm -t help
to get a listing of mice that gpm understands.
In this list, these look like candidates for your logitec 3-button ps2:
autops2 # if you're lucky :-)
mman
logim
fups2
imps2 # only 'cause it was mentioned in your XF86Config-4 at some point
fuimps2 # same reason
(and any other mouse type that catches your eye in gpm's list)
So a few simple tests by running:
# gpm -D -m /dev/psaux -t {some gpm mouse type}
should reveal what mouse type does (not) work for gpm. If one of them
works, then you know what to put in /etc/gpm.conf. Tweaking the X config
afterwards should then be easy: replacing /dev/psaux with /dev/gpmdata.
Hope this helps.
--
Karl E. Jørgensen
karl@jorgensen.com
www.karl.jorgensen.com
==== Today's fortune:
One man's "magic" is another man's engineering. "Supernatural" is a null word.
-- Robert Heinlein
Attachment:
pgp0j65UMsbLh.pgp
Description: PGP signature