Bug 1979909
| Summary: | Lenovo IdeaPad S340-14IIL keyboard backlight should have 2 brightness levels instead of 1 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrey Kozlovskiy <akozlovskiy119> | ||||||
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 34 | CC: | acaringi, adscvr, airlied, alciregi, bskeggs, hdegoede, jarodwilson, jeremy, jglisse, jonathan, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, pobrn, ptalbert, steved | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2022-06-07 22:41:04 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Andrey Kozlovskiy
2021-07-07 11:54:50 UTC
Thank you for your bug-report. I will ask the author of the kbd-backlight support for the ideapad-laptop driver to take a look at this. In the mean time can you please attach an acpidump, we are likely going to need that to figure out what is going on here. To create an acpidump please run the following 2 commands: sudo dnf install acpica-tools sudo acpidump -o acpidump.hex And then attach the acpidump.hex file generated by the second command to this bug please. Created attachment 1799692 [details] Output of `sudo acpidump -o acpidump.hex` Thank you. I have attached the output of `acpidump`. For Silverblue the command is `rpm-ostree install acpica-tools` though. Installing inside toolbox doesn't work. For some reason, `max_brightness` is hardcoded to 1: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/platform/x86/ideapad-laptop.c#n1340. However, this is not the main problem, because changing it to 2 and recompiling the kernel doesn't affect anything, except that the GNOME indicator shows half the brightness. Pressing Fn+Space a second time still doesn't change "/sys/class/leds/platform::kbd_backlight/brightness" to 2 and there is also no indicator. As if second press is "invisible" to ideapad_kbd_bl, pardon my layman's terms. Hi This is a limitation of the interface. The device I tested this feature on also has three keyboard backlight levels that can be changed using Fn+space, however, the Lenovo Vantage software on Windows can only turn it on/off, because the that's all the interface is capable of. And since I based my work on that, this limitation is carried over to the Linux kernel driver. If I recall correctly there is another interface that has multiple backlight levels, but my device was not compatible so I didn't attempt to implement that. Curiously, the backlight change notification is still sent. This message is a reminder that Fedora Linux 34 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '34'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 34 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07. Fedora Linux 34 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. Thank you for reporting this bug and we are sorry it could not be fixed. |