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

Implement persistent options for keyboard backlight #50

Merged
merged 6 commits into from
Oct 12, 2023
Merged

Conversation

mkopec
Copy link
Member

@mkopec mkopec commented Oct 12, 2023

Remove SW controls for keyboard backlight. EC is the only entity in control of kbled.

Restore state from the flash and save to flash on power_off().

Backlight is enabled when in S0 (and not S0ix) AND the lid is open.

@mkopec mkopec marked this pull request as ready for review October 12, 2023 11:24
@mkopec mkopec self-assigned this Oct 12, 2023
@mkopec mkopec requested a review from miczyg1 October 12, 2023 11:25
src/board/system76/common/options.c Outdated Show resolved Hide resolved
src/board/system76/common/lid.c Show resolved Hide resolved
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