[Kde-hardware-devel] Review Request: Add FreeBSD implementation to backlighthelper

Commit Hook null at kde.org
Thu Oct 11 10:25:24 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106790/#review20187
-----------------------------------------------------------


This review has been submitted with commit 742db7756131b030a136620721d986750b1d40df by Alberto Villa to branch KDE/4.9.

- Commit Hook


On Oct. 11, 2012, 1:59 a.m., Alberto Villa wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106790/
> -----------------------------------------------------------
> 
> (Updated Oct. 11, 2012, 1:59 a.m.)
> 
> 
> 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
> 
>

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


More information about the Kde-hardware-devel mailing list