From: Michael Sullivan <[EMAIL PROTECTED]>
Subject: [gentoo-user] OT - Mouse going crazy in gnome
Date: Sun, 22 Oct 2006 11:18:58 -0500

> About a week ago, my wife's mouse started going wacko in Gnome.  When
> she tries do do something (I haven't been able to track it down to an
> individual action or sequence), the pointer flies around the screen and
> generates seemingly random mouse movements.  I've looked at
> her /etc/X11/xorg.conf file and everything looks okay to me.  Here it
> is:
> 
> Section "ServerLayout"
>       Identifier     "X.org Configured"
>       Screen      0  "Screen0" 0 0
>       InputDevice    "Mouse0" "CorePointer"
>       InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
> 
> Section "Files"
>       FontPath     "/usr/share/fonts/misc/"
>       FontPath     "/usr/share/fonts/TTF/"
>       FontPath     "/usr/share/fonts/Type1/"
>       FontPath     "/usr/share/fonts/CID/"
>       FontPath     "/usr/share/fonts/75dpi/"
>       FontPath     "/usr/share/fonts/100dpi/"
> EndSection
> 
> Section "Module"
>       Load  "extmod"
>       Load  "dri"
>       Load  "dbe"
>       Load  "record"
>       Load  "xtrap"
> #     Load  "glx"
>       Load  "type1"
>       Load  "freetype"
> EndSection
> 
> Section "InputDevice"
>       Identifier  "Keyboard0"
>       Driver      "kbd"
> EndSection
> 
> Section "InputDevice"
>       Identifier  "Mouse0"
>       Driver      "mouse"
>       Option      "Protocol" "auto"
>       Option      "Device" "/dev/input/mouse0"
>       Option      "ZAxisMapping" "4 5"
> EndSection
> 
> Section "Monitor"
>       #DisplaySize      280   210     # mm
>       Identifier   "Monitor0"
>       VendorName   "SNY"
>       ModelName    "650"
>       Option      "DPMS"
> 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     "SWcursor"                # [<bool>]
>         #Option     "HWcursor"                # [<bool>]
>         #Option     "NoAccel"                 # [<bool>]
>         #Option     "TurboQueue"              # [<bool>]
>         #Option     "FastVram"                # [<bool>]
>         #Option     "NoHostBus"               # [<bool>]
>         #Option     "RenderAcceleration"      # [<bool>]
>         #Option     "ForceCRT1Type"           # <str>
>         #Option     "ForceCRT2Type"           # <str>
>         #Option     "YPbPrAspectRatio"        # <str>
>         #Option     "ShadowFB"                # [<bool>]
>         Option     "DRI"                      "false"
>         #Option     "AGPSize"                 # <i>
>         #Option     "GARTSize"                # <i>
>         #Option     "Rotate"                  # <str>
>         #Option     "NoXvideo"                "true"
>         #Option     "Vesa"                    # [<bool>]
>         #Option     "MaxXFBMem"               # <i>
>         #Option     "ForceCRT1"               # [<bool>]
>         #Option     "XvOnCRT2"                # [<bool>]
>         #Option     "PanelDelayCompensation"  # <i>
>         #Option     "PanelDelayCompensation1"         # <i>
>         #Option     "PDC"                     # <i>
>         #Option     "PDC1"                    # <i>
>         #Option     "EMI"                     # <i>
>         #Option     "LVDSHL"                  # <i>
>         #Option     "SpecialTiming"           # <str>
>         #Option     "TVStandard"              # <str>
>         #Option     "UseROMData"              # [<bool>]
>         #Option     "NoInternalModes"         # [<bool>]
>         #Option     "UseOEMData"              # [<bool>]
>         #Option     "NoYV12"                  # [<bool>]
>         #Option     "CHTVType"                # [<bool>]
>         #Option     "CHTVOverscan"            # [<bool>]
>         #Option     "CHTVSuperOverscan"       # [<bool>]
>         #Option     "CHTVLumaBandwidthCVBS"   # <i>
>         #Option     "CHTVLumaBandwidthSVIDEO"         # <i>
>         #Option     "CHTVLumaFlickerFilter"   # <i>
>         #Option     "CHTVChromaBandwidth"     # <i>
>         #Option     "CHTVChromaFlickerFilter"         # <i>
>         #Option     "CHTVCVBSColor"           # [<bool>]
>         #Option     "CHTVTextEnhance"         # <i>
>         #Option     "CHTVContrast"            # <i>
>         #Option     "SISTVEdgeEnhance"        # <i>
>         #Option     "SISTVAntiFlicker"        # <str>
>         #Option     "SISTVSaturation"         # <i>
>         #Option     "SISTVCFilter"            # [<bool>]
>         #Option     "SISTVYFilter"            # <i>
>         #Option     "SISTVColorCalibFine"     # <i>
>         #Option     "SISTVColorCalibCoarse"   # <i>
>         #Option     "SISTVXScale"             # <i>
>         #Option     "SISTVYScale"             # <i>
>         #Option     "TVXPosOffset"            # <i>
>         #Option     "TVYPosOffset"            # <i>
>         #Option     "SIS6326TVAntiFlicker"    # <str>
>         #Option     "SIS6326TVEnableYFilter"  # [<bool>]
>         #Option     "SIS6326TVYFilterStrong"  # [<bool>]
>         #Option     "SIS6326TVForcePlug"      # <str>
>         #Option     "SIS6326FSCAdjust"        # <i>
>         #Option     "UseColorHWCursor"        # [<bool>]
>         #Option     "ColorHWCursorBlending"   # [<bool>]
>         #Option     "ColorHWCursorBlendThreshold"     # <i>
>         #Option     "RestoreBySetMode"        # [<bool>]
>         #Option     "NoCRT2Detection"         # [<bool>]
>         #Option     "ForceCRT2ReDetection"    # [<bool>]
>         #Option     "SenseYPbPr"              # [<bool>]
>         #Option     "CRT1Gamma"               # [<bool>]
>         #Option     "CRT2Gamma"               # [<bool>]
>         #Option     "StoredGammaBrightness"   # <str>
>         #Option     "StoredGammaPreBrightness"        # <str>
>         #Option     "XvGamma"                 # <str>
>         #Option     "XvDefaultContrast"       # <i>
>         #Option     "XvDefaultBrightness"     # <i>
>         #Option     "XvDefaultHue"            # <i>
>         #Option     "XvDefaultSaturation"     # <i>
>         #Option     "XvDefaultDisableGfx"     # [<bool>]
>         #Option     "XvDefaultDisableGfxLR"   # [<bool>]
>         #Option     "XvChromaMin"             # <i>
>         #Option     "XvChromaMax"             # <i>
>         #Option     "XvUseChromaKey"          # [<bool>]
>         #Option     "XvInsideChromaKey"       # [<bool>]
>         #Option     "XvYUVChromaKey"          # [<bool>]
>         #Option     "XvDisableColorKey"       # [<bool>]
>         #Option     "XvUseMemcpy"             # [<bool>]
>         #Option     "XvDefaultAdaptor"        # <str>
>         #Option     "ScaleLCD"                # [<bool>]
>         #Option     "CenterLCD"               # [<bool>]
>         #Option     "EnableHotkey"            # [<bool>]
>         #Option     "EnableSiSCtrl"           # [<bool>]
>         #Option     "OverruleFrequencyRanges"         # [<bool>]
>         #Option     "MergedFB"                # [<bool>]
>         #Option     "TwinView"                # [<bool>]
>         #Option     "MergedFBAuto"            # [<bool>]
>         #Option     "CRT2HSync"               # <str>
>         #Option     "SecondMonitorHorizSync"  # <str>
>         #Option     "CRT2VRefresh"            # <str>
>         #Option     "SecondMonitorVertRefresh"        # <str>
>         #Option     "CRT2Position"            # <str>
>         #Option     "TwinViewOrientation"     # <str>
>         #Option     "MetaModes"               # <str>
>         #Option     "MergedDPI"               # <str>
>         #Option     "NoMergedXinerama"        # [<bool>]
>         #Option     "NoTwinviewXineramaInfo"  # [<bool>]
>         #Option     "MergedXineramaCRT2IsScreen0"     # [<bool>]
>       Identifier  "Card0"
>       Driver      "sis"
>       VendorName  "Silicon Integrated Systems [SiS]"
>       BoardName   "Unknown Board"
>       BusID       "PCI:1:0:0"
> EndSection
> 
> Section "Screen"
>       Identifier "Screen0"
>       Device     "Card0"
>       Monitor    "Monitor0"
>       DefaultDepth 24
>       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
>               Modes "1024x768" "800x600"
>       EndSubSection
> EndSection
> 
> If it matters, here is her lspci output:
> 
> catherine ~ # lspci -v
> 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741
> Host (rev 03)
>         Subsystem: Elitegroup Computer Systems Unknown device 1b13
>         Flags: bus master, medium devsel, latency 32
>         Memory at d0000000 (32-bit, non-prefetchable) [size=128M]
>         Capabilities: [c0] AGP version 3.5
> 
> 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port
> (virtual PCI-to-PCI bridge) (prog-if 00 [Normal decode])
>         Flags: bus master, 66MHz, fast devsel, latency 99
>         Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
>         I/O behind bridge: 0000d000-0000dfff
>         Memory behind bridge: e1000000-e10fffff
>         Prefetchable memory behind bridge: d8000000-dfffffff
> 
> 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL
> Media IO] (rev 36)
>         Flags: bus master, medium devsel, latency 0
> 
> 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev
> 01) (prog-if 80 [Master])
>         Subsystem: Elitegroup Computer Systems Unknown device 1b13
>         Flags: bus master, medium devsel, latency 128, IRQ 16
>         I/O ports at <unassigned>
>         I/O ports at <unassigned>
>         I/O ports at <unassigned>
>         I/O ports at <unassigned>
>         I/O ports at 4000 [size=16]
>         Capabilities: [58] Power Management version 2
> 
> 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
> AC'97 Sound Controller (rev a0)
>         Subsystem: Elitegroup Computer Systems Unknown device 1b13
>         Flags: bus master, medium devsel, latency 32, IRQ 21
>         I/O ports at e000 [size=256]
>         I/O ports at e400 [size=128]
>         Capabilities: [48] Power Management version 2
> 
> 00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
> Controller (rev 0f) (prog-if 10 [OHCI])
>         Subsystem: Elitegroup Computer Systems Unknown device 1b13
>         Flags: bus master, medium devsel, latency 32, IRQ 18
>         Memory at e1104000 (32-bit, non-prefetchable) [size=4K]
> 
> 00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
> Controller (rev 0f) (prog-if 10 [OHCI])
>         Subsystem: Elitegroup Computer Systems Unknown device 1b13
>         Flags: bus master, medium devsel, latency 32, IRQ 19
>         Memory at e1100000 (32-bit, non-prefetchable) [size=4K]
> 
> 00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
> Controller (rev 0f) (prog-if 10 [OHCI])
>         Subsystem: Elitegroup Computer Systems Unknown device 1b13
>         Flags: bus master, medium devsel, latency 32, IRQ 20
>         Memory at e1101000 (32-bit, non-prefetchable) [size=4K]
> 
> 00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0
> Controller (prog-if 20 [EHCI])
>         Subsystem: Elitegroup Computer Systems Unknown device 1b13
>         Flags: bus master, medium devsel, latency 32, IRQ 17
>         Memory at e1102000 (32-bit, non-prefetchable) [size=4K]
>         Capabilities: [50] Power Management version 2
> 
> 00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI
> Fast Ethernet (rev 91)
>         Subsystem: Elitegroup Computer Systems Unknown device 1b13
>         Flags: bus master, medium devsel, latency 32, IRQ 22
>         I/O ports at e800 [size=256]
>         Memory at e1103000 (32-bit, non-prefetchable) [size=4K]
>         [virtual] Expansion ROM at 10000000 [disabled] [size=128K]
>         Capabilities: [40] Power Management version 2
> 
> 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]
> 661/741/760/761 PCI/AGP VGA Display Adapter (prog-if 00 [VGA])
>         Subsystem: Elitegroup Computer Systems Unknown device 1b13
>         Flags: 66MHz, medium devsel, IRQ 10
>         BIST result: 00
>         Memory at d8000000 (32-bit, prefetchable) [size=128M]
>         Memory at e1000000 (32-bit, non-prefetchable) [size=128K]
>         I/O ports at d000 [size=128]
>         Capabilities: [40] Power Management version 2
>         Capabilities: [50] AGP version 3.0
> 
> Can anyone help us with this?  I have no idea what to do.  Her mouse and
> my mouse are identical (optical) and our two xorg.conf files are very
> similar.  I have not seen this phenomenon on my PC though.  We are using
> modular X.
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 

Hi Michael,

 if it is the same "mouse-effect" I recognized as I tried to configure
 my X...

 It may be that the "auto" settings for the protocol fail to detect
 the correct protocol (the wrong protocol was the reason for the "wild
 mouse" in my case...). 

 I cannot determine the kind of mouse (manufacturer, brand,
 interface...) from the output you send with your mail...

 My mouse is identified at boot time like this:

   input: Logitech N48 as /class/input/input0
   input: USB HID v1.00 Mouse [Logitech N48] on usb-0000:00:10.0-2.4

 it is an three-button USB-mouse (Logitech).

 I configured it in xorg.conf like:

 
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"      "IMPS/2"
    Option "Device"        "/dev/input/mice
    Option "Buttons"       "5"
    Option "ZAxisMapping"  "4 5" 


 HTH

 Have a nice weekend!
 mcc

-- 
gentoo-user@gentoo.org mailing list

Reply via email to