• Posts

  • Joined

  • Last visited

-MaNIaC-'s Achievements


Newbie (1/14)



  1. Hi bonienl, first post in the Forums, lets see how I fare. I've been playing around with a few of your plugins and noticed some things in one of them: Specifically the Autofan: Im using an old Supermicro X8DTN+, the plugin is able to recognize the correct fan input and pwm device (In case of the X8DTN+ there are 8 Fan headers and they seem to all be controlled by one pwm controller: w83795adg). So far so good. Problem that i've experienced was that I was wondering why the fans were always going full throttle, even though the plugin kept changing the Input values. Found out a while later. The actual script doing the work ( /usr/local/emhttp/plugins/dynamix.system.autofan/scripts/autofan ) has a nice variable called PWM_HIGH which is set to a standard of 255. In case of the "w83795adg" that max pwm input seems to be around 150. Now it made sense why the fans always ramped up to full speed, since that value is used to calculate how the fans are set. Changed that manually in the above mentioned script and look here, now the fans are properly controlled. But I am quite sure that the setting is gone after a reboot (since its created via the *.tgx from the plugin). I don't want to modify that since that modification will be gone if there is an update from your side. Do you think you could add the setting for that to the settings page? Could also be interesting for people that want to limit the max speed of their fans for noise reasons. Until then I'll maybe write a small script for myself to correct that after booting. Another issue I noticed was that after a reboot the status of the Autofan plugin is "stopped" (which is true..no running process)... If I go into the settings and select the pwm controller it says enabled...to actually get it running I have to selected "disable" then "enable" again and apply. Then the plugin / script actually starts working. Workaround for myself is a small userscript that checks if autofan is running (pgrep) and executes the "rc.autofan start" if not. Scheduled that every 5 minutes, so after latest 5 minutes the Autofan kicks in. Have yet to figure out why it is not started after a reboot. Any idea? Thats all for for now. Hope this helps in further development. Regards -MaNIaC-