-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docked status slow to update #111
Comments
That is definitely worth investigating. I do not have a docking station, so it is good that there is at someone who has, and can test this. I am currently migrating the systemd-stable commits that flowed in during the last two weeks. Once I am finished with those, I'll have a look. |
On Sun, Jan 20, 2019 at 11:46:43PM -0800, Sven Eden wrote:
That is definitely worth investigating. I do not have a docking
station, so it is good that there is at someone who has, and can test
this.
No, neither do I, nor a laptop with a lid switch so I am pretty much in the dark
from a harware point of view!
Mark
|
@markhindley Oh, I didn't mean you, but the OP you mentioned! 😉 I hope they are willing to help once we tackle this one... |
The configuration parameter is parsed as seconds, but the manager variable is called So from the configuration point of view, everything is just fine.
That is weird, the docked status comes from a button event, and should update immediately. Something seems to hold the event back or catches it before it reaches elogind. The OP wrote:
That is correct. Like systemd-login, it does not question local ACPI configurations. Unfortunately I can not tell what the experience of the OP comes from. My suspicion is, that the OP has something else calling elogind to suspend, as it would not by itself. From the code, it is just not possible. As they mentioned ACPI, I am curious to hear what stuff is running there. Having both elogind and CK running at the same time is not going to work. However, if my assumption is not correct, a debug log would be nice. (If the OP is willing to help) |
@markhindley : A little update, I wasn't able to find a reason for the "docked" status to update so slowly, yet. |
On Mon, Mar 11, 2019 at 03:04:05AM -0700, Sven Eden wrote:
@markhindley : A little update, I wasn't able to find a reason for the
"docked" status to update so slowly, yet.
Are there any news on your end?
Thanks.
I haven't had anything further from him. I will try again.
Mark
|
On Tue, Mar 12, 2019 at 09:23:49AM +0000, Mark Hindley wrote:
On Mon, Mar 11, 2019 at 03:04:05AM -0700, Sven Eden wrote:
> @markhindley : A little update, I wasn't able to find a reason for the
> "docked" status to update so slowly, yet.
> Are there any news on your end?
Thanks.
I haven't had anything further from him. I will try again.
The OP no longer has the hardware.
Sorry.
Mark
|
I am closing this, as we need someone with a docking station to reproduce and to debug this... 😢 |
Sven,
Please see http://bugs.debian.org/919694
There are multiple things going on here but the significant one is the OP suggests that the Docked status is taking between 30s to several minutes to update. Therefore HandleLidSwitch is invoked rather than HandleLidSwitchDocked when he closes the lid in his docking station.
I wonder if HoldoffTimeout is a factor in this. But when I looked at he output of loginctl show-seat, I noticed the timeout configuration keys here are usually *USec whereas the manpage has the equivalents in *Sec. Which is correct?
Finally there is also an issue of multiple handlers for lid events. I suspect nothing can be done about that. What do you think?
I hope that isn't too many things in one issue!
Mark
The text was updated successfully, but these errors were encountered: