LEDBLINK

Section: Misc. Reference Manual Pages (0.85)
Updated: 2002 Apr 07

 

NAME

ledblink - Blink keyboard/parport LEDs.  

SYNOPSIS

ledblink [-b ] [-d ] [-s ] [-1 ] [-0 ] [-t ] [-k ] [-l<led> ] [-q ] [-v ] [-D ]  

DESCRIPTION

ledblink can blink all the different keyboard LEDs and also LEDs connected to the parport. An instance of the program is run in the background and controlled by consecutive calls of ledblink. Each LED can be accessed independently and the blinking rate can be modified to show numbers (the number of mails waiting in your inbox for example).

Because of the kernel calls required to blink the LEDs or to access the parport, ledlblink must be run with root privilege. It should be safe to run ledblink SUID root if you wish.  

OPTIONS

-b
Blink the LED. A instance of ledblink must already be running for that specific LED. Typically you will also specify which led the process is controlling. If this is called more than once, the LED will blinking rate will be increased.
-d
Decrease blinking rate of the LED.
-s
Stop blinking the LED.
-1
Set the LED state to on.
-0
Set the LED state to off.
-t
Toggle the LED state.
-k
Attempts to kill a running ledblink process.
-l <led>
Specifies the led to blink. Valid options are num, caps, scroll, and parport0 to parport7. If not specified scroll lock is chosen by default.
-q
Quiet. Use -qq for very quiet.
-v
Verbose. Use up to -vvvv for more messages that you could possibly want.
-D
Debug. Prevents the program from forking into the background and detaching from the terminal. You can try this if mailblink is not working properly.
 

EXAMPLES

ledblink
Starts ledblink. It will wait for a signal send by ledblink -b and then blink the scroll lock light.
ledblink -k
Attempts to kill the ledblink process controlling the scroll lock light.
ledblink -k -l num
Attempts to kill the ledblink process controlling the num lock light.
ledblink -q
Attempts to start ledblink quietly. Won't print status messages, or complain if it has problems starting.
 

FILES

/var/run/ledblink.pid  

SEE ALSO

mailblink(1), mailleds(1), tleds(1)  

AUTHOR

ledblink was written by Jörg Mensmann.
It is heavily based on mailblink 0.7 by Donald J Bindner. Some support code was written by Anders Johansson.
Parport support by Martin Renold.  

HOMEPAGE

ledblink has a homepage at:
http://www.bitplanet.de/unix/ledblink.html  

COPYRIGHT

Copyrighted and released under GNU General Public License (GPL).  

BUGS

Please email joerg.mensmann@gmx.de with bug reports.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
FILES
SEE ALSO
AUTHOR
HOMEPAGE
COPYRIGHT
BUGS