Skip to content

Commit

Permalink
montblanc: config: Update sensor config for PVT units sensors (#299)
Browse files Browse the repository at this point in the history
Summary:
**Description**
Updated sensors config file for PVT state devices.

**Motivation**
1.Add PVT device config based on eeprom data.
![image](https://github.com/user-attachments/assets/a404ae86-f8c8-4894-a097-ac810400f92c)
2. Add COMe MP state config.

**Test Plan**

- Run the jq to format json file.
- download the latest fboss platform manager  and sensor service binary.
- Run sensor service with updated config file is correct.
- Run the platform manager with the changed config files on DVT and 2nd source DVT device normally: LD_LIBRARY_PATH=./lib/ ./bin/platform_manager --config_file ./platform_manager.json --run_once=false --noenable_pkg_mgmnt
- Run sensor_service with the new config file: LD_LIBRARY_PATH=./lib/ ./bin/sensor_service --config_file ./sensor_service.json --logging=DBG1

[montblanc_PVT_sensor_service_hw_test_log_241128.txt](https://github.com/user-attachments/files/17942144/montblanc_PVT_sensor_service_hw_test_log_241128.txt)

Pull Request resolved: #299

Reviewed By: kimdo8736

Differential Revision: D66969750

Pulled By: mikechoifb

fbshipit-source-id: d08844c6442ef72150023bfee314f5366c07b320
  • Loading branch information
clslucas authored and facebook-github-bot committed Dec 13, 2024
1 parent 8158619 commit 153e19c
Showing 1 changed file with 777 additions and 43 deletions.
Loading

0 comments on commit 153e19c

Please sign in to comment.