/usr/share/doc/leds-alix-source/README.Debian is in leds-alix-source 0.0.1-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | 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
|