NSA320 reboot-after-power-loss October 11, 2020 12:31AM |
Registered: 4 years ago Posts: 5 |
Re: NSA320 reboot-after-power-loss October 11, 2020 02:23AM |
Registered: 9 years ago Posts: 466 |
Re: NSA320 reboot-after-power-loss October 11, 2020 03:35AM |
Admin Registered: 13 years ago Posts: 19,200 |
Quote
I've looked around several times in the forum for NSA320 I2C settings for this. I've found the 310 thread which I had hoped would be close enough, but I2C read shows the bits are already set in that register, so it must be somewhere else. No luck elsewhere on Google either.
Quote
https://forum.doozan.com/read.php?2,23630
Sensors & Fan & WOL
OWFSPlug : 1-Wire File System + Motion Detection Software in a NAND Package
OWFS & Motion Detection (external link)
How to control GPIO in Linux userspace for GPIO-enable fan
Zyxel NSA 310S/320S/325/326 CPU Temperature and Fan Speed reading
Zyxel NAS326 WOL
Zyxel NAS326 Auto-Power Up
Zyxel NAS326 WOL and Auto-Power Up I2C commands
Re: NSA320 reboot-after-power-loss October 11, 2020 10:41AM |
Registered: 4 years ago Posts: 5 |
# /usr/sbin/i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: 50 UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
Re: NSA320 reboot-after-power-loss October 11, 2020 03:58PM |
Admin Registered: 13 years ago Posts: 19,200 |
Re: NSA320 reboot-after-power-loss October 11, 2020 09:51PM |
Admin Registered: 13 years ago Posts: 19,200 |
Re: NSA320 reboot-after-power-loss January 02, 2021 04:20PM |
Registered: 4 years ago Posts: 5 |
# i2cset -y 0x0 0x50 0x06 0x01 b(One byte before the magic address for the NSA325.) One more bit of data for your Wiki.
Re: NSA320 reboot-after-power-loss January 02, 2021 06:23PM |
Admin Registered: 13 years ago Posts: 19,200 |
> # i2cset -y 0x0 0x50 0x06 0x01 b
i2cset -y 0x0 0x50 0x06 0x01 b
Re: NSA320 reboot-after-power-loss August 31, 2021 03:04PM |
Registered: 13 years ago Posts: 502 |
modprobe i2c-dev root@rescue-nsa320:~$ i2cset -y 0 0x50 0x6 0x1 b root@rescue-nsa320:~$ i2cget -y 0 0x50 0x6 b 0x01
root@rescue-nsa320:~$ i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: 50 UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --and...
i2cdump -y 0 0x50 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: c8 6c 87 ef df a8 01 ff ff ff ff ff ff ff ff ff ?l?????......... 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................and maybe a clue... does the board/i2c chip need power from the on-board battery? [ red herring : I replaced the battery w/ a known good unit - no change]
dmesg [ 3.676436] rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.