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

Re: Logitech optical mouse?



On Wed, Jul 03, 2002 at 10:20:27PM -0600, Dave Price wrote:
| I have an optical logitech mouse that I am trying to use with Xfree-86
| (4).  It works fine under windows, but is very eratic under X;  any idea
| how I should set this up in debian woody?

Do you have gpm running?  If yes (I don't know why you wouldn't) :

1)  in /etc/gpm.conf set
        repeat_type=raw
        device=/dev/input/mice
        type=imps2
    (I don't really know about the type, but imps2 is most common and
    works for my logitech scroll mouse)

2)  in /etc/X11/XF86Config

Section "InputDevice"
        Identifier  "Logitech MouseMan Wheel"
        Driver      "mouse"
        Option      "ZAxisMapping" "4 5"
        Option      "Device" "/dev/gpmdata"

        # Note: Protocol must match the 'type' set to gpm
        Option      "Protocol" "IMPS/2"
EndSection


The key is
    1)  don't let gpm and X fight over /dev/psaux -- that will be erratic,
        let gpm get the raw device and then feed it to X via a "fifo"
        (aka "named pipe" or "unix domain socket")
    2)  use the same (correct!) protocol setting in each

-D

-- 

The truly righteous man attains life,
but he who pursues evil goes to his death.
        Proverbs 11:19
 
http://dman.ddts.net/~dman/

Attachment: pgpptyLBhiMLj.pgp
Description: PGP signature


Reply to: