Closed Madic- closed 3 years ago
I am not able to enable the keyboard backlight. What I've tested with e.g. light:
~ ❯ light -L Listing device targets: sysfs/backlight/intel_backlight sysfs/backlight/acpi_video0 sysfs/backlight/auto sysfs/leds/input6::numlock sysfs/leds/platform::mute sysfs/leds/phy0-led sysfs/leds/tpacpi::thinklight sysfs/leds/input6::misc sysfs/leds/input6::scrolllock sysfs/leds/tpacpi::power sysfs/leds/input3::numlock sysfs/leds/tpacpi::standby sysfs/leds/input3::capslock sysfs/leds/tpacpi::thinkvantage sysfs/leds/input3::scrolllock sysfs/leds/input6::capslock sysfs/leds/tpacpi::kbd_backlight sysfs/leds/platform::micmute util/test/dryrun ~ ❯ light -s sysfs/leds/tpacpi::kbd_backlight -A 5 -v1 helpers.c:21: Error: could not open '/home/mne-adm/.config/light/targets/sysfs/leds/tpacpi::kbd_backlight/minimum' for reading helpers.c:21: Error: Verify it exists with the right permissions
Shouldn't it change /sys/class/leds/tpacpi::kbd_backlight/brightness?
Also setting via dbus no luck
~ ❯ dbus-send --type=method_call --print-reply=literal --system \ > --dest='org.freedesktop.UPower' \ > '/org/freedesktop/UPower/KbdBacklight' \ > 'org.freedesktop.UPower.KbdBacklight.SetBrightness' \ > "int32:10" ~ ❯
Getting value via dbus
~ ❯ dbus-send --type=method_call --print-reply=literal --system \ > --dest='org.freedesktop.UPower' \ > '/org/freedesktop/UPower/KbdBacklight' \ > 'org.freedesktop.UPower.KbdBacklight.GetBrightness' \ > | awk '{print $2}' 2 ~ ❯
Getting the maximal value via dbus
~ ❯ dbus-send --type=method_call --print-reply=literal --system \ > --dest='org.freedesktop.UPower' \ > '/org/freedesktop/UPower/KbdBacklight' \ > 'org.freedesktop.UPower.KbdBacklight.GetMaxBrightness' \ > | awk '{print $2}' 2 ~ ❯
Does work without a problem.
I am not able to enable the keyboard backlight. What I've tested with e.g. light:
Shouldn't it change /sys/class/leds/tpacpi::kbd_backlight/brightness?
Also setting via dbus no luck
Getting value via dbus
Getting the maximal value via dbus