You are not logged in.

#1 2008-07-02 10:15:07

halcor
Member
Registered: 2008-05-15
Posts: 71

mouse wheel don't work.

Mouse wheel don't work

This is my xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "glx"
    Load  "extmod"
    Load  "xtrap"
    Load  "record"
    Load  "GLcore"
    Load  "dbe"
    Load  "dri"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option    "XkbLayout"    "es"
    Option "XkbVariant"    ""
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "ExplorerPS/2"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    VertRefresh    60.0 - 75.0
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "HWCursor"               # [<bool>]
        #Option     "SWCursor"               # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "Rotate"                 # [<str>]
        #Option     "UseBIOS"                # [<bool>]
        #Option     "LCDClock"               # <freq>
        #Option     "ShadowStatus"           # [<bool>]
        #Option     "CrtOnly"                # [<bool>]
        #Option     "TvOn"                   # [<bool>]
        #Option     "PAL"                    # [<bool>]
        #Option     "ForceInit"              # [<bool>]
        #Option     "Overlay"                # [<str>]
        #Option     "TransparencyKey"        # [<str>]
        #Option     "ForceInit"              # [<bool>]
        #Option     "DisableXVMC"            # [<bool>]
        #Option     "DisableTile"            # [<bool>]
        #Option     "DisableCOB"             # [<bool>]
        #Option     "BCIforXv"               # [<bool>]
        #Option     "DVI"                    # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "DmaType"                # [<str>]
        #Option     "DmaMode"                # [<str>]
        #Option     "AGPMode"                # <i>
        #Option     "AGPSize"                # <i>
        #Option     "DRI"                    # [<bool>]
    Identifier  "Card0"
    Driver      "savage"
    VendorName  "S3 Inc."
    BoardName   "86C270-294 Savage/IX-MV"
    BusID       "PCI:1:1:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     1
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "1024x768"
    EndSubSection
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection

And also I try both in wiki http://wiki.archlinux.org/index.php/Xor … ot_working

Mouse wheel not working 

The "Auto" protocol doesn't seem to work properly in Xorg 7 any more. In the InputDevice section for your mouse, change: 
Option         "Protocol" "auto"

to 
Option         "Protocol" "IMPS/2"

or 
Option         "Protocol" "ExplorerPS/2"

What more can I do?

Offline

#2 2008-07-07 17:20:06

halcor
Member
Registered: 2008-05-15
Posts: 71

Re: mouse wheel don't work.

Someone, whose wheel of mouse works fine , can post his/her xorg.conf ?

Offline

#3 2008-07-07 19:49:48

bioe007
Member
Registered: 2007-11-12
Posts: 56

Re: mouse wheel don't work.

my xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "xtrap"
    Load  "dbe"
    Load  "dri"
    Load  "GLcore"
    Load  "glx"
    Load  "extmod"
    Load  "record"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    #DisplaySize      330   210    # mm
    Identifier   "Monitor0"
    VendorName   "CPT"
    ModelName    "13a6"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Extensions"
    Option "composite" "enable"
EndSection

i have not have a problem with -- Option "Protocol" "auto" 

you should check the output of xev with your mouse over the window and see some output (in the console you launced from) like this:

ButtonPress event, serial 31, synthetic NO, window 0x3400001,
    root 0x6a, subw 0x0, time 20177357, (148,61), root:(699,395),
    state 0x0, button 5, same_screen YES

ButtonRelease event, serial 31, synthetic NO, window 0x3400001,
    root 0x6a, subw 0x0, time 20177357, (148,61), root:(699,395),
    state 0x1000, button 5, same_screen YES

ButtonPress event, serial 31, synthetic NO, window 0x3400001,
    root 0x6a, subw 0x0, time 20178421, (148,61), root:(699,395),
    state 0x0, button 4, same_screen YES

what kind of mouse is it? google <mouse brand>+linux ? anything in dmesg about it? USB? what does `lsusb -vs XXX:YYY` say about it?

just some places to look.

hth

Offline

#4 2008-07-12 13:37:56

halcor
Member
Registered: 2008-05-15
Posts: 71

Re: mouse wheel don't work.

I love you.

First I put in xorg.conf "auto"
Second I do a xev and I discover that the wheel was buttons 6 and 7
Third I change

    Option        "ZAxisMapping" "4 5 6 7"
by
    Option        "ZAxisMapping" "6 7"

Fourth I restart computer and the wheel works.

My mouse is a simple ps2 labtec and the whhel had been working fine until one day.

Thanks, lot of thanks.

Offline

Board footer

Powered by FluxBB