#
92261f88 |
| 01-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I8bc99b559079b8454b11bff0be5ddfb6e55e71ba Signed-off-by: Patrick Williams <p
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I8bc99b559079b8454b11bff0be5ddfb6e55e71ba Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
8c232456 |
| 05-May-2021 |
Shawn McCarney <shawnmm@us.ibm.com> |
regulators: Complete PMBusReadSensorAction class
Complete implementation of the PMBusReadSensorAction class. Publish the sensor value on D-Bus using the Sensors service.
Update gtests for this cla
regulators: Complete PMBusReadSensorAction class
Complete implementation of the PMBusReadSensorAction class. Publish the sensor value on D-Bus using the Sensors service.
Update gtests for this class to expect calls to the Sensors service. Fix some constructor parameter combinations that did not make sense, such as linear_16 format for non-voltage sensors.
Also refactor the TestSDBusError exception class into a separate file. This allows it to be shared by multiple test cases. This class is a concrete implementation of the abstract sdbusplus::exception_t class used for D-Bus errors.
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I5a77616b2ae5b17224c296aeee88019512649589
show more ...
|
#
cb3f6a63 |
| 30-Apr-2021 |
Shawn McCarney <shawnmm@us.ibm.com> |
regulators: Add inventory path to Chassis class
A previous commit added the "inventory_path" property to the "chassis" object in the JSON configuration file.
This commit adds that new property to t
regulators: Add inventory path to Chassis class
A previous commit added the "inventory_path" property to the "chassis" object in the JSON configuration file.
This commit adds that new property to the C++ implementation: * Chassis class and associated gtests * JSON configuration file parser functions and associated gtests * Other gtests affected by the change to the Chassis constructor
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I7406f874263d01e6faa2b8c333cb1baf915cf2ac
show more ...
|
#
81a2f90b |
| 23-Mar-2021 |
Shawn McCarney <shawnmm@us.ibm.com> |
regulators: Create error log entries
Create error log entries when the following regulator operations fail: * configuration * presence detection * sensor monitoring * closing I2C devices
Use the re
regulators: Create error log entries
Create error log entries when the following regulator operations fail: * configuration * presence detection * sensor monitoring * closing I2C devices
Use the recently created error_logging_utils namespace to create error logs based on caught exceptions.
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I25824ecfdaa270abbce92b52bdea0602271d926d
show more ...
|
#
462e5926 |
| 19-Nov-2020 |
Bob King <Bob_King@wistron.com> |
regulators: Complete PresenceDetection class
Complete implementation of the PresenceDetection class. Implement the execute() method that executes one or more actions to determine if a device is pre
regulators: Complete PresenceDetection class
Complete implementation of the PresenceDetection class. Implement the execute() method that executes one or more actions to determine if a device is present.
Cache the results so that subsequent calls to execute() will return the cached value. Executing the actions may be expensive, requiring one or more D-Bus calls.
Provide a clearCache() method to be called on each boot to clear the cached value.
Signed-off-by: Bob King <Bob_King@wistron.com> Change-Id: Ie0e3dfde10f2df8ca8b56ec14ce723f356e97dfc
show more ...
|
#
bfe2c25a |
| 10-Mar-2020 |
Shawn McCarney <shawnmm@us.ibm.com> |
regulators: Create PresenceDetection class
Create C++ class that implements the 'presence_detection' element from the JSON config file. See presence_detection.md for more information.
The execute(
regulators: Create PresenceDetection class
Create C++ class that implements the 'presence_detection' element from the JSON config file. See presence_detection.md for more information.
The execute() method of this class will be implemented in a future commit.
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: Id6e1d66afe9179c92455d3f7b8f15bb54745f3eb
show more ...
|