Bug 443165 - Need configuration parameter for /sys/class/backlight
Summary: Need configuration parameter for /sys/class/backlight
Status: RESOLVED WORKSFORME
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.21.5
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-30 16:21 UTC by John Fox Woland
Modified: 2022-12-06 05:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Fox Woland 2021-09-30 16:21:42 UTC
SUMMARY

I have two backlight interfaces: intel_backlight and nvidia0. Both of them have 'raw' types. Powerdevil uses upower backlight helper that just reverse sorts all available interfaces and picks the first one. There's no possibility to point it to use the right interface. So in my case, it just picks nvidia0 interface while intel_backlight actually used to change brightness.

STEPS TO REPRODUCE
 Any laptop with to backlight interfaces with the same priority (type).

OBSERVED RESULT
 use the last one from the list of interfaces with the same priority.

EXPECTED RESULT
 use configured backlight interface if any.

ADDITIONAL INFORMATION
Lenovo Legion 7i (GPU: intel + nvidia)laptop.

SAME TICKET
https://bugs.kde.org/show_bug.cgi?id=315506
Marked as resolved, but hasn't been.
Comment 1 Dan Robinson 2022-11-06 01:42:43 UTC
A lot of this logic was changed in 5.25 (see https://bugs.kde.org/show_bug.cgi?id=399646). If that improved logic works that's probably a better solution than exposing this as a configuration. Can you test a current version and see if the backlight behaves properly without needing this?
Comment 2 Bug Janitor Service 2022-11-21 05:14:59 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-12-06 05:21:46 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!