[modules/brightness] re-enable reading brightness from ACPI

to enable reading the brightness from ACPF, set the device path and -
other than previously - explicitly enable this by setting the parameter
"brightness.use_acpi" to "true".

fixes #665
This commit is contained in:
tobi-wan-kenobi 2020-06-28 10:59:43 +02:00
parent 81c5e75624
commit 8f3d48c0e6
2 changed files with 32 additions and 2 deletions

View file

@ -404,6 +404,8 @@ Displays the brightness of a display
Parameters:
* brightness.step: The amount of increase/decrease on scroll in % (defaults to 2)
* brightness.device_path: The device path (defaults to /sys/class/backlight/intel_backlight), can contain wildcards (in this case, the first matching path will be used); This is only used when brightness.use_acpi is set to true
* brightness.use_acpi: If set to true, read brightness directly from the sys ACPI interface, using the device specified in brightness.device_path (defaults to false)
contributed by `TheEdgeOfRage <https://github.com/TheEdgeOfRage>`_ - many thanks!