Skip to content
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

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

Alpha v2 #3

wants to merge 24 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 27, 2016

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.

…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).
…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"

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!

Copy link
Owner

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.

Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants