You are not logged in.

#1 2020-05-27 03:38:35

subnex
Member
Registered: 2009-08-10
Posts: 15

Logitech MX518 causes weird pointer behaviour

This issue has been puzzling me for quite a while, and only recently I managed to figure out that it is the mouse causing it.

Issue:
After a longer time away from the computer (I think when USB sleep or something is engaged) the mouse marker moves when moving the mouse, I sometimes can interact with the active window, but the rest of the desktop is non-responsive to mouse clicks. This happens about 25-50% of the time (so not always).

Observations:
    - Unplugging and replugging the mouse does not make a difference.
    - I am running lxqt desktop with openbox, and have tried KDE as well (same issue).
    - I can not reproduce the issue when using another mouse, hence I think it is the Logitech mouse causing the issue.
    - Interestingly, when having two mouses connected at the same time, the behavior is  repeatable: None of the mouses can interact with the desktop by repeating the above. However, unplugging the MX518 makes the other mouse work again.
   - My latest find: Connecting the logitech mouse through a unpowered USB hub makes the issue appear all the time (including the part that the second mouse stops interacting as well). Could it be a power issue?
   - The back button on the MX518 doesn't work either on Linux (not sure if this is related)

The Logitech MX518 is the re-release from a few years ago (MU0053)

Does anybody have ideas on how solve this or debug this further?

Below are snippets of Xorg.0.log, dmesg and udevadm info.

Thanks,

the Xorg.0.log indicates proper detection of the mouse, also when connected through the USB hub:

[861907.695] (II) config/udev: Adding input device Logitech MX518 Gaming Mouse (/dev/input/mouse1)
[861907.695] (II) No input driver specified, ignoring this device.
[861907.695] (II) This device may have been added with another device file.
[861907.740] (II) config/udev: Adding input device Logitech MX518 Gaming Mouse Keyboard (/dev/input/event19)
[861907.740] (**) Logitech MX518 Gaming Mouse Keyboard: Applying InputClass "evdev keyboard catchall"
[861907.740] (**) Logitech MX518 Gaming Mouse Keyboard: Applying InputClass "libinput keyboard catchall"
[861907.740] (II) Using input driver 'libinput' for 'Logitech MX518 Gaming Mouse Keyboard'
[861907.740] (**) Logitech MX518 Gaming Mouse Keyboard: always reports core events
[861907.740] (**) Option "Device" "/dev/input/event19"
[861907.740] (**) Option "_source" "server/udev"
[861907.742] (II) event19 - Logitech MX518 Gaming Mouse Keyboard: is tagged by udev as: Keyboard
[861907.742] (II) event19 - Logitech MX518 Gaming Mouse Keyboard: device is a keyboard
[861907.742] (II) event19 - Logitech MX518 Gaming Mouse Keyboard: device removed
[861907.761] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8.1/2-8.1:1.1/0003:046D:C08E.0014/input/input70/event19"
[861907.761] (II) XINPUT: Adding extended input device "Logitech MX518 Gaming Mouse Keyboard" (type: KEYBOARD, id 13)
[861907.764] (II) event19 - Logitech MX518 Gaming Mouse Keyboard: is tagged by udev as: Keyboard
[861907.764] (II) event19 - Logitech MX518 Gaming Mouse Keyboard: device is a keyboard
[861907.766] (II) config/udev: Adding input device Logitech MX518 Gaming Mouse Consumer Control (/dev/input/event20)
[861907.766] (**) Logitech MX518 Gaming Mouse Consumer Control: Applying InputClass "evdev keyboard catchall"
[861907.766] (**) Logitech MX518 Gaming Mouse Consumer Control: Applying InputClass "libinput keyboard catchall"
[861907.766] (II) Using input driver 'libinput' for 'Logitech MX518 Gaming Mouse Consumer Control'
[861907.766] (**) Logitech MX518 Gaming Mouse Consumer Control: always reports core events
[861907.766] (**) Option "Device" "/dev/input/event20"
[861907.766] (**) Option "_source" "server/udev"
[861907.768] (II) event20 - Logitech MX518 Gaming Mouse Consumer Control: is tagged by udev as: Keyboard
[861907.768] (II) event20 - Logitech MX518 Gaming Mouse Consumer Control: device is a keyboard
[861907.768] (II) event20 - Logitech MX518 Gaming Mouse Consumer Control: device removed
[861907.792] (II) libinput: Logitech MX518 Gaming Mouse Consumer Control: needs a virtual subdevice
[861907.792] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8.1/2-8.1:1.1/0003:046D:C08E.0014/input/input71/event20"
[861907.792] (II) XINPUT: Adding extended input device "Logitech MX518 Gaming Mouse Consumer Control" (type: MOUSE, id 14)
[861907.793] (**) Option "AccelerationScheme" "none"
[861907.795] (**) Logitech MX518 Gaming Mouse Consumer Control: (accel) selected scheme none/0
[861907.795] (**) Logitech MX518 Gaming Mouse Consumer Control: (accel) acceleration factor: 2.000
[861907.795] (**) Logitech MX518 Gaming Mouse Consumer Control: (accel) acceleration threshold: 4
[861907.797] (II) event20 - Logitech MX518 Gaming Mouse Consumer Control: is tagged by udev as: Keyboard
[861907.797] (II) event20 - Logitech MX518 Gaming Mouse Consumer Control: device is a keyboard
[861907.798] (**) Logitech MX518 Gaming Mouse Consumer Control: Applying InputClass "evdev keyboard catchall"
[861907.798] (**) Logitech MX518 Gaming Mouse Consumer Control: Applying InputClass "libinput keyboard catchall"
[861907.798] (II) Using input driver 'libinput' for 'Logitech MX518 Gaming Mouse Consumer Control'
[861907.798] (**) Logitech MX518 Gaming Mouse Consumer Control: always reports core events
[861907.798] (**) Option "Device" "/dev/input/event20"
[861907.798] (**) Option "_source" "_driver/libinput"
[861907.798] (II) libinput: Logitech MX518 Gaming Mouse Consumer Control: is a virtual subdevice
[861907.798] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8.1/2-8.1:1.1/0003:046D:C08E.0014/input/input71/event20"
[861907.798] (II) XINPUT: Adding extended input device "Logitech MX518 Gaming Mouse Consumer Control" (type: KEYBOARD, id 15)
[861907.801] (II) config/udev: Adding input device Logitech MX518 Gaming Mouse System Control (/dev/input/event21)
[861907.801] (**) Logitech MX518 Gaming Mouse System Control: Applying InputClass "evdev keyboard catchall"
[861907.801] (**) Logitech MX518 Gaming Mouse System Control: Applying InputClass "libinput keyboard catchall"
[861907.801] (II) Using input driver 'libinput' for 'Logitech MX518 Gaming Mouse System Control'
[861907.801] (**) Logitech MX518 Gaming Mouse System Control: always reports core events
[861907.801] (**) Option "Device" "/dev/input/event21"
[861907.801] (**) Option "_source" "server/udev"
[861907.804] (II) event21 - Logitech MX518 Gaming Mouse System Control: is tagged by udev as: Keyboard
[861907.804] (II) event21 - Logitech MX518 Gaming Mouse System Control: device is a keyboard
[861907.804] (II) event21 - Logitech MX518 Gaming Mouse System Control: device removed
[861907.821] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8.1/2-8.1:1.1/0003:046D:C08E.0014/input/input72/event21"
[861907.821] (II) XINPUT: Adding extended input device "Logitech MX518 Gaming Mouse System Control" (type: KEYBOARD, id 16)
[861907.823] (II) event21 - Logitech MX518 Gaming Mouse System Control: is tagged by udev as: Keyboard
[861907.823] (II) event21 - Logitech MX518 Gaming Mouse System Control: device is a keyboard
[861907.824] (II) config/udev: Adding input device Logitech MX518 Gaming Mouse (/dev/input/event18)
[861907.824] (**) Logitech MX518 Gaming Mouse: Applying InputClass "evdev pointer catchall"
[861907.824] (**) Logitech MX518 Gaming Mouse: Applying InputClass "libinput pointer catchall"
[861907.824] (II) Using input driver 'libinput' for 'Logitech MX518 Gaming Mouse'
[861907.824] (**) Logitech MX518 Gaming Mouse: always reports core events
[861907.824] (**) Option "Device" "/dev/input/event18"
[861907.824] (**) Option "_source" "server/udev"
[861907.879] (II) event18 - Logitech MX518 Gaming Mouse: is tagged by udev as: Mouse
[861907.880] (II) event18 - Logitech MX518 Gaming Mouse: device is a pointer
[861907.880] (II) event18 - Logitech MX518 Gaming Mouse: device removed
[861907.925] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8.1/2-8.1:1.0/0003:046D:C08E.0013/input/input69/event18"
[861907.925] (II) XINPUT: Adding extended input device "Logitech MX518 Gaming Mouse" (type: MOUSE, id 17)
[861907.926] (**) Option "AccelerationScheme" "none"
[861907.928] (**) Logitech MX518 Gaming Mouse: (accel) selected scheme none/0
[861907.928] (**) Logitech MX518 Gaming Mouse: (accel) acceleration factor: 2.000
[861907.928] (**) Logitech MX518 Gaming Mouse: (accel) acceleration threshold: 4
[861907.988] (II) event18 - Logitech MX518 Gaming Mouse: is tagged by udev as: Mouse
[861907.988] (II) event18 - Logitech MX518 Gaming Mouse: device is a pointer

dmesg

[861886.744910] usb 2-8.1: new full-speed USB device number 80 using xhci_hcd
[861886.936930] usb 2-8.1: New USB device found, idVendor=046d, idProduct=c08e, bcdDevice=40.00
[861886.936932] usb 2-8.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[861886.936934] usb 2-8.1: Product: MX518 Gaming Mouse
[861886.936934] usb 2-8.1: Manufacturer: Logitech
[861886.936935] usb 2-8.1: SerialNumber: 036F38553733
[861886.943961] input: Logitech MX518 Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8.1/2-8.1:1.0/0003:046D:C08E.0013/input/input69
[861886.944135] hid-generic 0003:046D:C08E.0013: input,hidraw3: USB HID v1.11 Mouse [Logitech MX518 Gaming Mouse] on usb-0000:00:14.0-8.1/input0
[861886.945357] input: Logitech MX518 Gaming Mouse Keyboard as /devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8.1/2-8.1:1.1/0003:046D:C08E.0014/input/input70
[861887.001880] input: Logitech MX518 Gaming Mouse Consumer Control as /devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8.1/2-8.1:1.1/0003:046D:C08E.0014/input/input71
[861887.002084] input: Logitech MX518 Gaming Mouse System Control as /devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8.1/2-8.1:1.1/0003:046D:C08E.0014/input/input72
[861887.002573] hid-generic 0003:046D:C08E.0014: input,hiddev0,hidraw4: USB HID v1.11 Keyboard [Logitech MX518 Gaming Mouse] on usb-0000:00:14.0-8.1/input1

udev info /dev/input/mouse1

P: /devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8.1/2-8.1:1.0/0003:046D:C08E.0019/input/input87/mouse1
N: input/mouse1
L: 0
S: input/by-path/pci-0000:00:14.0-usb-0:8.1:1.0-mouse
S: input/by-id/usb-Logitech_MX518_Gaming_Mouse_036F38553733-mouse
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8.1/2-8.1:1.0/0003:046D:C08E.0019/input/input87/mouse1
E: DEVNAME=/dev/input/mouse1
E: MAJOR=13
E: MINOR=33
E: SUBSYSTEM=input
E: USEC_INITIALIZED=862168862936
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_VENDOR=Logitech
E: ID_VENDOR_ENC=Logitech
E: ID_VENDOR_ID=046d
E: ID_MODEL=MX518_Gaming_Mouse
E: ID_MODEL_ENC=MX518\x20Gaming\x20Mouse
E: ID_MODEL_ID=c08e
E: ID_REVISION=4000
E: ID_SERIAL=Logitech_MX518_Gaming_Mouse_036F38553733
E: ID_SERIAL_SHORT=036F38553733
E: ID_TYPE=hid
E: ID_BUS=usb
E: ID_USB_INTERFACES=:030102:030000:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=usbhid
E: ID_PATH=pci-0000:00:14.0-usb-0:8.1:1.0
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_8_1_1_0
E: DEVLINKS=/dev/input/by-path/pci-0000:00:14.0-usb-0:8.1:1.0-mouse /dev/input/by-id/usb-Logitech_MX518_Gaming_Mouse_036F38553733-mouse

Offline

#2 2020-05-27 04:38:26

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: Logitech MX518 causes weird pointer behaviour

I would do an experiment and switch to the old "evdev" Xorg input driver instead of the newer "libinput" driver. If you want to try this, you need to install the package "xf86-input-evdev" and you need to create the following config file:

Section "InputClass"
    Identifier "evdev-keyboard"
    MatchIsKeyboard "yes"
    Driver "evdev"
EndSection

Section "InputClass"
    Identifier "evdev-mouse"
    MatchIsPointer "yes"
    Driver "evdev"
EndSection

Save this text under for example the following file name:

/etc/X11/xorg.conf.d/01-evdev.conf

The idea here is to try to find out if the problem is inside the "libinput" driver or somewhere else. If the alternative evdev driver has the same problem, you would know that the problem is somewhere else.

About the back button, it should just work with the default setup of the mouse. It's strange that it doesn't work for you. Did you maybe configure something about the button in Logitech's Windows software? This mouse you have can remember the configuration you do in the Logitech software. It can do stuff like play back keyboard key presses by itself without help of a special driver software.

Offline

Board footer

Powered by FluxBB