Bug 110021
Summary: | Backlight controls don't work with ideapad_laptop is loaded on Yoga 900 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Paul Buonopane (xyz36) |
Component: | Platform_x86 | Assignee: | drivers_platform_x86 (drivers_platform_x86) |
Status: | NEW --- | ||
Severity: | normal | CC: | ramin.blackhat, szg00000 |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
URL: | https://github.com/torvalds/linux/pull/236 | ||
Kernel Version: | 4.3.3 | Subsystem: | |
Regression: | Yes | Bisected commit-id: |
Description
Paul Buonopane
2015-12-26 09:40:14 UTC
It appears this was a regression introduced with https://github.com/torvalds/linux/commit/26bff5f099722fa7c38796a3ccd0e880cf1a524a. The logic of the if statement in drivers/platform/x86/ideapad-laptop.c on line 907 was flipped. Changing == to != fixes the issue. I've created a pull request with a patch: https://github.com/torvalds/linux/pull/236 It's worth noting that the "Backlight now" value reported by /sys/kernel/debug/ideapad/status is still always 16; however, I suspect this was the case prior to the regression. "BL power value" also appears to be stuck. |