fvdw wrote:/proc/resoure-dump is not used on the 5big1
the leds defintions can be found in
- Code: Select all
/devices/platform/leds-gpio/leds/
these leds are defined in the kernel
"net5big:blink:front",
"net5big:red:front",
"net5big:blue:front",
"net5big:red:sata0",
"net5big:red:sata1",
"net5big:red:sata2",
"net5big:red:sata3",
"net5big:red:sata4",
each entry will have some files, one of them will be brightness
the leds can be controlled by sending 0 or a value uptil 255 to this file
for instance doing this should switch off the blue led on the front side
- Code: Select all
echo 0 > /devices/platform/leds-gpio/leds/net5big:blue:front/brightness
/devices/platform/leds-gpio/leds/
echo 10 > /sys/class/gpio/export
echo 11 > /sys/class/gpio/export
echo 13 > /sys/class/gpio/export
echo 14 > /sys/class/gpio/export
echo 15 > /sys/class/gpio/export
~ # echo 10 > /sys/class/gpio/export
sh: write error: Device or resource busy
taetae wrote:LEDs front and rear LEDs turn on and off intermittently
- Code: Select all
~ # echo 10 > /sys/class/gpio/export
sh: write error: Device or resource busy
~ # echo 11 > /sys/class/gpio/export
sh: write error: Device or resource busy
~ # echo 13 > /sys/class/gpio/export
sh: write error: Device or resource busy
~ # echo 14 > /sys/class/gpio/export
sh: write error: Device or resource busy
~ # echo 15 > /sys/class/gpio/export
sh: write error: Device or resource busy
~ #
echo 0 > /devices/platform/leds-gpio/leds/net5big:blue:front/brightness
echo 1 > /devices/platform/leds-gpio/leds/net5big:blue:front/brightness
echo 127 > /devices/platform/leds-gpio/leds/net5big:blue:front/brightness
echo 255 > /devices/platform/leds-gpio/leds/net5big:blue:front/brightness
ls -al /devices/platform/leds-gpio/leds/net5big:blink:front
ls -al /devices/platform/leds-gpio/leds/net5big:blue:front
ls -al /devices/platform/leds-gpio/leds/net5big:red:sata0
~ # echo 0 > /devices/platform/leds-gpio/leds/net5big:blue:front/brightness
sh: can't create /devices/platform/leds-gpio/leds/net5big:blue:front/brightness: nonexistent directory
~ #
Return to Lacie 5Big Network vs1
Users browsing this forum: No registered users and 4 guests