Re: It's working!

From: Leslie A Rhorer (lrhorer_at_satx.rr.com)
Date: 02/10/05


Date: Thu, 10 Feb 2005 17:31:22 GMT


"thunder" <thunderTAKEOUT@gti.net> wrote in message
news:36rdr2F57pj6mU1@individual.net...

> Don't try to change the serial port setting. Change the protocol for
> your mouse in XF86Config-4. There will be a section for "InputDevice".
> I am not sure about the specific protocol for your mouse but . . . it
> should look something like this.
>
> Section "InputDevice"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Device" "/dev/mouse"
> Option "Protocol" "Logitech"
> Option "Emulate3Buttons" "off"
> Option "ZAxisMapping" "4 5"
> EndSection
>
> You should be able to find your mouse by checking your dmesg or /dev.
> The ZAxisMapping is for wheel mice, otherwise it is not needed. There
> are several utilities to help you here. xf86cfg being one.

    Thank you! I was using dpkg-reconfigure, but it's options were very
limited, "Logitech" being the only one which matched, really. When I tried
xf86cfg per your recommendation, it shows two mice, and indeed there are two
mouse configurations in /etc/XF86Config-4. (Is this normal? Why two?).
One of the mice had an option for "MouseMan", with no 3rd button emulation
(it's a 3 button mouse). This worked. The new config is:

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
 Option "Device" "/dev/ttyS0"
 Option "Protocol" "MouseMan"
EndSection

Section "InputDevice"
 Identifier "Generic Mouse"
 Driver "mouse"
 Option "SendCoreEvents" "true"
 Option "Device" "/dev/input/mice"
 Option "Protocol" "ImPS/2"
 Option "Emulate3Buttons" "true"
EndSection

    I looked at dmesg, but it doesn't say anything specific about the mouse,
just:

ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
mice: PS/2 mouse device common for all mice



Relevant Pages

  • Re: USB Presenter with linux
    ... Identifier "Presentation Mouse" ... and USB mice have never required anything special for their ... mice can get assigned to devices in funny orders. ... When I unplug it, ...
    (comp.os.linux.misc)
  • 2nd mouse
    ... [I have a second mouse that I want to use for xcwcp Morse code ... Ben> Just have both mice. ... to allow an additional pointer device to generate core ... finds the Identifier it wants and thats the end of it. ...
    (comp.os.linux.x)
  • ps/2 mouse
    ... i tried 2 ps/2 mice on ubuntu-desktop using an compaq laptop and they dont work ... Section "InputDevice" ... Identifier "Synaptics Touchpad" ...
    (Ubuntu)