Spurious mouse events cause clicks, cursor jumps

Bug #1360555 reported by Paul Leopardi on 2014-08-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-input-evdev (Ubuntu)
Undecided
Unassigned

Bug Description

This seems to be a continuation of bug #550047.

I have a Dell MS111-type USB optical mouse, and when I move the mouse the curor jumps, and sometimes click-drags.

The output of xev reports multiple ButtonPress/ButtonRelease pairs for buttons 4, 5 and 6. Example:

MotionNotify event, serial 37, synthetic NO, window 0xa400001,
    root 0xae, subw 0x0, time 704411333, (81,82), root:(2335,146),
    state 0x0, is_hint 0, same_screen YES

ButtonPress event, serial 37, synthetic NO, window 0xa400001,
    root 0xae, subw 0x0, time 704411362, (81,82), root:(2335,146),
    state 0x0, button 6, same_screen YES

ButtonRelease event, serial 37, synthetic NO, window 0xa400001,
    root 0xae, subw 0x0, time 704411362, (81,82), root:(2335,146),
    state 0x0, button 6, same_screen YES

ButtonPress event, serial 37, synthetic NO, window 0xa400001,
    root 0xae, subw 0x0, time 704411362, (81,82), root:(2335,146),
    state 0x0, button 5, same_screen YES

ButtonRelease event, serial 37, synthetic NO, window 0xa400001,
    root 0xae, subw 0x0, time 704411362, (81,82), root:(2335,146),
    state 0x1000, button 5, same_screen YES

$ ls -lt /usr/share/X11/xorg.conf.d
total 32
-rw-r--r-- 1 root root 1099 Apr 16 23:38 10-evdev.conf
-rw-r--r-- 1 root root 1867 Apr 16 23:38 10-quirks.conf
-rw-r--r-- 1 root root 1757 Apr 10 20:04 50-synaptics.conf
-rw-r--r-- 1 root root 590 Apr 10 20:04 51-synaptics-quirks.conf
-rw-r--r-- 1 root root 115 Feb 5 2014 50-vmmouse.conf
-rw-r--r-- 1 root root 590 Feb 5 2014 11-evdev-quirks.conf
-rw-r--r-- 1 root root 364 Feb 5 2014 11-evdev-trackpoint.conf
-rw-r--r-- 1 root root 842 Feb 5 2014 50-wacom.conf

$ cat /usr/share/X11/xorg.conf.d/10-evdev.conf
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

From /var/log/Xorg.0.log:
[699531.439] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event4)
[699531.440] (**) Logitech USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[699531.440] (II) Using input driver 'evdev' for 'Logitech USB Optical Mouse'
[699531.440] (**) Logitech USB Optical Mouse: always reports core events
[699531.440] (**) evdev: Logitech USB Optical Mouse: Device: "/dev/input/event4"
[699531.440] (--) evdev: Logitech USB Optical Mouse: Vendor 0x46d Product 0xc05a
[699531.440] (--) evdev: Logitech USB Optical Mouse: Found 12 mouse buttons
[699531.440] (--) evdev: Logitech USB Optical Mouse: Found scroll wheel(s)
[699531.440] (--) evdev: Logitech USB Optical Mouse: Found relative axes
[699531.440] (--) evdev: Logitech USB Optical Mouse: Found x and y relative axes
[699531.440] (II) evdev: Logitech USB Optical Mouse: Configuring as mouse
[699531.440] (II) evdev: Logitech USB Optical Mouse: Adding scrollwheel support
[699531.440] (**) evdev: Logitech USB Optical Mouse: YAxisMapping: buttons 4 and 5
[699531.440] (**) evdev: Logitech USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[699531.440] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4.4/2-1.4.4:1.0/input/input108/event4"
[699531.440] (II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE, id 10)
[699531.440] (II) evdev: Logitech USB Optical Mouse: initialized for relative axes.
[699531.440] (**) Logitech USB Optical Mouse: (accel) keeping acceleration scheme 1
[699531.440] (**) Logitech USB Optical Mouse: (accel) acceleration profile 0
[699531.440] (**) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
[699531.440] (**) Logitech USB Optical Mouse: (accel) acceleration threshold: 4
[699531.441] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)
[699531.441] (II) No input driver specified, ignoring this device.
[699531.441] (II) This device may have been added with another device file.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-34.60-generic 3.13.11.4
Uname: Linux 3.13.0-34-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
CurrentDesktop: KDE
Date: Sat Aug 23 17:45:51 2014
SourcePackage: xserver-xorg-input-evdev
UpgradeStatus: Upgraded to trusty on 2014-07-26 (27 days ago)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers