-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpha v2 #3
base: master
Are you sure you want to change the base?
Alpha v2 #3
Conversation
…le and only change fan speed when required. Sends information to kernel when the fan speed changes.
…y one parameter that indicates the device to control.
Change how log is sent to kernel (date is not required).
…together. Scripts are recoded as library
…whith minor changes mainly related to convert the script on library. New feature added to send fan changes to kernel, and only change fan speed when required.
Move som variables to lowercase to easily reading. Removed some testing routines. Put set_led function calls sincronous because blink calls are asyncronous yet. Change blkink_leds function name to set_leds to easy reading of main daemon.
Removed old_status line that are obsolete.
Configuration file to easily change parameters without change the code itself.
Adding the new daemon that substitue the old fan-daemon. Minor changes on files in order to fit new names.
Added descriptions about what the daemon currently does.
#tmppath="/run/dns-nas-utils" | ||
|
||
# Default fan device | ||
#fan_device="/sys/devices/gpio_fan/hwmon/hwmon0/fan1_target" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 My DNS has different path to the fan. It is great that I can configure it from here!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dobiatowski What's the path? Adding various paths to search for is probably a good idea. Or it could be the default is just wrong nowadays.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi guys,
In my DNS320 (old version) this path is the correct, but probably in the newer version or others the path is different.
I'm thinkint onto create a dialog assistant to configure with dpkg the dns-nas-utils.conf
What do you think about this?
…d from any arbitrary location.
Hi Jamie
Here is my v2 proposal it includes your fan control, a hdd_led control and disk power state monitor.
The main daemon are entirely remastered but your daemon are near to be identical to the original but converted as a library.
Thank you.