Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB mouse sticking to left border in recent kernels
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
luckmann
n00b
n00b


Joined: 09 Dec 2005
Posts: 10

PostPosted: Tue Dec 12, 2006 3:54 pm    Post subject: USB mouse sticking to left border in recent kernels Reply with quote

Hello,

can someone help me with my problem? The pointer of the USB mouse of my notebook is jumping to the left screen border (usually after a few minutes), and can only be moved a few pixels to the right before it jumps back to the left border. Up/down movement and the touchpad on the other hand work without problems.

Symptoms:

  • This does not happen in 2.6.14-hardened-r8 or older, but constantly in 2.6.16-hardened-r11 and newer.
  • So far, this has only happened in X. Even if the problem occurs in X, the mouse works still fine in text mode. Reset of the X server makes the mouse work again (however, for a few minutes only).
  • This seems to be independent of the X.org version.
  • This seems to be independent of the chosen driver (mouse/evdev) and the chosen protocol (Auto, USB, or ImPS/2).
  • No log entries regarding crashed drivers (neither kernel nor X).

The fact that this problem is only dependent on the kernel version, but manifests only in X appears somewhat strange to me.

Does someone have an idea how to resolve this problem?

Regards,
Carsten
Back to top
View user's profile Send private message
ce110ut
Apprentice
Apprentice


Joined: 27 Sep 2002
Posts: 200

PostPosted: Tue Dec 12, 2006 7:17 pm    Post subject: Reply with quote

post your xorg config?

Code:

cat /etc/X11/xorg.conf
Back to top
View user's profile Send private message
luckmann
n00b
n00b


Joined: 09 Dec 2005
Posts: 10

PostPosted: Wed Dec 13, 2006 10:32 am    Post subject: Reply with quote

Hello,

my xorg.conf:

Code:

Section "DRI"
        Group        0
        Mode         0666
EndSection


Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "type1"
        Load  "freetype"
        Load  "glx"
        Load  "dri"
        Load  "synaptics"
        Load  "evdev"
EndSection


Section "Files"
        FontPath     "/usr/share/fonts/local/"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection


Section "ServerFlags"
        # usually using dual head to be able to plug in an external screen/beamer.
        # regarding my problem, single head behaves the same
        Option          "DefaultServerLayout"   "dual"

        # allow starting X even if the USB mouse is not plugged in.
        # value makes no difference to my actual problem.
        Option          "AllowMouseOpenFail"    "true"
EndSection


Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "keyboard"
        Option      "CoreKeyboard"
        Option      "AutoRepeat" "500 30"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "nodeadkeys"
EndSection


# Synaptics touchpad
Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option      "CorePointer"
        Option      "Device" "/dev/psaux"
        Option      "Protocol" "auto-dev"
        Option      "LeftEdge" "1100"
        Option      "RightEdge" "4900"
        Option      "TopEdge" "800"
        Option      "BottomEdge" "5300"
        Option      "FingerLow" "25"
        Option      "FingerHigh" "30"
        Option      "MaxTapTime" "180"
        Option      "MaxTapMove" "220"
        Option      "VertScrollDelta" "100"
        Option      "MinSpeed" "0.09"
        Option      "MaxSpeed" "0.18"
        Option      "AccelFactor" "0.0015"
        Option      "SHMConfig" "on"
        Option      "TapButton1" "1"
        Option      "TapButton2" "1"
        Option      "TapButton3" "1"
EndSection


# USB mouse, Logitech V200
Section "InputDevice"
        Identifier  "Logitech V200"

        # evdev allows me to use the tilt wheel.
        # driver mouse makes no difference to my problem.
        Driver      "evdev"

        # bug in evdev needs /dev/input/event?
        Option      "Device" "/dev/input/event9"
        Option      "Protocol" "Auto"
        Option      "ZAxisMapping" "4 5 7 6"
        Option      "Emulate3Buttons" "false"
        Option      "SendCoreEvents" "true"
EndSection


# built–in TFT
Section "Monitor"
        Identifier   "aticonfig-Monitor[0]"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection


# external screen
Section "Monitor"
        Identifier   "aticonfig-Monitor[1]"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection


# TFT
Section "Device"
        Identifier  "aticonfig-Device[0]"
        Driver      "fglrx"
        Option      "no_accel" "no"
        Option      "no_dri" "no"
        Option      "VideoOverlay" "on"
        Option      "VideoOverlay" "on"
        Option      "TVFormat" "PAL-B"
        Option      "TVStandard" "VIDEO"
        Option      "DesktopSetup" "0x00"
        Option      "ForceMonitors" "lvds,crt1"
        Option      "OverlayOnCRTC2" "0"
        Option      "Centermode" "off"
        Option      "EnablePrivateBackZ" "on"
        Option      "UseInternalAGPGART" "off"
        BusID       "PCI:1:0:0"
EndSection


# external screen
Section "Device"
        Identifier  "aticonfig-Device[1]"
        Driver      "fglrx"
        Option      "EnablePrivateBackZ" "on"
        BusID       "PCI:1:0:0"
        Screen      1
EndSection


# TFT
Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1400x1050" "1280x960" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection


# external screen
Section "Screen"
        Identifier "aticonfig-Screen[1]"
        Device     "aticonfig-Device[1]"
        Monitor    "aticonfig-Monitor[1]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection


# single head server layout
Section "ServerLayout"
        Identifier     "single"
        Screen      0  "aticonfig-Screen[0]" 0 0
        InputDevice    "Keyboard1" "CoreKeyboard"
        InputDevice    "Synaptics" "CorePointer"
        InputDevice    "Logitech V200" "SendCoreEvents"
EndSection


# dual head server layout
Section "ServerLayout"
        Identifier     "dual"
        Screen      0  "aticonfig-Screen[0]" 0 0
        Screen         "aticonfig-Screen[1]" RightOf "aticonfig-Screen[0]"
        InputDevice    "Keyboard1" "CoreKeyboard"
        InputDevice    "Synaptics" "CorePointer"
        InputDevice    "Logitech V200" "SendCoreEvents"
EndSection
Back to top
View user's profile Send private message
DirtyHairy
l33t
l33t


Joined: 03 Jul 2006
Posts: 608
Location: Würzburg, Deutschland

PostPosted: Wed Dec 13, 2006 11:33 am    Post subject: Reply with quote

Try using the "mouse" driver and the "IMPS/2 " protocol instead of the evdev driver (you will have to change the device node used accordingly, of course), that works fine for me (didn't try evdev).
Back to top
View user's profile Send private message
luckmann
n00b
n00b


Joined: 09 Dec 2005
Posts: 10

PostPosted: Wed Dec 13, 2006 12:32 pm    Post subject: Reply with quote

Hello!

DirtyHairy wrote:
Try using the "mouse" driver and the "IMPS/2 " protocol instead of the evdev driver (you will have to change the device node used accordingly, of course), that works fine for me (didn't try evdev).


If it were this simple, I would have found the solution before, but as I wrote in my original post, changing the driver to mouse or changing the protocol to "ImPS/2" does not solve this problem. In fact, I could not spot any difference in the mouse behaviour among the protocols Auto, USB, and ImPS/2. The only difference between mouse and evdev seems to be, that the tilt wheel does not work with the "mouse" driver.

Regards,
Carsten
Back to top
View user's profile Send private message
Strunzdesign
n00b
n00b


Joined: 12 May 2004
Posts: 67
Location: Nuremberg - Germany

PostPosted: Tue Jan 16, 2007 4:46 pm    Post subject: Reply with quote

Hi!

I'm having the exactly same problem here, on lots of different machines (10... a mix from P3 500MHz to Athlon XP 2000+). I'm maintaining several Gentoo installations in our computer lab. All are based on the hardened/2.6 profile. All stable. Recent hardened kernels. PS/2 mice. It's exactly like described above... I really have no idea what's going on.

My suggestion: Perhaps its related to "hardened"? All my non-lab PCs aren't using the hardened profile, and do not suffer from this problem! Any ideas?

Regards,
Florian
Back to top
View user's profile Send private message
luckmann
n00b
n00b


Joined: 09 Dec 2005
Posts: 10

PostPosted: Fri Feb 09, 2007 2:37 pm    Post subject: Reply with quote

Hello,

meanwhile I've found out that the gentoo-sources don't have the problem, so I think it's not X related but rather kernel related.

Maybe someone knowing more about kernel sources and patches can tell us what went into the hardened-sources somewhere between 2.6.14 and 2.6.16 that did not enter the gentoo-sources.

Carsten
Back to top
View user's profile Send private message
luckmann
n00b
n00b


Joined: 09 Dec 2005
Posts: 10

PostPosted: Tue May 08, 2007 3:06 pm    Post subject: [Solved?]USB mouse sticking to left border in recent kernels Reply with quote

It looks as if the problem is gone in hardened-sources-2.6.20-r2.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum