skip the disabled backlight device

Review Request #130115 - Created May 5, 2017 and submitted

Information
AceLan Kao
powerdevil
Reviewers
solid
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@acelan.idv.tw>

  

Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Lamarque Souza
AceLan Kao
Lamarque Souza
AceLan Kao
Review request changed

Status: Closed (submitted)

Loading...