blinkenlights – Blinkenlights in Ruby
Description
This pure Ruby library enables you to control the LEDs on your keyboard to signal digital numbers between 0 and 7, events like received/transmitted network packets, or just let them blink in visually pleasing patterns.
Make sure to have sufficient permissions to access the device (e.g. /dev/console or /dev/tty8) that controls the keyboard. Running your script as root should always help. :)
Installation
The library can be installed via rubygems:
# gem install blinkenlights
The gem and the source archive can also be downloaded directly from rubyforge.org.