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

meru800biab: services support #254

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

aalamsi22
Copy link
Contributor

Description

This is part of a series of PRs to add support for meru800biab

This PR adds support for various services.

Changes summary

  • Data_corral/led_manager init support. Config added (identical to meru800bia)
  • fan_service config (identical to meru800bia)
  • sensor_service config (identical to meru800bia)
  • fw_util config (identical to meru800bia)
  • weutil config (identical to meru800bia)

Test

sensor_service

run_sensor_service.sh[5887]: I1004 19:25:10.118188  6111 SensorServiceImpl.cpp:113] Fetching using legacy sensor structs...
run_sensor_service.sh[5887]: I1004 19:25:10.231551  6111 SensorServiceImpl.cpp:124] In Total, Processed 64 Sensors. 0 Failures.
run_sensor_service.sh[5887]: I1004 19:25:15.118253  6111 SensorServiceImpl.cpp:113] Fetching using legacy sensor structs...
run_sensor_service.sh[5887]: I1004 19:25:15.231505  6111 SensorServiceImpl.cpp:124] In Total, Processed 64 Sensors. 0 Failures.

fan_service

run_fan_service.sh[5947]: I1004 19:14:05.031261  5961 ControlLogic.cpp:443] fan_1: Programmed with PWM 47 (raw value 120)
run_fan_service.sh[5947]: I1004 19:14:05.034254  5961 ControlLogic.cpp:443] fan_2: Programmed with PWM 47 (raw value 120)
run_fan_service.sh[5947]: I1004 19:14:05.037244  5961 ControlLogic.cpp:443] fan_3: Programmed with PWM 47 (raw value 120)
run_fan_service.sh[5947]: I1004 19:14:05.040243  5961 ControlLogic.cpp:443] fan_4: Programmed with PWM 47 (raw value 120)
run_fan_service.sh[5947]: I1004 19:14:05.044249  5961 ControlLogic.cpp:463] fan_1: Setting LED to Good (value: 1)
run_fan_service.sh[5947]: I1004 19:14:05.047146  5961 ControlLogic.cpp:463] fan_2: Setting LED to Good (value: 1)
run_fan_service.sh[5947]: I1004 19:14:05.051142  5961 ControlLogic.cpp:463] fan_3: Setting LED to Good (value: 1)
run_fan_service.sh[5947]: I1004 19:14:05.055146  5961 ControlLogic.cpp:463] fan_4: Setting LED to Good (value: 1)
run_fan_service.sh[5947]: I1004 19:14:42.272579  5961 Bsp.cpp:303] Got sensor data from sensor_service.  Item count: 64
run_fan_service.sh[5947]: I1004 19:14:42.272600  5961 ControlLogic.cpp:99] Successfully fetched sensor data.

data_corral

run_data_corral_service.sh[5886]: I1004 19:27:04.973449  5890 LedManager.cpp:80] Wrote 0 to file /sys/class/leds/psu_led:red:status/brightness
run_data_corral_service.sh[5886]: I1004 19:27:04.973453  5890 LedManager.cpp:55] Programmed PSU LED with presence true
run_data_corral_service.sh[5886]: I1004 19:27:04.973458  5890 LedManager.cpp:45] Programming FAN LED with true
run_data_corral_service.sh[5886]: I1004 19:27:04.973473  5890 LedManager.cpp:80] Wrote 1 to file /sys/class/leds/fan_led:green:status/brightness
run_data_corral_service.sh[5886]: I1004 19:27:04.973487  5890 LedManager.cpp:80] Wrote 0 to file /sys/class/leds/fan_led:red:status/brightness
run_data_corral_service.sh[5886]: I1004 19:27:04.973491  5890 LedManager.cpp:55] Programmed FAN LED with presence true
run_data_corral_service.sh[5886]: I1004 19:27:04.973495  5890 LedManager.cpp:25] Programming system LED with true
run_data_corral_service.sh[5886]: I1004 19:27:04.973510  5890 LedManager.cpp:80] Wrote 1 to file /sys/class/leds/sys_led:green:status/brightness
run_data_corral_service.sh[5886]: I1004 19:27:04.973525  5890 LedManager.cpp:80] Wrote 0 to file /sys/class/leds/sys_led:red:status/brightness
run_data_corral_service.sh[5886]: I1004 19:27:04.973530  5890 LedManager.cpp:34] Programmed system LED with true

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

Successfully merging this pull request may close these issues.

2 participants