You are not logged in.

#1 2022-12-11 09:10:03

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

[Solved] Logitec unifying receiver lags every reboot

I have a Logitec wireless keyboard and mouse connected to a Logitec unifying receiver plugged into a normal USB port. As a whole it works very well but I've noticed every time I reboot, both keyboard and mouse starts having a really noticeable lag in response. The only way I could get the normal response back is by unplugging and plugging the USB receiver live online.
Is there a way to fix this? I am suspecting a bus issue but not entirely sure how to proceed. Any help will be appreciated.

Last edited by d_fajardo (2022-12-28 12:37:00)

Offline

#2 2022-12-11 17:07:28

malteo
Member
Registered: 2008-04-05
Posts: 3

Re: [Solved] Logitec unifying receiver lags every reboot

Offline

#3 2022-12-11 17:15:56

NoSavvy
Member
From: Dorchester, Dorset, UK
Registered: 2013-01-23
Posts: 127

Re: [Solved] Logitec unifying receiver lags every reboot

Mine needs to be about 1200mm or less from the dongle or else a delay or intermittent. It also plays up (only sometimes) if there is another wireless mouse nearby.

Offline

#4 2022-12-17 19:45:00

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: [Solved] Logitec unifying receiver lags every reboot

I tried various ways but the problem persist. A few things are clear however:

          The lag happens only happens on reboot. If I put computer to sleep, the mouse responds just fine on wakeup.

          It's not really a lag but more like a delay. After booting, I end with my KDE environment. If I don't use the mouse for 5 seconds, then there's a delay restarting it to move. However once moving, as long as that 5 seconds of inactivity has not been violated, the mouse functions normally.

          The only way to remove the delay is by unplugging and plugging back in the unifying device


Question, is it possible to create a udev rule to simulate unplugging and plugging back in of devices?
I also have a feeling this might be Solaar issue. I tried the git version but no change.

Offline

#5 2022-12-18 09:31:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,732

Re: [Solved] Logitec unifying receiver lags every reboot

If I don't use the mouse for 5 seconds, then there's a delay restarting it to move. However once moving, as long as that 5 seconds of inactivity has not been violated, the mouse functions normally.

That's gonna be USB autosuspend for 99.9999% sure. The device might even respond badly to a single occurrence.
https://wiki.archlinux.org/title/Power_ … utosuspend

Offline

#6 2022-12-26 01:29:02

Gytis
Member
Registered: 2022-02-18
Posts: 5

Re: [Solved] Logitec unifying receiver lags every reboot

d_fajardo wrote:

I tried various ways but the problem persist. A few things are clear however:

          The lag happens only happens on reboot. If I put computer to sleep, the mouse responds just fine on wakeup.

          It's not really a lag but more like a delay. After booting, I end with my KDE environment. If I don't use the mouse for 5 seconds, then there's a delay restarting it to move. However once moving, as long as that 5 seconds of inactivity has not been violated, the mouse functions normally.

          The only way to remove the delay is by unplugging and plugging back in the unifying device


Question, is it possible to create a udev rule to simulate unplugging and plugging back in of devices?
I also have a feeling this might be Solaar issue. I tried the git version but no change.

Had same problem after installed power manager app PowerTop, your pc just power saving. And I can tell what after installing kernel 6.1.1 got problems too with logitech receiver ( scroll wheel was skipping scrolls in some apps like firefox). Installed LTS kernel fixed this too.

Last edited by Gytis (2022-12-26 17:04:23)

Offline

#7 2022-12-26 08:03:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,732

Re: [Solved] Logitec unifying receiver lags every reboot

"LTS" and merely installing powertop in and by itself won't do anything on archlinux.

Offline

#8 2022-12-26 16:58:31

Gytis
Member
Registered: 2022-02-18
Posts: 5

Re: [Solved] Logitec unifying receiver lags every reboot

seth wrote:

"LTS" and merely installing powertop in and by itself won't do anything on archlinux.

What?

Offline

#9 2022-12-26 19:11:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,732

Re: [Solved] Logitec unifying receiver lags every reboot

"merely installing powertop in and by itself won't do anything on archlinux" - there's an autotune feature, but the package doesn't bring any service to activate it. Installing powertop just makes ouy have the powertop binary on your disk.
And you fixed "LTE" to "LTS" in your edit.

Offline

#10 2022-12-26 21:53:09

Gytis
Member
Registered: 2022-02-18
Posts: 5

Re: [Solved] Logitec unifying receiver lags every reboot

First: I was enabled powertop service, maybe OP has something similar enabled. This was made 100% same issues what OP are saying.

Second: kernel was different thing, I just saying 6.1.1 kernel somehow can't work correctly with Logitech mouse, because scroll wheel become buggy.

Offline

#11 2022-12-26 21:58:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,732

Re: [Solved] Logitec unifying receiver lags every reboot

The arch powertop package doesn't ship a service you could enable.

Edit: Also that's not what you orginally claimed:

Had same problem after installed power manager app PowerTop

I assume you're using some arch derivate?

Last edited by seth (2022-12-26 22:00:46)

Offline

#12 2022-12-27 05:06:02

Gytis
Member
Registered: 2022-02-18
Posts: 5

Re: [Solved] Logitec unifying receiver lags every reboot

seth wrote:

The arch powertop package doesn't ship a service you could enable.

Edit: Also that's not what you orginally claimed:

Had same problem after installed power manager app PowerTop

I assume you're using some arch derivate?

You wrong
https://wiki.archlinux.org/title/powert … y_settings

Last edited by Gytis (2022-12-27 05:07:05)

Offline

#13 2022-12-27 07:50:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,732

Re: [Solved] Logitec unifying receiver lags every reboot

No I'm not, but I'll give you the benefit of the doubt that you essentially don't speak english.

The wiki article you linked explains how to add a auto-tune service because the package doesn't ship one
You have to actively do that.

seth wrote:

merely installing powertop in and by itself won't do anything on archlinux.

Offline

#14 2022-12-28 01:58:30

Gytis
Member
Registered: 2022-02-18
Posts: 5

Re: [Solved] Logitec unifying receiver lags every reboot

seth wrote:

No I'm not, but I'll give you the benefit of the doubt that you essentially don't speak english.

The wiki article you linked explains how to add a auto-tune service because the package doesn't ship one
You have to actively do that.

seth wrote:

merely installing powertop in and by itself won't do anything on archlinux.

Idk how you look, but creating this file it's same as enabling it. Powertop support it, it just install didn't create this file.

Offline

#15 2022-12-28 07:56:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,732

Re: [Solved] Logitec unifying receiver lags every reboot

Powertop support it, it just install didn't create this file.

seth wrote:

merely installing powertop in and by itself won't do anything on archlinux.

seth wrote:

I'll give you the benefit of the doubt that you essentially don't speak english.

Offline

#16 2022-12-28 12:36:34

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: [Solved] Logitec unifying receiver lags every reboot

Thank you both for your lead. Uninstalling powertop solves the problem.

Offline

#17 2022-12-28 13:11:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,732

Re: [Solved] Logitec unifying receiver lags every reboot

Did you auto-tune it or just use it to alter usb autosuspending?
Excluding the receiver in the auto-tune autosuspend settings will most likely suffice.

Offline

#18 2022-12-28 15:17:03

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: [Solved] Logitec unifying receiver lags every reboot

seth wrote:

Did you auto-tune it or just use it to alter usb autosuspending?
Excluding the receiver in the auto-tune autosuspend settings will most likely suffice.

I'll give that a go. Thanks.

Edit: I simply uninstalled it.

Last edited by d_fajardo (2022-12-28 15:23:11)

Offline

#19 2022-12-28 15:28:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,732

Re: [Solved] Logitec unifying receiver lags every reboot

Edit: I simply uninstalled it.

No, I meant whether you added the auto-tune service (ie. how do you trigger this w/ powertop)
https://github.com/fenrus75/powertop/issues/38

https://archlinux.org/packages/community/any/tlp/ might be a more comfortable alternative (though the same issue applies wrt the autosuspend condition)
iirc last time I was facing this I basically ran --auto-tune and then reset the value for the problematic device via sysfs manually.

Offline

Board footer

Powered by FluxBB