To turn the Aeotec USB stick lights on or off:
Enter this command in a terminal window to install the cu utility. This will allow you to communicate directly with the USB stick.
$ sudo apt-get install cu
To turn the lights off enter this command:
$ echo -e '\x01\x08\x00\xF2\x51\x01\x00\x05\x01\x51'|cu -l /dev/ttyACM0 -s 115200
To turn the lights on enter this command:
$ echo -e '\x01\x08\x00\xF2\x51\x01\x01\x05\x01\x50'|cu -l /dev/ttyACM0 -s 115200
N.B. If your USB stick is on a different port other than 'ttyACM0', just substitute your port for the one highlighted above.