Differences

This shows you the differences between two versions of the page.

doc:uci:system [2012/10/20 18:08]
cjm clarify possible values for timezone
doc:uci:system [2012/11/25 18:42] (current)
encukou Document Morse code LED trigger
Line 145: Line 145:
To find out device name use ''logread'' to search for it or list ''/sys/bus/usb/devices'' (for this example, there would be ''/sys/bus/usb/devices/1-1'' device). To find out device name use ''logread'' to search for it or list ''/sys/bus/usb/devices'' (for this example, there would be ''/sys/bus/usb/devices/1-1'' device).
 +
 +=== Morse Code ===
 +
 +The LED signals a message using Morse code.
 +
 +Requires the kmod-ledtrig-morse package. UCI configuration was added in revision r34380.
 +
 +^ Name ^ Type ^ Required ^ Default ^ Description ^
 +| ''sysfs'' | string | yes | //(none)// | LED device name |
 +| ''trigger'' | string | yes | //(none)// | ''morse'' |
 +| ''dev'' | string | yes | //(none)// | Name of USB device to monitor (in this example '1-1'). |
 +| ''message'' | string | no | //(none)// | The message to signal |
 +| ''delay'' | integer | no | 150 | Dit length in milliseconds |
 +
 +If you don't have a recent enough version, you can set trigger to "morse" and control the behavior by writing to the ''message'' and ''delay'' files in ''/sys/class/leds/<name>''.
===== Examples ===== ===== Examples =====

Back to top

doc/uci/system.txt · Last modified: 2012/11/25 18:42 by encukou