Sorrrrrry - had a bit to drink last night... using a keyboard was not a sane idea! The following loop sequentially sets the brightness of each of the 6 lights located under the keyboard to 255 (i.e. on) and then back to 0 (i.e. off). If you do it in the dark, you should see the position of each light. backlights.sh Code: #! /bin/sh for i in 1 2 3 4 5 6 ; do echo 255 > /sys/class/leds/lp5523:kb${i}/brightness ; sleep 1 ; echo 0 > /sys/class/leds/lp5523:kb${i}/brightness ; done Tadaaaaaaaaaaaaa
#! /bin/sh for i in 1 2 3 4 5 6 ; do echo 255 > /sys/class/leds/lp5523:kb${i}/brightness ; sleep 1 ; echo 0 > /sys/class/leds/lp5523:kb${i}/brightness ; done