From 9a5c775a199423bf13cff33d48c9545d3deb48fe Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 7 Apr 2024 14:47:46 +0300 Subject: [PATCH] documented configuration options... Signed-off-by: Alex A. Naanou --- thinkpad-keyboard-brightness.conf | 32 ++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/thinkpad-keyboard-brightness.conf b/thinkpad-keyboard-brightness.conf index bf54899..7c782cd 100644 --- a/thinkpad-keyboard-brightness.conf +++ b/thinkpad-keyboard-brightness.conf @@ -1,11 +1,33 @@ + +# Light sensor path # -# SENSOR=/sys/bus/iio/devices/iio:device*/in_illuminance_raw +# NOTE: for devices with multiple sensors this will select the first +# one, if a specific sensor's output is to be use set this to an +# explicit path to that sensor +# NOTE: the device nubering may change on hardware change. +#SENSOR=/sys/bus/iio/devices/iio:device*/in_illuminance_raw + +# Keyboard backlight LED path # -# TRIGGER=/sys/class/leds/tpacpi::kbd_backlight/brightness +# NOTE: if your device has multiple keyboards connected this will select +# the first one, if this is not desired set this to a specific +# value for the device to be controlled. +#TRIGGER=/sys/class/leds/*::kbd_backlight/brightness + +# Sensor threshold at which the backlight is switched on # -# THRESHOLD=2000 +#THRESHOLD=2000 + +# Threshold hysteresis # -# HESTERISYS=200 +# This value is added to the THRESHOLD value to calculate the off +# threshold # -# VALUE=1 +#HYSTERESIS=200 + +# The value to write the the TRIGGER when switching the backlight on # +# This controls the default brightness +# +#VALUE=1 +