Bug 92856

Summary: Logitech G600 mouse pointer issue
Product: xorg Reporter: Gabriel Cavallo <gabrielcavallo>
Component: Input/evdevAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: peter.hutterer
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
i915 platform: i915 features:
Description Flags
Logitech G600 event0 recording
Logitech G600 event1 recording
libinput settings
list device
xorg logs none

Description Gabriel Cavallo 2015-11-07 13:33:26 UTC

Using evdev 2.10.0 and xorg-server 1.17.4

Mouse clicks makes my mouse move half way across my screen with my Logitech G600. This makes the cursor pretty much unusable. My other mouse (MX570 trackball) worked fine. Sadly all my xorg logs got replaced by trying to fix the issue.

Only fix I could find is to downgrade to evdev 2.9.2 and xorg-server 1.17.3
Comment 1 Peter Hutterer 2015-11-08 21:20:19 UTC

look through this page please and attach the information required. If you don't have libinput, just stick to the evemu bits.
Comment 2 Gabriel Cavallo 2015-11-09 16:09:00 UTC
Created attachment 119514 [details]
Logitech G600 event0 recording
Comment 3 Gabriel Cavallo 2015-11-09 16:09:29 UTC
Created attachment 119515 [details]
Logitech G600 event1 recording
Comment 4 Gabriel Cavallo 2015-11-09 16:10:45 UTC
Created attachment 119516 [details]
libinput settings
Comment 5 Gabriel Cavallo 2015-11-09 16:14:25 UTC
Created attachment 119517 [details]
list device
Comment 6 Gabriel Cavallo 2015-11-09 16:26:05 UTC
Comment on attachment 119515 [details]
Logitech G600 event1 recording

event1 evemu reproduces issue on evdev 2.10.0 but not on evdev 2.9.2
Comment 7 Peter Hutterer 2015-11-10 04:48:23 UTC
Created attachment 119527 [details] [review]

Give this one a try please
Comment 8 Gabriel Cavallo 2015-11-10 12:15:05 UTC
Created attachment 119539 [details]
xorg logs

It compiles just fine but I can't for the life of me get it to recognize any of my input devices... I'm probably missing some config?

Anyways I've attached xorg logs for all tested versions that may help.
Comment 9 Peter Hutterer 2015-11-10 21:29:18 UTC
did you remove the distribution-provided evdev driver? Looks like this file is missing: http://cgit.freedesktop.org/xorg/driver/xf86-input-evdev/tree/10-evdev.conf
put that in /etc/X11/xorg.conf.d and restart the server and that should be it. Once you switch back to the distribution package, you can drop the file again.
Comment 10 Gabriel Cavallo 2015-11-11 16:51:59 UTC
Oh I didn't figure it installs in /usr/local instead!
The patch actually does work! I tested every buttons and the patch fixes the cursor issue on all buttons.

As a side note I think the Makefile does not find the xorg.conf directory for me so I indeed needed to copy it over manually:

 /usr/bin/mkdir -p 'NONE/share/X11/xorg.conf.d'
 /usr/bin/install -c -m 644 10-evdev.conf 'NONE/share/X11/xorg.conf.d'

I'll keep the patch running for a few days let me know if you need more info.
Comment 11 Peter Hutterer 2015-11-12 20:53:05 UTC
pushed it now, let me know if you find any problems with it though. Thanks.

commit d7e61a7074b802b49f57549530b289bbaa0a4855
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Nov 10 14:35:51 2015 +1000

    Only map x and y to axes 0 and 1

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.