D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320L => Topic started by: Fabiano Pinheiro on June 29, 2016, 02:05:37 PM

Title: Fan Speed - Fan Control
Post by: Fabiano Pinheiro on June 29, 2016, 02:05:37 PM
hello friends, I like to know the command can get the fan speed in rpm, as shown on the homepage.

by fan_control -g 3 can only see the status 0 or 1

(https://goo.gl/BnCbkV)

(https://goo.gl/fYDY2s)
Title: Re: Fan Speed - Fan Control
Post by: ivan on June 29, 2016, 03:28:44 PM
This needs moving over to the 320L forum.
Title: Re: Fan Speed - Fan Control
Post by: Fabiano Pinheiro on June 30, 2016, 05:16:59 AM
Sorry, I did not notice it
Title: Re: Fan Speed - Fan Control
Post by: ivan on June 30, 2016, 10:17:04 AM
Not a big problem, it is just that more people with the 230L come here and might be able to help.

Am I correct in thinking you want to do some firmware hacking for some reason?  If not, what do you want to do with the information assuming it is readily available in a form that can be used outside the webUI?
Title: Re: Fan Speed - Fan Control
Post by: Fabiano Pinheiro on June 30, 2016, 10:23:05 AM
I would only like to monitor the rpm by adding on the page the add-on SensorLog
Title: Re: Fan Speed - Fan Control
Post by: ivan on June 30, 2016, 02:54:11 PM
I don't think it is going to be very easy.

You might be lucky and find how they do it in the webUI by looking at the 'page source' when you open that page in a browser. 

On the other hand it might require that you write some addon software that takes the speed signal generated by the fan and translates that into some text that can written to the log file at set intervals. The success of that will depend on how good you are at Linux on ARM programming.