Review Request 130115: skip the disabled backlight device

AceLan Kao acelan at acelan.idv.tw
Fri May 5 07:28:26 UTC 2017


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/130115/
-----------------------------------------------------------

Review request for Solid.


Repository: powerdevil


Description
-------

While adjusting the brightness, if there are more than one graphics card
on the machine, then there might be more than one backlight interface
directories under /sys/backlight. Only one of them is active, and in the
code, KDE picks the first one in the list as the backlight device. It
might pick the wrong one if the active device is the second one.
So, we try skipping the disabled one and can fix the brightness issue on
some machines with more than one graphics cards.

Signed-off-by: AceLan Kao <acelan at acelan.idv.tw>


Diffs
-----

  daemon/backends/upower/backlighthelper.cpp fb5f7ed991c320b242224930e0109d03cb328a6f 

Diff: https://git.reviewboard.kde.org/r/130115/diff/


Testing
-------


Thanks,

AceLan Kao

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20170505/20cbb977/attachment.html>


More information about the Kde-hardware-devel mailing list