Hi taetae,
Please stop your current tests because I reread the kernel source and we must do the tests logically.
doing so at startup nothing happens, but if I speak first on the sata led even after the front responds positively to commands
it is not a clean way to manage the booting blinking.
What you must understand:
1/ The GPIO used to handle the LED blinking atfer booting, overrides the others GPIO of the front LED. It is why you can not change the front LED status (echoing in net5big:red:front or net5big:blue:front).
2/ When you change its status, it is used to control initial Red/Blue HW blinking at the
next booting.
So the first test that you must do is to stop the blinking LED in according with the kernel source.If I remember well if you do this
- Code: Select all
* reboot your NAS to clean your changes : all LEDs are blinking LED
echo '0' > /sys/class/leds/net5big:blink:front/brightness
,then reboot your NAS
In according with your previous posts, all LEDs should be not blinking after this 2d boot.
Note if not, try by echoing '1' instead of '0' (source is not clear about this value )
If it is ok, now we must do that at each boot we get this LEDs status. So do these steps :
- Open to the boot jobs menu;
- click on 'Set up Boot Jobs' if the feature are not yet installed : this creates a folder 'cron-boot' in the share 'fvdw'
- save a file 'Led-boot.sh' to this folder 'cron-boot' with these lines
- Code: Select all
#!/bin/sh
echo '0' > /sys/class/leds/net5big:blink:front/brightness
replace '0' by '1' if it is the value to stop the blinking(
and nothing else)
- refresh now the boot jobs menu
- now you see your file in the table, enable it (check its related box)
- click on 'Save the boot jobs table'
- and also click on 'Enable / Disable Boot Jobs' if its status is not 'enabled' (Please
post a screen capture of the boot jobs menu after your changes)
Now reboot
twice your NAS (first boot to set the right value in the blinking GPIO)
Now you should have always the LED not blinking after each rebooting :thumbup and so we have
a clean and stable LEDs status to play now with all LED commands.