Jocko wrote:
- Code: Select all
led -n
- Code: Select all
root@nas-mimismo:/ # led -n
/usr/bin/led: Canonical LED names list
frontblue
frontred
Jocko wrote:
- Code: Select all
/etc/leds_bootup (<---------------white led should be on and blinking on disk access)
Yes
Jocko wrote:
- Code: Select all
/etc/leds_switch off (<--------------- led should be off)
Yes
Jocko wrote:
- Code: Select all
/etc/leds_switch on (<--------------- led should be on)
Yes
Jocko wrote:Now open the firmware web-interface, and go to Sytem Management -> Setup-> tab: Other settings
- Here the LED state should be reported rightly, and try the commands LED ON/OFF
Yes, all ok.
Jocko wrote: - Use LED on/off at boot command to have "LED off at next boot". Then reboot the nas and see if LED is off when the boot script is finished
LED is off.
Jocko wrote:
- Code: Select all
ls -l /usr/sbin/buttonsd
ls -l /sbin/rebootd-spd
ls -l /sbin/standbyd-spd
- Code: Select all
root@nas-mimismo:/ # ls -l /usr/sbin/buttonsd
lrwxrwxrwx 1 root root 22 1999-12-31 19:00 /usr/sbin/buttonsd -> /bin_cab/buttons-nwsp2
root@nas-mimismo:/ # ls -l /sbin/rebootd-spd
lrwxrwxrwx 1 root root 22 2018-01-01 12:00 /sbin/rebootd-spd -> /bin_cab/rebootd-nwsp2
root@nas-mimismo:/ # ls -l /sbin/standbyd-spd
lrwxrwxrwx 1 root root 23 2018-01-01 12:00 /sbin/standbyd-spd -> /bin_cab/standbyd-nwsp2
Jocko wrote:reboot command shutdown the nas and nas is rebooting ?
- Code: Select all
reboot
Yes
Jocko wrote:From the firmware web-interface ( Sytem Management -> Shutdown/Restart), Nas shutdown and Nas Restart command do the job ?
Yes, all ok.
Jocko wrote:-What happens if you press it and keep it pressed for 1-2 seconds and then release it? Nas reboots ?
Reboot.
Jocko wrote:-What happens if you press it and keep it pressed for more then 5 seconds? Nas shutdown ?
Shutdown.
Jocko wrote:
- Code: Select all
/share/1000/fvdw/evtest /dev/input/event0
Pressed for maybe 1 second, the NAS restarted
- Code: Select all
root@nas-mimismo:/ # /share/1000/fvdw/evtest /dev/input/event0
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "gpio-keys"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 116 (KEY_POWER)
Event code 240 (KEY_UNKNOWN)
Event code 408 (KEY_RESTART)
Properties:
Testing ... (interrupt to exit)
Event: time 1549941049.892914, type 1 (EV_KEY), code 116 (KEY_POWER), value 1
Event: time 1549941049.892914, -------------- SYN_REPORT ------------
Event: time 1549941050.252914, type 1 (EV_KEY), code 116 (KEY_POWER), value 0
Event: time 1549941050.252914, -------------- SYN_REPORT ------------
Pressed for more seconds, the NAS shutdown
- Code: Select all
root@nas-mimismo:/ # /share/1000/fvdw/evtest /dev/input/event0
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "gpio-keys"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 116 (KEY_POWER)
Event code 240 (KEY_UNKNOWN)
Event code 408 (KEY_RESTART)
Properties:
Testing ... (interrupt to exit)
Event: time 1514826048.731672, type 1 (EV_KEY), code 116 (KEY_POWER), value 1
Event: time 1514826048.731672, -------------- SYN_REPORT ------------
Event: time 1514826059.201669, type 1 (EV_KEY), code 116 (KEY_POWER), value 0
Event: time 1514826059.201669, -------------- SYN_REPORT ------------