Turning on the trackball

cd /sys/class/leds/jogball-backlight
echo 7 > brightness
echo 5 > period
echo 255 0 255 > color

 

Turning off the trackball

echo 0 > brightness