diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-04-03 00:16:27 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-04-03 00:17:35 +0200 |
commit | af0d3be7a86b0e518296b00d33c56c96df1c315e (patch) | |
tree | 10b031f756c378767cead4b574b857a209d6d6b4 | |
parent | Actually use delay_ms. (diff) | |
download | android-connect-blinker-af0d3be7a86b0e518296b00d33c56c96df1c315e.tar.xz android-connect-blinker-af0d3be7a86b0e518296b00d33c56c96df1c315e.zip |
Improve message.
-rw-r--r-- | blinker.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -3,20 +3,22 @@ * -- by Jason A. Donenfeld -- * Jason@zx2c4.com * - * This creates two files in proc: + * This creates three files in proc: * * /proc/blinker/trigger_port * /proc/blinker/backlight_file + * /proc/blinker/delay_ms * * When the system attempts to make a connection to localhost using the port - * specified in trigger_port, backlight_file is used to blink the backlight. + * specified in trigger_port, backlight_file is used to blink the backlight + * for delay_ms milliseconds. * * This occurs regardless of whether or not there exists anything listening * on trigger_port. * * # cd /proc/blinker/ * # ls - * backlight_file trigger_port + * backlight_file delay_ms trigger_port * # echo 9184 > trigger_port * # cat backlight_file * /sys/class/backlight/s5p_bl/brightness |