You are not logged in.

#1 2015-06-25 16:51:09

flying sheep
Member
Registered: 2012-02-29
Posts: 90

Mouse stops moving cursor until I click (autosuspend?)

Hi, I have a logitech G400 (046d:c24c), which started to act weird since my last reboot.

it stops moving the cursor once i stop moving it for 4 seconds. clicking will “wake it up” again

the update i did during the boot before:

[2015-06-24 22:01] [ALPM] upgraded tzdata (2015d-1 -> 2015e-1)
[2015-06-24 22:01] [ALPM] upgraded ca-certificates-mozilla (3.19.1-1 -> 3.19.1-2)
[2015-06-24 22:01] [ALPM] upgraded nss (3.19.1-1 -> 3.19.1-2)
[2015-06-24 22:01] [ALPM] upgraded libsystemd (219-6 -> 221-1)
[2015-06-24 22:01] [ALPM] upgraded libtirpc (0.3.1-1 -> 0.3.2-2)
[2015-06-24 22:01] [ALPM] warning: /etc/systemd/journald.conf installed as /etc/systemd/journald.conf.pacnew
[2015-06-24 22:01] [ALPM] upgraded systemd (219-6 -> 221-1)
[2015-06-24 22:01] [ALPM-SCRIPTLET] Failed to open /dev/tty: No such device or address
[2015-06-24 22:01] [ALPM] upgraded freetype2 (2.5.5-1 -> 2.6-1)
[2015-06-24 22:01] [ALPM] upgraded mesa (10.5.7-1 -> 10.6.0-1)
[2015-06-24 22:01] [ALPM] upgraded libevdev (1.4.2-1 -> 1.4.3-1)
[2015-06-24 22:01] [ALPM] upgraded gnutls (3.4.1-1 -> 3.4.2-1)
[2015-06-24 22:01] [ALPM] upgraded chromium (43.0.2357.125-2 -> 43.0.2357.130-1)
[2015-06-24 22:01] [ALPM] installed libgudev (230-1)
[2015-06-24 22:01] [ALPM] upgraded colord (1.2.9-2 -> 1.2.9-3)
[2015-06-24 22:01] [ALPM] upgraded curl (7.42.1-1 -> 7.43.0-1)
[2015-06-24 22:01] [ALPM] upgraded x265 (1.7-1 -> 1.7-2)
[2015-06-24 22:01] [ALPM] upgraded ffmpeg (1:2.7-1 -> 1:2.7.1-1)
[2015-06-24 22:01] [ALPM] upgraded file (5.22-1 -> 5.23-2)
[2015-06-24 22:01] [ALPM] upgraded firefox-developer-edition (40.0a2+20150619+gea23ed4-1 -> 40.0a2+20150624+gfbd45ea-1)
[2015-06-24 22:01] [ALPM] upgraded flashplugin (11.2.202.466-1 -> 11.2.202.468-1)
[2015-06-24 22:01] [ALPM] upgraded gimp (2.8.14-2 -> 2.8.14-3)
[2015-06-24 22:01] [ALPM] upgraded gst-plugins-bad (1.4.5-2 -> 1.4.5-4)
[2015-06-24 22:01] [ALPM] upgraded gst-plugins-good (1.4.5-2 -> 1.4.5-3)
[2015-06-24 22:01] [ALPM] upgraded gstreamer0.10-good (0.10.31-6 -> 0.10.31-8)
[2015-06-24 22:01] [ALPM] upgraded gstreamer0.10-good-plugins (0.10.31-6 -> 0.10.31-8)
[2015-06-24 22:01] [ALPM] upgraded udisks2 (2.1.5-1 -> 2.1.5-2)
[2015-06-24 22:01] [ALPM] upgraded gvfs (1.24.1-1 -> 1.24.1-2)
[2015-06-24 22:01] [ALPM] upgraded inetutils (1.9.3-1 -> 1.9.4-1)
[2015-06-24 22:01] [ALPM] upgraded ipython (3.1.0-1 -> 3.2.0-1)
[2015-06-24 22:01] [ALPM] upgraded ipython2 (3.1.0-1 -> 3.2.0-1)
[2015-06-24 22:01] [ALPM] upgraded lib32-systemd (219-1 -> 221-1)
[2015-06-24 22:01] [ALPM] upgraded lib32-mesa (10.5.7-1 -> 10.6.0-1)
[2015-06-24 22:01] [ALPM] upgraded libetonyek (0.1.2-1 -> 0.1.3-1)
[2015-06-24 22:01] [ALPM] upgraded libgit2 (1:0.22.1-1 -> 1:0.22.2-1)
[2015-06-24 22:01] [ALPM] upgraded libinput (0.17.0-2 -> 0.18.0-1)
[2015-06-24 22:01] [ALPM] upgraded libmariadbclient (10.0.19-1 -> 10.0.20-1)
[2015-06-24 22:01] [ALPM] upgraded libmbim (1.12.2-1 -> 1.12.2-2)
[2015-06-24 22:01] [ALPM] upgraded libmm-glib (1.4.8-1 -> 1.4.8-2)
[2015-06-24 22:01] [ALPM] upgraded libnm-glib (1.0.2-3 -> 1.0.2-4)
[2015-06-24 22:01] [ALPM] upgraded mariadb-clients (10.0.19-1 -> 10.0.20-1)
[2015-06-24 22:01] [ALPM] upgraded mariadb (10.0.19-1 -> 10.0.20-1)
[2015-06-24 22:01] [ALPM] upgraded modemmanager (1.4.8-1 -> 1.4.8-2)
[2015-06-24 22:01] [ALPM] upgraded mpfr (3.1.2.p11-1 -> 3.1.3-1)
[2015-06-24 22:01] [ALPM] upgraded networkmanager (1.0.2-3 -> 1.0.2-4)
[2015-06-24 22:01] [ALPM] upgraded nm-connection-editor (1.0.2-1 -> 1.0.2-3)
[2015-06-24 22:01] [ALPM] upgraded nm-connection-editor (1.0.2-1 -> 1.0.2-3)
[2015-06-24 22:01] [ALPM] upgraded ocl-icd (2.2.6-1 -> 2.2.7-1)
[2015-06-24 22:01] [ALPM] upgraded openmpi (1.8.5-2 -> 1.8.6-1)
[2015-06-24 22:01] [ALPM] upgraded pdfgrep (1.3.1-1 -> 1.3.2-1)
[2015-06-24 22:01] [ALPM] upgraded python-jsonschema (2.4.0-1 -> 2.5.1-1)
[2015-06-24 22:01] [ALPM] upgraded python-nose (1.3.6-1 -> 1.3.7-1)
[2015-06-24 22:01] [ALPM] upgraded python-pillow (2.8.1-1 -> 2.8.2-1)
[2015-06-24 22:01] [ALPM] upgraded python-py (1.4.28-1 -> 1.4.29-1)
[2015-06-24 22:01] [ALPM] upgraded python-pytest (2.7.1-1 -> 2.7.2-1)
[2015-06-24 22:01] [ALPM] upgraded python2-pillow (2.8.1-1 -> 2.8.2-1)
[2015-06-24 22:01] [ALPM] upgraded python2-psutil (2.2.1-2 -> 3.0.1-1)
[2015-06-24 22:01] [ALPM] upgraded python2-py (1.4.28-1 -> 1.4.29-1)
[2015-06-24 22:01] [ALPM] upgraded python2-pytest (2.7.1-1 -> 2.7.2-1)
[2015-06-24 22:01] [ALPM] upgraded s-nail (14.8.1-1 -> 14.8.2-1)
[2015-06-24 22:01] [ALPM] upgraded systemd-sysvcompat (219-6 -> 221-1)
[2015-06-24 22:02] [ALPM] upgraded udisks (1.0.5-1 -> 1.0.5-2)
[2015-06-24 22:02] [ALPM] upgraded upower (0.99.2-2 -> 0.99.3-1)

there are several suspicious things: libgudev, libinput, upower

some research showed that this problem sounds like one ther people had with autosuspending mice. i have a desktop pc and the mouse is wired so that’s weird, but well…

a workaround for that problem seems to be adding udev rules, so i checked the changed udev rules in that upower update:

+# These devices bind to the hid-logitech-hidpp module since Linux 3.19
+ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", DRIVER=="logitech-hidpp-device", ENV{UPOWER_BATTERY_TYPE}="unifying"
+ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c532", DRIVER=="logitech-hidpp-device", ENV{UPOWER_BATTERY_TYPE}="unifying"

my device id is not among them…

so what happened?

Offline

#2 2015-06-26 17:57:04

mxx
Member
Registered: 2012-11-23
Posts: 27

Re: Mouse stops moving cursor until I click (autosuspend?)

Hi,

I'm sorry I don't have a solution for this but I wanted to let you -and possibly others reading this thread- know that you're not alone with this.
I'm experiencing the same issue since 1-2 days after a full system upgrade.

I have an old Logitech MX5500 with a bluetooth receiver (no unifying either).
Whether I click or not doesn't make any difference. To wake the mouse up again I have to either click or move it for a few seconds. It goes to sleep fairly quickly, something between 5-10 seconds of not moving the mouse is enough sad

The BT receiver registers as an usb hub. I watched kmsg and nothing shows up when the mouse enters "sleep" or awakens from sleep and it does work without problems on other OS, so I guessed the hardware wasn't to blame and started looking for solutions. Yours is the first post I encountered that matched my problem.

Last edited by mxx (2015-06-26 18:04:39)

Offline

#3 2015-06-26 18:28:36

mxx
Member
Registered: 2012-11-23
Posts: 27

Re: Mouse stops moving cursor until I click (autosuspend?)

I didn't have an older libgudev in my cache but I quickly tested downgrading upower and libinput to no effect unfortunately

Offline

#4 2015-06-26 18:39:00

mxx
Member
Registered: 2012-11-23
Posts: 27

Re: Mouse stops moving cursor until I click (autosuspend?)

As suggested in https://bbs.archlinux.org/viewtopic.php?id=199065 by reedts removing /usr/lib/udev/rules.d/42-usb-hid-pm.rules solves the problem. Would like to know what exactly causes this.

Last edited by mxx (2015-06-26 18:39:21)

Offline

#5 2015-06-26 21:05:52

flying sheep
Member
Registered: 2012-02-29
Posts: 90

Re: Mouse stops moving cursor until I click (autosuspend?)

a quick fix is this:

for dev in /sys/bus/usb/devices/*; do
        if [[ -f $dev/idVendor && $(cat $dev/idVendor) == 046d && $(cat $dev/idProduct) == c24c ]]; then
                echo on | sudo tee $dev/power/control
        fi
done

you’ll need to supply your vendor and device ID though

Last edited by flying sheep (2015-06-26 21:06:43)

Offline

#6 2015-06-27 07:57:34

Malvineous
Member
From: Brisbane, Australia
Registered: 2011-02-03
Posts: 190
Website

Re: Mouse stops moving cursor until I click (autosuspend?)

As per the other thread, this is USB powersaving that is causing this.  It was enabled but then it became apparent a lot of keyboards (and apparently mice) report that they support power saving when they don't really (or it's not fast enough to be usable.)

All power saving related things have been taken out of systemd-udevd now, so the next release (systemd-222) should no longer have this problem when it comes out.

Offline

#7 2015-06-27 12:54:07

mxx
Member
Registered: 2012-11-23
Posts: 27

Re: Mouse stops moving cursor until I click (autosuspend?)

Thanks for letting us know! This is good news smile

Offline

Board footer

Powered by FluxBB