phosphor-service-brightness

Display and keyboard backlight brightness control.

Surfaces brightness-controllable backlights as Qt and QML types: display panels under /sys/class/backlight, keyboard backlights under /sys/class/leds, and external monitors over DDC/CI. Internal panels read from sysfs and write through logind's Session.SetBrightness, so no root or udev rule is needed, and writes are non-optimistic. A shell binds the device model to render a brightness slider or OSD. External-monitor support is a compile-time option via libddcutil on a worker thread.

Full API →

Key types

BrightnessHost
Enumerates backlight devices, resolves the logind session for writes, optionally adds DDC/CI monitors.
BrightnessDevice
One backlight or external monitor with kind, brightness, percentage, and setters.
BrightnessDeviceModel
QAbstractListModel over the host's devices, tracking async add/remove.

Dependencies

See also

References