Ledctl is a program that uses the PPI interface of the FreeBSD kernel to drive three LEDs connected to the data pins of the parallel port of a PC.

It can be used in scripts and applications to notify the user for events like new email, high cpu load, full disk partitions, intrusion detection, etc.

Installation instructions

It is assumed that you have downloaded a compressed archive of the source (e.g. ledctl-1.2.3.tar.bz2). In the following commands substitute the name of the archive with the name of the file you downloaded.

  1. First extract the files from the archive:
    tar jxvf ledctl-1.2.3.tar.bz2
  2. Enter the directory that has been created:
    cd ledctl-1.2.3
  3. Build the software:

You can now use ledctl. See the included README file for usage.

If you want to remove the object and executable files that were created during the building stage type make clean.

Global installation:

To install the ledctl binary globally su to root and type make install. The default location of the binary is /usr/local/bin but you can modify the Makefile if you want to install ledctl in a different directory. To uninstall a globally installed ledctl binary type make uninstall as root.



You can download ledctl from http://sourceforge.net/projects/ledctl/


Kostas Peletidis

Program details

License: BSD License


Web developer: Thanos Tsouanas

Hosted by: SourceForge.net Logo
Valid XHTML 1.1! Valid CSS!