A brightness control daemon
brightd is a daemon which dynamically reduces LCD brightness when you don't use your pc. The idea is adapted from iBooks.
Output some debugging information. Will not work in daemon mode.
Will cause brightd to fork itself into background. You'll want to use this ;)
Set location of pid file in daemon mode (Default is /var/run/brightd.pid).
brightd will drop privileges after opening all file descriptors. With this setting you may choose which user to change to.
You have /dev/input/event
Filter used event sources by POSIX extended regexp n (for example, use "i8042.+event" on intel platforms to avoid having HDAPS taken into account) You should include "event" here, but you must not do so.
The amount of seconds of inactivity to wait before reducing brightness
Dark screen brightness Never reduce brightness below that value. Note that you won't be able to change brightness manually below this value as well.
Reduce brightness even if on the highest brightness level. By default, brightd won't do this. That way you can temporally disable it while reading through a text or so. If you specify this option twice, brightd will also reduce brightness when you're on AC.
Set the backlight class to use. You may specify any subdirectoy of /sys/class/backlight
brightd will create a FIFO n (deleting the file if it existed before!) and read from it. If you tell your acpid to write brightness levels to that FIFO when the user changes brightness, brightd can help you with some stuff: For example, if brightd faded to brightness 0 and you increase brightness, brightd would automatically fade up to the highest level.
Phillip Berndt (mail at pberndt dot com) Richard Weinberger (richard at nod dot at) Hannes von Haugwitz (hannes at vonhaugwitz dot com)