OpenWrt Forum Archive

Topic: WRT160 NL LEDs

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

i'm trying to control the LEDs on the Router, but i dont have the /prog/diag/led directory or file. There is no /prog/diag directory, so i cant use the LEDs?

find |grep led showed me some files like that:

./sys/devices/platform/leds-gpio/leds/wrt160nl:blue:power
./sys/devices/platform/leds-gpio/leds/wrt160nl:blue:power/uevent
./sys/devices/platform/leds-gpio/leds/wrt160nl:blue:power/subsystem


How do i use the LEDs?

Take a look at gpioctl.

I got the buttons working through the hotplug interface.  Perhaps LED work same way?  Sorry I wish I knew more....

The discussion might have continued from here.