Changes RSS

===== Debugging the keyboard slide switch / keyboard backlight ===== <code> sudo gainroot cat /proc/kmsg </code> As you open and close the keyboard, you'll see messages appear on screen: <code> slide (GPIO 71) is now closed slide (GPIO 71) is now open </code> 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. <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 </code>