Skip to content

[device][accton]Add fan monitor for as7816-64x#2859

Merged
lguohan merged 5 commits intosonic-net:masterfrom
roylee123:add_fan_monitor_as7816-64x
May 8, 2019
Merged

[device][accton]Add fan monitor for as7816-64x#2859
lguohan merged 5 commits intosonic-net:masterfrom
roylee123:add_fan_monitor_as7816-64x

Conversation

@roylee123
Copy link
Copy Markdown
Collaborator

Add fan monitor for as7816-64x.

- What I did
Add a monitor to control fan speed based on temperature.

- How I did it
Register a fan monitor at 7816 service.

- How to verify it

  1. Stopping service shall make fan runs at full speed.
  2. unplug any of fans shall make fan runs at full speed.
  3. Fan speed up when overall temperature over 43 degree.

- A picture of a cute animal (not mandatory but encouraged)

… fan monitor.

Signed-off-by: roy_lee <roy_lee@accton.com>
Signed-off-by: roy_lee <roy_lee@accton.com>
Signed-off-by: roy_lee <roy_lee@accton.com>
Signed-off-by: roy_lee <roy_lee@accton.com>
Copy link
Copy Markdown
Collaborator

@lguohan lguohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@lguohan lguohan merged commit 584ed98 into sonic-net:master May 8, 2019
MichelMoriniaux pushed a commit to criteo-forks/sonic-buildimage that referenced this pull request May 28, 2019
* catch signal SIGINT and SIGTERM to set all fans full-speed before end fan monitor.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Add fan_control monitor for as7816-64x.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Fix typo.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Correct typo and duty setting after verified.
Signed-off-by: roy_lee <roy_lee@accton.com>
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.

2 participants