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

Gracefully handle missing brightness_hw_changed #426

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

sjmonson
Copy link
Contributor

@sjmonson sjmonson commented Mar 25, 2024

Prevents missing /sys/class/leds/system76_acpi::kbd_backlight/brightness_hw_changed from causing a crash. Tested on a lemp9 laptop under NixOS 23.11 with system76-power 1.1.26.

Closes #397

@sjmonson
Copy link
Contributor Author

Also if anyone has an insight into why the NixOS kernel is missing this interface I can try to fix it on that side. It seems like upstream kernel doesn't have this issue?

@mmstick mmstick requested a review from a team March 27, 2024 12:26
Copy link

@XV-02 XV-02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking good. Not seeing any regressions.

@jackpot51 jackpot51 merged commit 51cf922 into pop-os:master Apr 24, 2024
3 checks passed
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.

system76-power daemon panic because missing file
5 participants