LED control

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Tue Sep 16, 2014 10:50 am

Jocko wrote::pound It is not what I asked... :fists
1 When you turn all the LEDs flash
2.se do the commands that I have posted on "net5big: blink: front" does not change anything echo '0' > /sys/class/leds/net5big:blink:front/brightness (or with value 1) . YES I KNOW THAT NOTHING CHANGES AT THIS TIME.
3 if you do the commands that I have posted on "net5big: red: front" can not turn on and turn off the light and then I can use the controls on both "net5big: blink: front," "net5big: blue: front"YES I KNOW IT. BUT DON'T DO THAT
AND NOW REBOOT ONCE
IF LEDS ARE NOT BLINKING REBOOT ONCE MORE.


That's basically what I asked. Too hard to do it?


1.When you turn all the LEDs flash
2.
Code: Select all
~ # echo '0' > /sys/class/leds/net5big:blink:front/brightness
~ #

LEDs continue to flash

Code: Select all
~ #reboot

LEDs continue to flash
2 bis.
Code: Select all
~ # echo '1' > /sys/class/leds/net5big:blink:front/brightness
~ #

LEDs continue to flash

Code: Select all
~ #reboot

LEDs continue to flash


______________________________________________________________
1.When you turn all the LEDs flash
2.
Code: Select all
~ # echo '0' > /sys/class/leds/net5big:blink:front/brightness    (LEDs continue to flash)
~ # echo '1' > /sys/class/leds/net5big:blink:front/brightness    (LEDs continue to flash)
~ #reboot

after rebooting the LEDs continue to flash
3.
Code: Select all
~ #reboot

after the second reboot the LEDs continue to flash


ps: do not get mad:-(I try to translate in the best possible way and sometimes it is not easy understand sorry ... I hope I have done right now .....
taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

Re: lacie 5 big network v.1 please support for fvdw

Postby Jocko » Tue Sep 16, 2014 12:07 pm

Thank taetae for your last tests.

taetae wrote:1.When you turn all the LEDs flash
2.
Code:
~ # echo '0' > /sys/class/leds/net5big:blink:front/brightness
~ #

LEDs continue to flash

Code:
~ #reboot

LEDs continue to flash
2 bis.
Code:
~ # echo '1' > /sys/class/leds/net5big:blink:front/brightness
~ #

LEDs continue to flash

Code:
~ #reboot

LEDs continue to flash
Indeed this is what I had asked and indeed fails to disable LEDs blinking. Maybe, we misunderstood what you wrote previously or you forgot some thing.
So we can forget this way and follow logically because with your reports I am lost.
Now with your command (and only this one, please)
Code: Select all
echo 0 > /sys/class/leds/net5big:red:front/brightness
please, describe all led behaviour.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Tue Sep 16, 2014 12:14 pm

Code: Select all
~ # echo 0 > /sys/class/leds/net5big:red:front/brightness
~ #

LEDs continue to flash
taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

Re: lacie 5 big network v.1 please support for fvdw

Postby Jocko » Tue Sep 16, 2014 12:40 pm

taetae wrote:if you do the commands that I have posted on "net5big: red: front" can not turn on and turn off the light and then I can use the controls on both "net5big: blink: front," "net5big: blue: front"
So I didn't understand you.
And then do your command
Code: Select all
reboot your nas => all leds blinking
echo 0 > /sys/class/leds/net5big:red:sata0/brightness
please, describe all led behaviour. I suggest to use these codes:
  1. Front LED red on => front LED is red and not blinking
  2. Front LED red blinking => front LED is red and blinking
  3. Front LED blue on => front LED is blue and not blinking
  4. Front LED blue blinking => front LED is blue and blinking
  5. Front LED off => front LED is off
  6. Satax LED blue on => satax LED is blue and not blinking (satax can be sata0,sata2,...)
  7. Satax LED blue blinking => satax LED is blue and blinking
  8. Satax LED off => satax LED is off
  9. Satax LED red on => satax LED is red and not blinking (satax can be sata0,sata2,...)
  10. Satax LED red blinking => satax LED is red and blinking
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Tue Sep 16, 2014 1:12 pm

reboot nas => all leds blinking

1.
Code: Select all
~ # echo 0 > /sys/class/leds/net5big:red:sata0/brightness
~ #

Sata0 LED blue blinking

2.
Code: Select all
~ # echo 1 > /sys/class/leds/net5big:red:sata0/brightness
~ #


Sata0 LED red on

3.
Code: Select all
~ # echo 0 > /sys/class/leds/net5big:red:sata0/brightness
~ #

Sata0 LED blue on
taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

Re: lacie 5 big network v.1 please support for fvdw

Postby Jocko » Tue Sep 16, 2014 1:28 pm

taetae wrote:1.
Code:
~ # echo 0 > /sys/class/leds/net5big:red:sata0/brightness
~ #

Sata0 LED blue blinking
I assume that the other LEDs are also blinking ?
taetae wrote:2.
Code:
~ # echo 1 > /sys/class/leds/net5big:red:sata0/brightness
~ #


Sata0 LED red on
What the blinking status of the other LEDs?

And same question with the case 3
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Tue Sep 16, 2014 2:43 pm

Jocko wrote:
taetae wrote:1.
Code:
~ # echo 0 > /sys/class/leds/net5big:red:sata0/brightness
~ #

Sata0 LED blue blinking
Jocko wrote:I assume that the other LEDs are also blinking ?

the other LEDs blue blinking
taetae wrote:2.
Code:
~ # echo 1 > /sys/class/leds/net5big:red:sata0/brightness
~ #


Sata0 LED red on
Jocko wrote:What the blinking status of the other LEDs?

the other LEDs blue blinking
Jocko wrote:And same question with the case 3

taetae wrote:3.
Code:
~ # echo 0 > /sys/class/leds/net5big:red:sata0/brightness
~ #

Sata0 LED blue on and the other LEDs blue blinking
taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

Re: lacie 5 big network v.1 please support for fvdw

Postby Jocko » Tue Sep 16, 2014 3:34 pm

:thumbup That is another thing that I did not understand...

If I reread some old posts written by you and I understand well, you must have this behaviour after rebooting to reset your last LED changes:
After echoing in a sata red or blue LED, you can do some echos with the front LED.

So do these cases, and please report still the LEDs status (be careful you need to reboot the NAS between each case)
a)
Code: Select all
 echo 0 > /sys/class/blue/net5big:red:sata0/brightness
echo 0 > /sys/class/leds/net5big:blink:front/brightness
b)
Code: Select all
 echo 1 > /sys/class/leds/net5big:blue:sata0/brightness
echo 0 > /sys/class/leds/net5big:blink:front/brightness
c)
Code: Select all
 echo 0 > /sys/class/leds/net5big:red:sata0/brightness
echo 0 > /sys/class/leds/net5big:blink:front/brightness
d)
Code: Select all
 echo 1 > /sys/class/leds/net5big:red:sata0/brightness
echo 0 > /sys/class/leds/net5big:blink:front/brightness
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Tue Sep 16, 2014 4:51 pm

a:
Code: Select all
echo 0 > /sys/class/leds/net5big:red:sata0/brightness

Sata0 LED blue blinking and the other LEDs blue blinking
Code: Select all
~ # echo 0 > /sys/class/leds/net5big:blink:front/brightness

Front LED blue blinking and the other LEDs blue blinking
Code: Select all
~ # reboot

all leds blinking blue
b:
Code: Select all
~ #  echo 1 > /sys/class/leds/net5big:blue:sata0/brightness
/bin/sh: can't create /sys/class/leds/net5big:blue:sata0/brightness: nonexistent directory

the path does not exist
Code: Select all
~ # echo 0 > /sys/class/leds/net5big:blink:front/brightness

Front LED blue blinking and the other LEDs blue blinking
Code: Select all
~ # reboot

all leds blinking blue
c:
Code: Select all
~ #echo 0 > /sys/class/leds/net5big:red:sata0/brightness

Sata0 LED blue blinking and the other LEDs blue blinking
Code: Select all
~ #echo 0 > /sys/class/leds/net5big:blink:front/brightness

Front LED blue blinking and the other LEDs blue blinking
Code: Select all
~ # reboot

all leds blinking blue

d:
Code: Select all
~ #echo 1 > /sys/class/leds/net5big:red:sata0/brightness

Sata0 LED red on and the other LEDs blue blinking
Code: Select all
~ #echo 0 > /sys/class/leds/net5big:blink:front/brightness

Front LED blue blinking, Sata0 LED red on and the other LEDs blue blinking
Code: Select all
~ # reboot

all leds blinking blue
taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

Re: lacie 5 big network v.1 please support for fvdw

Postby Jocko » Tue Sep 16, 2014 6:07 pm

So what was the command that you did to stop all LED blinking after echoing in a sata LED ?
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

PreviousNext

Return to Lacie 5Big Network vs1

Who is online

Users browsing this forum: No registered users and 9 guests