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

power: Do not reset KBLED state on CPU wake #344

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

crawfxrd
Copy link
Member

Do not reset the keyboard backlight on CPU wake. This fixes keyboard backlight turning off and becoming white on wake from sleep.

TODO: Fix for all kbled mechanisms.

@crawfxrd crawfxrd requested a review from jackpot51 March 27, 2023 20:59
@crawfxrd
Copy link
Member Author

Arguably, a function called "reset" should put the backlight level and color in a known state.

But what do bonw14, darp5, and oryp5 actually need to do for I2C when waking the CPU? Does kbled_reset need to be called at all?

Do not reset the keyboard backlight on CPU wake. This fixes keyboard
backlight turning off and becoming white on wake from sleep.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
@ilikenwf
Copy link
Contributor

In my tinkering this appeares to break the system76-acpi-dkms module, making the LEDs unusable with the hardware controls inside Linux. If you remove the module they begin to work again.

@ilikenwf
Copy link
Contributor

I may have spoken too soon... if I was wrong, I'll post about it again here...but seems my distro is not using the master branch.

@ilikenwf
Copy link
Contributor

So it does not appear to be this commit, however the current master does seem to break things with the keyboard backlight controls when the acpi module is in use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants