Welcome! Log In Create A New Profile

Advanced

Zyxel NSA 325 / Power on after power failure

Posted by safarik 
Re: Zyxel NSA 325 / Power on after power failure
November 17, 2019 12:59AM
The fan seems to be self regulating its rotations somehow so I did not think of it as an issue....

But I undestand that if it can be controlled it is nice to know how to do that just for the possibility itself :)

Tomas
Re: Zyxel NSA 325 / Power on after power failure
November 17, 2019 03:21AM
I went through hoops to make it less noisy:)

With advice from our resident audio experts JoeyPogoplug, LeggoMyEggo, and Gravelrash here , my NSA325 has been quiet down substantially (Dynamat is the answer). I guess it is a good problem that I still have quite a good hearing!!!

With the fan control working, you could make it quiet down more than the MCU auto control. 2.5" HDDs don't emit much heat, so it should be ok with 500-1000 RPM. With 3.5" HDDs, you should monitor the temps, if you run the fan too slow, and ramp it up if needed.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 11/17/2019 04:12AM by bodhi.
Re: Zyxel NSA 325 / Power on after power failure
November 17, 2019 12:00PM
I've got a NSA325 V1 and would like to be able to control the fan to reduce the noise. It runs OpenWrt and the disks are spun down most of the time so it should not need much cooling. I've already put some rubber rings around each screw between the fan and the housing to try to reduce the transmission of the vibrations to the case. I recently bought a second hand Netgear readynas duo v2 and it is amazing how quiet that is compared to the Zyxel. The case of the netgear is much more solid / heavy and it uses a larger fan that spins slower which helps in reducing the noise.

Koen
Re: Zyxel NSA 325 / Power on after power failure
November 17, 2019 05:23PM
Koen,

> I've got a NSA325 V1 and would like to be able to
> control the fan to reduce the noise. It runs
> OpenWrt and the disks are spun down most of the
> time so it should not need much cooling. I've
> already put some rubber rings around each screw
> between the fan and the housing to try to reduce
> the transmission of the vibrations to the case.

I have a different configuration. I'm running the Debian rootfs on USB thumb drive, all data are on the HDD (so it is spun down all the time). It's perfectly OK to run rootfs on a USB flash drive if you take precaution to move all logging to /tmp, swap file on HDD, and have a daily/weekly rsync backup for the USB rootfs.

> recently bought a second hand Netgear readynas duo
> v2 and it is amazing how quiet that is compared to
> the Zyxel. The case of the netgear is much more
> solid / heavy and it uses a larger fan that spins
> slower which helps in reducing the noise.
>

Yes, Netgear Duo V2 is a substantial improvement from the Duo V1. That V1 was Sparc architecture, and the fan was so loud that a lot people modified the case to put in larger and better fan. I had a V1 and did that too :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 11/17/2019 06:38PM by bodhi.
Re: Zyxel NSA 325 / Power on after power failure
November 19, 2019 03:31AM
If we cannot control fan speed directly. Maybe we can control the MIN Temp and MAX Temp when the fan starts and achieve max speed. The same way we are able to control fan speed on NSA310.
Which chip is using NSA325 ?
Base on the documentation mention in topic: https://forum.doozan.com/read.php?2,91649,91694
Are we able to confirm that we read temp and RPM from correct address (below code) ?

if [ "$MACHINE" == "ZyXEL NSA325" ]; then
echo "CPU Temperature" $(($(/usr/sbin/i2cget -y 0x0 0x0a 0x07))) "C"
echo "Fanspeed" $[60000/$(($(/usr/sbin/i2cget -y 0x0 0x0a 0x08)))] "RPM"
fi
Re: Zyxel NSA 325 / Power on after power failure
November 19, 2019 04:12AM
kofec,

> Are we able to confirm that we read temp and RPM
> from correct address (below code) ?
>
> if [ "$MACHINE" == "ZyXEL NSA325" ]; then
> echo "CPU Temperature" $(($(/usr/sbin/i2cget -y
> 0x0 0x0a 0x07))) "C"
> echo "Fanspeed" $[60000/$(($(/usr/sbin/i2cget -y
> 0x0 0x0a 0x08)))] "RPM"
> fi

Yes. I posted this instruction and can confirm that it is correct.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA 325 / Power on after power failure
November 19, 2019 04:14AM
And the only possible way to change the fan speed for the NSA325 is to use i2cset. And we need to find out what address and values.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA 325 / Power on after power failure
November 19, 2019 04:21AM
bodhi,

are you sure it can be done?

It seems to me from all the information that fan speen cannot be controlled on NSA325.

Tomas
Re: Zyxel NSA 325 / Power on after power failure
November 19, 2019 04:32AM
Bodhi, Safarik,
Yes, I understand/believe that these address are correct but I'm curious if someone who found it, can point us to any documentation/code to confirm it. And furthermore, maybe we will be able to find something more there.
Re: Zyxel NSA 325 / Power on after power failure
November 19, 2019 04:35AM
Tomas,

> are you sure it can be done?

Of course I am not sure.

> It seems to me from all the information that fan
> speen cannot be controlled on NSA325.

If you cannot find it in stock rootfs, then we just don't know if it is possible. It could be the case that since the fan is auto-control, Zyxel does not see the benefit of adding the fan control i2c command to the script.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA 325 / Power on after power failure
November 19, 2019 04:36AM
kofec,

> Yes, I understand/believe that these address are
> correct but I'm curious if someone who found it,
> can point us to any documentation/code to confirm
> it. And furthermore, maybe we will be able to find
> something more there.

It was found in the stock rootfs scripts.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA 325 / Power on after power failure
November 19, 2019 04:40AM
> It could be the case that since the fan is auto-control, Zyxel does not see the benefit of adding the fan control i2c command to the script.

Exactly, that is my impression.
Re: Zyxel NSA 325 / Power on after power failure
November 19, 2019 05:24AM
And it is possible but would take a lot of works to figure out :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA 325 / Power on after power failure
November 19, 2019 06:08AM
As I understand there was not more information in "this" script ?
Re: [SOLVED] Zyxel NSA 325 / Power on after power failure
December 25, 2019 10:31PM
Up in the Wiki:

https://forum.doozan.com/read.php?2,23630,23630#msg-23630

Quote

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

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
fgh
Re: [SOLVED] Zyxel NSA 325 / Power on after power failure
October 30, 2021 11:52AM
The Wiki-topic says this is related to NSA326 but thread-topic says 325.
Just want to confirm this works on NSA325 before I try anything...


safarik Wrote:
-------------------------------------------------------
> I got it working!
>
> TL;DR : The magic is this:
>
>
> # i2cset -y 0x0 0x50 0x7 0x01 b
>
>
> After setting this the device alwas powers on
> after cable reconnecting no matter if it was on of
> or before. Exactly as I wanted!
>....................................................
Re: [SOLVED] Zyxel NSA 325 / Power on after power failure
October 30, 2021 03:34PM
fgh,

> The Wiki-topic says this is related to NSA326 but
> thread-topic says 325.

> Just want to confirm this works on NSA325 before I
> try anything...

Thanks for pointing out that, it was a typo. Wiki should say NSA325.

Yes. Tomas has a Zyxel NSA325.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: