> > I like the way the new GPM handles my cheap 3 button mouse. Set it
> > to Generic and it lets me point and click to my hearts content with
> > all 3 buttons ( Essential for CL copy and past ). This setting uses
> > the Microsoft Mouse protocol so I don't have to hold down LMB when
> > I insert the mouse etc...
> > In X when I use that setting it just gives me 2 buttons. If I
switch
> > to Mouse Systems ( The only setting that seams to work ) I have to
> > unplug and reinsert the mouse each time I switch between X and CL.
> > This happens even if I set both GPM and X to use Mouse systems
> > ( Didn't have that problem on old SlackWare ).
> > BTW : I am Using Mandrake 6. RedHat 6 has the exact same behavior.
> > Is there a way to make X use the MS protocol and 3 buttons ? Or do
> > I need to find an expensive mouse that supports this stuff ?
> Forget about expensive mouses :)
> Look for this entry in /etc/XF86Config
> Section "Pointer"
> Protocol "Microsoft"
> Device "/dev/mouse"
> BaudRate 1200
> Resolution 100 # does not really matter :)
> Buttons 3 # important
> EndSection
> The Protocol entry does what you want to. Also ensure Device points to
> something useful, might be /dev/mouse which is a link to /dev/psaux in
> my system. Maybe you have a serial mouse so it should be /dev/ttypS0
for
> com1 or /dev/ttyS1 for com2.
<snip>
In the XF86Config section mentioned above, you may need to add something
like 'ClearDTR'. I also have a $5 3 button serial mouse that does both
Microsoft and MouseSystems protocols. To get the middle button to work
in X, I edited the pointer section in the XF86Config file. Made the
protocol MouseSystems, and added the line 'ClearDTR', which resets the
data terminal ready pin to the mouse to tell it to switch to 3 button
(aka MouseSystems) mode. Hopefully your mouse is similar to this.
BTW, I like this $5 mouse better than my $70 Logitech trackball <g>, the
action is much smoother.
--
Richard M. Ferko
Security Servers Group
UUNET, An MCI Worldcom company
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.