Audrius,
> Beeper mod:
>
https://forum.doozan.com/read.php?2,27108,32171#msg-32171
That's not for the NSA310 box. The buzzer is implemented differently for each box. In general, there are 2 ways to implement a buzzer. Most NAS use either GPIO or serial port to activate the buzzer, some use I2C.
For this Zyxel NSA310, I don't recall we know how to activate the buzzer. Does it work in stock OS? If it does, then it's controlled by either GPIO or I2C. If it is GPIO then you need to find that GPIO number. If it's I2C then you need to find the I2C command.
If it does work in stock OS, then perhaps boot to stock OS and look for for a script that activate the buzzer. And we'll see if it can be added to the DTS (in case it uses GPIO).
Knowing how Zyxel NAS usually implement these sensor and alarm, I'm almost certain that it uses I2C command.
-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)