Page 1 of 1

Running fan when waiting for WOL

PostPosted: Fri Nov 03, 2017 8:50 am
by RuiPereira
Hi,

I managed to install the latest fvdw-sl firmware (17 + patch) on my 2big2 (from stock firmware) and it is running fine with a couple of 3TB HDD in RAID1 (great job BTW! :thumbup ).
There's however an issue that I couldn't solve: when putting the NAS into WOL standby, the fan keeps spinning at full speed (noisily) all the while it is waiting for the magic packet.

I'm aware that this is a "fake" WOL implementation, and that the NIC and CPU are running and waiting for the WOL packet to power-up the disks, so I was wondering if there's something wrong with the wol-fvdw-sl binary that waits for the magic packet, or some missing fan-related module or daemon not yet loaded at this stage during the "wolenable" boot in /etc/init.d/rcS.

Cheers!

Re: Running fan when waiting for WOL

PostPosted: Sat Nov 04, 2017 3:08 pm
by RuiPereira
As a followup, I found out that force stopping the fan with
Code: Select all
  echo 0 > /sys/bus/i2c/drivers/g762/0-003e/hwmon/hwmon0/pwm1
right before entering the wol-fvdw-sl loop in /etc/init.d/rcS seems to do the trick. This seems a little hacky though, so maybe there's some more proper way of doing it.

Re: Running fan when waiting for WOL

PostPosted: Sun Nov 05, 2017 5:26 pm
by fvdw
Nothing wrong with this hack ;)