[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IMPS/2 mouse protocol and XF86Setup



On Thu, 1 Mar 2001, Raffaele Sandrini wrote:
> My problem is, that my mouse is working with gpm but not with X11.
> i use the gpm flags: -m /dev/psaux -t imps2 (i have an IntelliMouse)
> Thats working fine. Now im entering into XF86Setup to configure various
> things... I chose at the mouse tab IMPS/2 and apply the changes. But the
> mouse is just going into the right upper corner of the screen and stays
> there. It does this eather if i choose /dev/gpmdata or /dev/psaux or if i
> choose PS/2 as the protocol.
> Has somebody an idea whats wrong?

Here's what works for me:

____________________/etc/gpm.conf (entire)___________________________
device=/dev/psaux
responsiveness=
repeat_type=raw
type=imps2
append=""
________________________________________________________________________

____________________/etc/X11/XF86Config (excerpt)____________________
Section "Pointer"
        Device "/dev/gpmdata"
        Protocol "imps/2"
        ZAxisMapping  4 5
        Buttons 7
EndSection
________________________________________________________________________

Basically, this tells gpm to handle the mouse as a PS/2 mouse via device
/dev/psaux, & repeat the raw mouse events to /dev/gpmdata.  Meanwhile, X is
told that the mouse is a PS/2 mouse via /dev/gpmdata.  (The "ZAxisMapping 4
5" & "Buttons 7" are to enable the mouse wheel.)

________________________________________________________________________
Jay Ford, Network Engineering Group, Information Technology Services
University of Iowa, Iowa City, IA 52242
email: jay-ford@uiowa.edu, phone: 319-335-5555, fax: 319-335-5505



Reply to: