On 2017-06-30 18:37, Andrei Borzenkov wrote:
29.06.2017 02:48, Paul Groves пишет:
On 28/06/17 04:25, Andrei Borzenkov wrote:
27.06.2017 21:40, Paul Groves пишет:
On 27/06/17 18:46, Andrei Borzenkov wrote:
ls -l /sys/class/leds output is as follows:
lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::capslock -> ../../devices/platform/i8042/serio0/input/input2/input2::capslock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::numlock -> ../../devices/platform/i8042/serio0/input/input2/input2::numlock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::scrolllock -> ../../devices/platform/i8042/serio0/input/input2/input2::scrolllock
OK, so the first test is to make sure they actually refer to Scroll Lock LED on your keyboard. As root
cat /sys/class/leds/input2::scrolllock/max_brightness
Most likely "1"
cat /sys/class/leds/input2::scrolllock/brightness
Should be "0"
echo 1 > /sys/class/leds/input2::scrolllock/brightness
(or in general value from max_brightness). Does Scroll Lock LED illuminate?
If yes ...
It is yes here, but on "/sys/class/leds/input3::scrolllock/brightness"
If I run: xset -led 2 led on the scroll lock LED comes on fine
and of course: xset -led 2 led off works too
Same here.
OK, so what exactly does *not* work?
When I press the scroll lock key the LED does not turn on but scroll lock does.
What it does? Do you test it in GUI (X11) or text console (vt)? What happens when you press it in GUI? What happens when you press it in text console?
I don't know what should happen when I press it. :-? -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)