Clan x86

Technical (Development, Security, etc.) => Unix / Linux Discussion => Topic started by: Super_X on February 22, 2007, 04:30:20 AM

Title: Debian + mouse wheel
Post by: Super_X on February 22, 2007, 04:30:20 AM
I feel dumb, but I've looked on the google and asked Erogot, too.

Here's what my problem is: No mouse three, and no scroll wheel. Poor me. :(

Here's what's in my /etc/X11/XF86Config-4 for "mouse":

QuoteSection "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection
Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
I know that there's two mice things, but I'm not really sure why so I'll mess with that later. The thing that gets me is there is a "Option 'ZAxisMapping' '4 5'" part, as far as I know, that's usually the scroll wheel and mouse three.

Any help would please me. <33 :D?
Title: Re: Debian + mouse wheel
Post by: rabbit on February 22, 2007, 06:29:24 AM
Change Protocol to "Auto", see if that works.
Title: Re: Debian + mouse wheel
Post by: chuck on February 22, 2007, 09:34:35 AM
Give me a minute... I just had this problem with my linux desktop... *digs out the computer and boots it up*

EDIT:
Heres my mouse configuration for a 2 button ps2 mouse with a scroll wheel:

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/psaux"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"        "256"

# 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"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

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

#    Option "ChordMiddle"

    Option "Buttons" "4"

    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    Option "SendCoreEvents" "true"

EndSection
Title: Re: Debian + mouse wheel
Post by: Ergot on February 22, 2007, 02:44:10 PM
Hey wait a minute... Changed the

Option          "Protocol"              "PS/2"

Under "Configured Mouse" to

Option          "Protocol"              "ImPS/2"


If that doesn't work, the only thing I see different in chuck's config is

Option "Buttons" "4"
Title: Re: Debian + mouse wheel
Post by: Chavo on February 22, 2007, 05:26:39 PM
Normally you don't want to use "Emulate3Buttons" if you have a 3 button mouse, I'm confused by your post as to whether you do or not, but that may be the problem.
Title: Re: Debian + mouse wheel
Post by: Ergot on February 22, 2007, 05:52:52 PM
I don't believe that matters since all that does is make mouse1+mouse2 == mouse3
Title: Re: Debian + mouse wheel
Post by: Super_X on February 22, 2007, 06:44:18 PM
I was told today to  # out the ps/2 part, we'll see if that works.

[Edit]
Nope, didn't help. I'll work on it some more. Hopefully we can figure it out.
Title: Re: Debian + mouse wheel
Post by: Super_X on February 22, 2007, 09:45:42 PM
Quote from: Ergot on February 22, 2007, 02:44:10 PM
Hey wait a minute... Changed the

Option          "Protocol"              "PS/2"

Under "Configured Mouse" to

Option          "Protocol"              "ImPS/2"


Yay! That's what I did, the "ImPS/2," I switched the regular "PS/2" to "ImPS/2" Woo.
Title: Re: Debian + mouse wheel
Post by: Ergot on February 22, 2007, 09:55:43 PM
:). Helped that I saw the full log and wasn't sleepy keke. ^^.
Title: Re: Debian + mouse wheel
Post by: Super_X on February 23, 2007, 02:40:07 AM
Quote from: Ergot on February 22, 2007, 09:55:43 PM
:). Helped that I saw the full log and wasn't sleepy keke. ^^.
Ahh, I see. Sweet thanks, mang.