Skip to content
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

Properly support for system sleep cycles #166

Merged
merged 5 commits into from Nov 28, 2020
Merged

Properly support for system sleep cycles #166

merged 5 commits into from Nov 28, 2020

Conversation

@FedeDP
Copy link
Owner

@FedeDP FedeDP commented Nov 24, 2020

No description provided.

* fixed inhibition counter going crazy sometimes, preventing inhibition release to work
* hook on systemd logind .PrepareForSleep signal to properly manage suspend cycles pausing all clight functions and resuming them on startup
* Exposing a new Pause method from clight dbus API to suspend / resume internal functions; this is needed to allow non-systemd systems to properly let clight manage suspend cycles (you can just write a script that is run before/after suspend that calls "Pause true/false)"
* Added a resumedelay to eventually delay clight function resume upon system resume from sleep of up to 30s; this can be useful for slow-to-resume systems, to avoid clight failing to eg: set gamma.
Instead, the gammadelay option was dropped as it is now superseeded.
* Probably much more
@FedeDP FedeDP self-assigned this Nov 24, 2020
FedeDP added 4 commits Nov 25, 2020
@FedeDP FedeDP merged commit aecf405 into master Nov 28, 2020
1 check passed
1 check passed
builds.sr.ht: .build.yml builds.sr.ht job completed successfully
Details
@FedeDP FedeDP deleted the resume_fixes branch Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.