----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/106790/ -----------------------------------------------------------
Review request for Solid and Dario Freddi. Description ------- This patch should bring FreeBSD to feature parity with Linux on brightness management; it uses acpi_video(4) interface. The code was inspired by Junk-uk Kim's following patch: https://bugs.freedesktop.org/show_bug.cgi?id=24765 I've used a generic #ifdef USE_SYSCTL to make it easy for other BSDs to add support for their system. initUsingSysctl(), m_device and m_levels are always defined to avoid spoiling backlighthelper.h with #ifdefs and definitions. Diffs ----- powerdevil/daemon/backends/upower/backlighthelper.h fe659e7 powerdevil/daemon/backends/upower/backlighthelper.cpp 86b359a Diff: http://git.reviewboard.kde.org/r/106790/diff/ Testing ------- Works fine on FreeBSD 10-CURRENT, even with my half broken ACPI (no LCD screen detected); shortcuts work, plasmoid slider works, power profiles work, and display dimming works as well (and is very welcome on my laptop). I've monitored brightness events via kded output, and everything works as expected (values rounding included). Thanks, Alberto Villa
_______________________________________________ Kde-hardware-devel mailing list Kde-hardware-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-hardware-devel