Skip to content

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?

Base automatically changed from rpl to master April 3, 2023 19:06
@crawfxrd crawfxrd force-pushed the kbled-reset branch 2 times, most recently from 8471500 to 324ff5c Compare May 23, 2023 14:53
@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.

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 <[email protected]>
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.

2 participants