leds-alix for Debian
--------------------

1. How to use leds-alix-source package
  
  The leds-alix-source package can be used in several ways,

   - Using the make-kpkg(1) command provided by the kernel-package Debian
     package. This will produce a corresponding leds-alix-modules package for
     the Debian kernel-image package that you are using. This is "the Debian
     way". See the "modules_image" section of the make-kpkg(1) man page.

   - Changing to the /usr/src/modules/leds-alix/ directory and building using
     "make; make install". This will build and install a module specific to
     the system you are building on and is not under control of the packaging
     system.

2. Play with the LEDs

  I got this small howto from the author (posted on OpenWRT forums):

    You should get three LED devices under /sys/class/leds/  
      alix:1, alix:2 and alix:3

    This should turn on one led:
      echo 1 > /sys/class/leds/alix:1/brightness

    And off:
      echo 0 > /sys/class/leds/alix:1/brightness

    And this should make it blink:
      echo timer > /sys/class/leds/alix:1/trigger
      echo 1000 > /sys/class/leds/alix:1/delay_off
      echo 100 > /sys/class/leds/alix:1/delay_on 

 -- Adam Cécile (Le_Vert) <gandalf@le-vert.net>  Fri, 18 Jan 2008 10:38:23 +0100
