You are not logged in.

#1 2004-05-11 00:12:01

nkw
Member
Registered: 2004-03-26
Posts: 80

how to change mouse type?

I''ve a wheel mouse, but archlinux seems recognize it as a normal mouse. how can i change it? thanks

Offline

#2 2004-05-11 00:18:02

scottro
Member
From: NYC
Registered: 2002-10-11
Posts: 454
Website

Re: how to change mouse type?

The obvious question.  Did you add the line

Option "ZAxisMapping"   "4 5"

to /etc/X11/XF86Config?

Offline

#3 2004-05-11 00:28:11

nkw
Member
Registered: 2004-03-26
Posts: 80

Re: how to change mouse type?

But I have the following XF86Config files:

# locate XF86Config
/usr/X11R6/lib/X11/XF86Config.98
/usr/X11R6/lib/X11/XF86Config.eg
/usr/X11R6/man/man5/XF86Config.5x

Offline

#4 2004-05-11 00:39:07

scottro
Member
From: NYC
Registered: 2002-10-11
Posts: 454
Website

Re: how to change mouse type?

You should have a file in /etc/X11 called something like XF86Config.  Perhaps it's called /etc/X11/XF86Config-4 or something like that, depending (I think) on what tool you use to configure X.  (I could be wrong about that, it might just vary from distro to distro).

If you're using X.org instead of Xfree86 4.4 it might be called something else, but should be similar.

In there, find the lines referring to your mouse--it's probably around line 226 or so.  You probably have /dev/psaux or something similar.
Under that, add the line I mentioned above, about the ZAxisMapping.

Offline

#5 2004-05-11 01:12:35

nkw
Member
Registered: 2004-03-26
Posts: 80

Re: how to change mouse type?

It sounds I don't have the file under /etc/X11: i am using xf8611

bash-2.05b$ ls -A /etc/X11/
app-defaults  fr  lbxproxy   sessions  xdm    xserver
de            fs  proxymngr  twm       xinit  xsm
de_DE.UTF-8   it  rstart     xawtvrc   xkb

Offline

#6 2004-05-11 04:06:46

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: how to change mouse type?

Try running /usr/X11R6/bin/xf86conf to setup the file.

Offline

#7 2004-05-11 23:30:01

nkw
Member
Registered: 2004-03-26
Posts: 80

Re: how to change mouse type?

scottro wrote:

The obvious question.  Did you add the line

Option "ZAxisMapping"   "4 5"

to /etc/X11/XF86Config?

I've add the line in XF86Config file but the wheel still doesn't work, (i can use it as middle key).

In XF86Config,
Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping" "4 5"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"  "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"  "9600"
#    Option "SampleRate"        "150"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection

Offline

#8 2004-05-12 00:48:45

snoopy
Member
Registered: 2004-02-04
Posts: 25

Re: how to change mouse type?

the:  Option "Protocol" "Auto"
should be:  Option "Protocol" "IMPS/2"
if you have a ps/2 mouse

the:  Option "Device" "/dev/input/mice"
should be: Option "Device" "/dev/psaux"

Offline

#9 2004-05-12 00:50:34

nkw
Member
Registered: 2004-03-26
Posts: 80

Re: how to change mouse type?

snoopy wrote:

the:  Option "Protocol" "Auto"
should be:  Option "Protocol" "IMPS/2"
if you have a ps/2 mouse

the:  Option "Device" "/dev/input/mice"
should be: Option "Device" "/dev/psaux"

but I am using USB logitech wheel mouse, how should I change the file? thanks..

Offline

#10 2004-05-12 00:57:27

snoopy
Member
Registered: 2004-02-04
Posts: 25

Re: how to change mouse type?

look at:
http://bbs.archlinux.org/viewtopic.php? … =usb+mouse
may help, sorry never use usb mouse..

Offline

#11 2004-05-12 02:23:49

nkw
Member
Registered: 2004-03-26
Posts: 80

Re: how to change mouse type?

thanks all, two modification in the XF86Config file make the wheel work:

Option "Protocol" "ImPS/2"
Option "Device" "/dev/usbmouse"

Maybe the key is the first one.

Offline

Board footer

Powered by FluxBB