You are not logged in.

#1 2005-05-03 21:09:46

Cheikh
Member
Registered: 2005-02-07
Posts: 25

mouse cannot scroll [Solved]

I have a compaq mouse  that is not USB with two scrolling wheel at the top, but they are being useless since I came to arch.  My xorg.conf looks like the following

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "PS/2"
    Option "Device"      "/dev/input/mice"
*****************************************************************
I added this two lines from google search but still does not solve it
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"

Can anybody help please?
Cheikh

Offline

#2 2005-05-03 21:23:42

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: mouse cannot scroll [Solved]

try this

        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "ImPS/2"
        Option      "Device" "/dev/psaux"
        Option      "ZAxisMapping" "4 5"

I'm not an expert on X, but AFAIK you need to specify a Scroll compatible mouse in Protocol, in this case ImPS/2 which means Intellimouse PS/2 (or compatible scroll mouse). Since the port you use is PS2, set the Device to  /dev/psaux.

Offline

#3 2005-05-03 21:37:02

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: mouse cannot scroll [Solved]

darkcoder wrote:

I'm not an expert on X, but AFAIK you need to specify a Scroll compatible mouse in Protocol, in this case ImPS/2 which means Intellimouse PS/2 (or compatible scroll mouse). Since the port you use is PS2, set the Device to  /dev/psaux.

Yeah, ImPS/2 is for scrollable mice (I think mine's set to "Auto")

Also, I wouldn't advise using /dev/psaux - udex is smart enough to know that's a mouse and create /dev/input/mouse0 and /dev/input/mice devices.  The cool thing about /dev/input/mice is that it's basically a "cat" of all mouseX devices....
If I had 3 USB mice and one PS/2 mouse plugged in, and had /dev/input/mice in my xorg.conf, you can move any mouse and it does the same thing.

This is important for laptops, where you may use a usb mouse and the laptop's mouse (although synaptic touchpads are different if you want to use the synaptic driver)

Offline

#4 2005-05-03 21:59:15

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: mouse cannot scroll [Solved]

since kernel 2.6 , as Phrak says, all mice go via /dev/input/mice  anyway

mine for what its worth. (in xorg.conf)


===============

Section "InputDevice"

    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol"    "IMPS/2"
    Option      "Device"      "/dev/input/mice"
    Option      "ZaxisMapping" "4 5"
    Option      "Emulate3Buttons" "yes"


EndSection
===============

also good info here
PS2 wiki
More options page down to wheel mouse

Offline

#5 2005-05-03 23:20:45

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: mouse cannot scroll [Solved]

If you know it works in Knoppix or another distro that may have a LiveCD, boot that up and have a look whats in the xorg/conf/XF86Config and copy it over smile

Offline

#6 2005-05-04 17:42:15

Cheikh
Member
Registered: 2005-02-07
Posts: 25

Re: mouse cannot scroll [Solved]

Thanks guy specially to Darkcoder The scroll works now after I have made the following changes.
Option "Protocol"    "PS/2"
To
Option "Protocol"    "IMPS/2"

Option "Device"      "/dev/input/mice"
To
Option "Device" "/dev/psaux"
I added the following two lines but i am not sure if they are needed.
Option "Emulate3Buttons" "no"
Option "EmulateWheelButton" "2"

Offline

Board footer

Powered by FluxBB