You are not logged in.

#1 2018-11-22 20:21:50

Simul
Member
Registered: 2018-11-22
Posts: 8

Mouse randomely freezes (disconnects/reconnects)

Mouse: Logitech G203 (also happens on the G300S, haven't tested any other mice)
Input Driver: Happens with libinput and evdev (libinput used was the default config made the nvidia driver, evdev was used following the guide for extra mouse buttons on the Arch Wiki)
Kernel: 4.19.2
GPU Driver: Nvidia 410.78

My mouse for no apparent reason disconnects and reconnects. The mouse is disconnected anywhere from <1 second to 5 seconds or so. It acts like I just unplugged the mouse (i.e. the lights turn off).
Here's my xorg log

Offline

#2 2018-11-22 21:12:39

nbd
Member
Registered: 2014-08-04
Posts: 389

Re: Mouse randomely freezes (disconnects/reconnects)

What is in journal?


bing different

Offline

#3 2018-11-22 21:19:29

Simul
Member
Registered: 2018-11-22
Posts: 8

Re: Mouse randomely freezes (disconnects/reconnects)

Where's/What's journal?

Offline

#4 2018-11-22 21:22:48

nbd
Member
Registered: 2014-08-04
Posts: 389

Re: Mouse randomely freezes (disconnects/reconnects)

Just after a mouse disconnection run

journalctl -xn 20

bing different

Offline

#5 2018-11-22 21:33:05

Simul
Member
Registered: 2018-11-22
Posts: 8

Re: Mouse randomely freezes (disconnects/reconnects)

Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
      Pass -q to turn off this notice.
-- Logs begin at Sat 2018-06-30 06:12:38 EDT, end at Thu 2018-11-22 15:14:49 EST. --
Nov 22 14:48:56 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Successfully activated service 'org.gnome.GCon>
Nov 22 14:48:56 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Activating via systemd: service name='org.a11y>
Nov 22 14:48:56 archlinux systemd[429]: Starting Accessibility services bus...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit UNIT has begun starting up.
Nov 22 14:48:56 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Successfully activated service 'org.a11y.Bus'
Nov 22 14:48:56 archlinux systemd[429]: Started Accessibility services bus.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Nov 22 14:48:56 archlinux at-spi-bus-launcher[545]: dbus-daemon[558]: Activating service name='org.a11y.atspi.Registr>
Nov 22 14:48:56 archlinux at-spi-bus-launcher[545]: dbus-daemon[558]: Successfully activated service 'org.a11y.atspi.>
Nov 22 14:48:56 archlinux at-spi-bus-launcher[545]: SpiRegistry daemon is running with well-known name - org.a11y.ats>
Nov 22 14:48:57 archlinux systemd[429]: Started Sound Service.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Nov 22 14:49:09 archlinux sudo[685]: pam_unix(sudo:auth): authentication failure; logname= uid=1000 euid=0 tty=/dev/p>
Nov 22 14:51:06 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Activating via systemd: service name='org.free>
Nov 22 14:51:06 archlinux systemd[429]: Starting Dunst notification daemon...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit UNIT has begun starting up.
Nov 22 14:51:06 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Successfully activated service 'org.freedeskto>
Nov 22 14:51:06 archlinux systemd[429]: Started Dunst notification daemon.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Nov 22 14:51:09 archlinux dunst[1009]: Error parsing markup: Error on line 1: Entity did not end with a semicolon; mo>
Nov 22 14:51:14 archlinux dunst[1009]: Error parsing markup: Error on line 1: Entity did not end with a semicolon; mo>
Nov 22 15:02:39 archlinux dunst[1009]: Error parsing markup: Error on line 1: Entity did not end with a semicolon; mo>
Nov 22 15:14:38 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Reloaded configuration
Nov 22 15:14:49 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Activating service name='ca.desrt.dconf' reque>
Nov 22 15:14:49 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Successfully activated service 'ca.desrt.dconf'
lines 1-52/52 (END)...skipping...
-- Logs begin at Sat 2018-06-30 06:12:38 EDT, end at Thu 2018-11-22 15:14:49 EST. --
Nov 22 14:48:56 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Successfully activated service 'org.gnome.GConf'
Nov 22 14:48:56 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.5' (uid=1000 pid=464 comm="python3 /usr/bin/redshift-gtk -l 38.9790>
Nov 22 14:48:56 archlinux systemd[429]: Starting Accessibility services bus...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit UNIT has begun starting up.
Nov 22 14:48:56 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Successfully activated service 'org.a11y.Bus'
Nov 22 14:48:56 archlinux systemd[429]: Started Accessibility services bus.
-- Subject: Unit UNIT has finished start-up
-- Logs begin at Sat 2018-06-30 06:12:38 EDT, end at Thu 2018-11-22 15:14:49 EST. --
Nov 22 14:48:56 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Successfully activated service 'org.gnome.GCon>
Nov 22 14:48:56 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Activating via systemd: service name='org.a11y>
Nov 22 14:48:56 archlinux systemd[429]: Starting Accessibility services bus...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit UNIT has begun starting up.
Nov 22 14:48:56 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Successfully activated service 'org.a11y.Bus'
Nov 22 14:48:56 archlinux systemd[429]: Started Accessibility services bus.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Nov 22 14:48:56 archlinux at-spi-bus-launcher[545]: dbus-daemon[558]: Activating service name='org.a11y.atspi.Registr>
Nov 22 14:48:56 archlinux at-spi-bus-launcher[545]: dbus-daemon[558]: Successfully activated service 'org.a11y.atspi.>
Nov 22 14:48:56 archlinux at-spi-bus-launcher[545]: SpiRegistry daemon is running with well-known name - org.a11y.ats>
Nov 22 14:48:57 archlinux systemd[429]: Started Sound Service.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Nov 22 14:49:09 archlinux sudo[685]: pam_unix(sudo:auth): authentication failure; logname= uid=1000 euid=0 tty=/dev/p>
Nov 22 14:51:06 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Activating via systemd: service name='org.free>
Nov 22 14:51:06 archlinux systemd[429]: Starting Dunst notification daemon...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit UNIT has begun starting up.
Nov 22 14:51:06 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Successfully activated service 'org.freedeskto>
Nov 22 14:51:06 archlinux systemd[429]: Started Dunst notification daemon.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Nov 22 14:51:09 archlinux dunst[1009]: Error parsing markup: Error on line 1: Entity did not end with a semicolon; mo>
Nov 22 14:51:14 archlinux dunst[1009]: Error parsing markup: Error on line 1: Entity did not end with a semicolon; mo>
Nov 22 15:02:39 archlinux dunst[1009]: Error parsing markup: Error on line 1: Entity did not end with a semicolon; mo>
Nov 22 15:14:38 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Reloaded configuration
Nov 22 15:14:49 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Activating service name='ca.desrt.dconf' reque>
Nov 22 15:14:49 archlinux dbus-daemon[446]: [session uid=1000 pid=446] Successfully activated service 'ca.desrt.dconf'

Offline

#6 2018-11-22 21:37:17

nbd
Member
Registered: 2014-08-04
Posts: 389

Re: Mouse randomely freezes (disconnects/reconnects)

Your user account is not in administrative groups. Either add the user to 'adm' group or run journalctl with sudo. Kernel messages are in the system journal.


bing different

Offline

#7 2018-11-22 21:44:28

Simul
Member
Registered: 2018-11-22
Posts: 8

Re: Mouse randomely freezes (disconnects/reconnects)

With sudo

-- Logs begin at Thu 2018-06-28 12:32:17 EDT, end at Thu 2018-11-22 16:50:52 EST. --\
Nov 22 16:50:37 archlinux sudo[14369]:     john : TTY=pts/1 ; PWD=/home/john ; USER=root ; COMMAND=/usr/bin/journalctl -xn 20\
Nov 22 16:50:37 archlinux sudo[14369]: pam_unix(sudo:session): session opened for user root by (uid=0)\
Nov 22 16:50:37 archlinux sudo[14369]: pam_unix(sudo:session): session closed for user root\
Nov 22 16:50:51 archlinux kernel: usb 1-5: USB disconnect, device number 58\
Nov 22 16:50:51 archlinux kernel: usb 1-5: new full-speed USB device number 59 using xhci_hcd\
Nov 22 16:50:51 archlinux kernel: usb 1-5: New USB device found, idVendor=046d, idProduct=c084, bcdDevice= 7.03\
Nov 22 16:50:51 archlinux kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3\
Nov 22 16:50:51 archlinux kernel: usb 1-5: Product: G203 Prodigy Gaming Mouse\
Nov 22 16:50:51 archlinux kernel: usb 1-5: Manufacturer: Logitech\
Nov 22 16:50:51 archlinux kernel: usb 1-5: SerialNumber: 186D367C3037\
Nov 22 16:50:51 archlinux kernel: input: Logitech G203 Prodigy Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:046D:C084.014B/input/input993\
Nov 22 16:50:51 archlinux kernel: hid-generic 0003:046D:C084.014B: input,hidraw3: USB HID v1.11 Mouse [Logitech G203 Prodigy Gaming Mouse] on usb-0000:00:14.0-5/input0\
Nov 22 16:50:51 archlinux kernel: input: Logitech G203 Prodigy Gaming Mouse Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:046D:C084.014C/input/input994\
Nov 22 16:50:51 archlinux kernel: input: Logitech G203 Prodigy Gaming Mouse Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:046D:C084.014C/input/input995\
Nov 22 16:50:51 archlinux kernel: input: Logitech G203 Prodigy Gaming Mouse System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:046D:C084.014C/input/input996\
Nov 22 16:50:51 archlinux kernel: hid-generic 0003:046D:C084.014C: input,hiddev0,hidraw4: USB HID v1.11 Keyboard [Logitech G203 Prodigy Gaming Mouse] on usb-0000:00:14.0-5/input1\
Nov 22 16:50:51 archlinux kernel: usb 1-5: USB disconnect, device number 59\
Nov 22 16:50:52 archlinux kernel: usb 1-5: new full-speed USB device number 60 using xhci_hcd\
Nov 22 16:50:52 archlinux sudo[14386]:     john : TTY=pts/1 ; PWD=/home/john ; USER=root ; COMMAND=/usr/bin/journalctl -xn 20\
Nov 22 16:50:52 archlinux sudo[14386]: pam_unix(sudo:session): session opened for user root by (uid=0)\

edit: I copied it wrong, woops
fixed

Last edited by Simul (2018-11-22 21:52:41)

Offline

#8 2018-11-22 21:54:27

nbd
Member
Registered: 2014-08-04
Posts: 389

Re: Mouse randomely freezes (disconnects/reconnects)

Try to turn off autosuspend for USB:

https://wiki.archlinux.org/index.php/Power_management

If this doesn't help, the problem may be with hardware (either the USB port or mouse).


bing different

Offline

#9 2018-11-22 22:01:25

Simul
Member
Registered: 2018-11-22
Posts: 8

Re: Mouse randomely freezes (disconnects/reconnects)

Sorry I don't really understand from that wiki page how to disable it. Can you explain it?

Offline

#10 2018-11-22 22:15:13

nbd
Member
Registered: 2014-08-04
Posts: 389

Re: Mouse randomely freezes (disconnects/reconnects)

Yes, you need to find out the idVendor and idProduct of your mouse with 'lsusb -v' and add the udev rule as described in the 'blacklist' receipt here:

https://wiki.archlinux.org/index.php/Po … utosuspend

For more detailed information you can refer to:

https://www.kernel.org/doc/Documentatio … gement.txt


bing different

Offline

#11 2018-11-22 22:35:16

Simul
Member
Registered: 2018-11-22
Posts: 8

Re: Mouse randomely freezes (disconnects/reconnects)

Despite TViaA1A.png it still happens.

Would there be a way to fully disable on my system perhaps?

Offline

#12 2018-11-22 23:00:43

nbd
Member
Registered: 2014-08-04
Posts: 389

Re: Mouse randomely freezes (disconnects/reconnects)

UDEV rule for totallu disabling USB autosuspend:

ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="on"

bing different

Offline

#13 2018-11-22 23:07:30

Simul
Member
Registered: 2018-11-22
Posts: 8

Re: Mouse randomely freezes (disconnects/reconnects)

Still happens. Ugh. Maybe I'll just get a new mouse

Offline

#14 2018-11-23 00:32:59

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

Re: Mouse randomely freezes (disconnects/reconnects)

Simul wrote:

Still happens. Ugh. Maybe I'll just get a new mouse

But you said you tried two different mice. It'll probably happen again with a third mouse.

Offline

#15 2018-11-23 04:06:13

Simul
Member
Registered: 2018-11-22
Posts: 8

Re: Mouse randomely freezes (disconnects/reconnects)

Both were Logitech mice. Might be something to do with them or my motherboard, which I'm upgrading at Christmas

Offline

Board footer

Powered by FluxBB