4155a5a8 | 24-Jan-2025 |
George Liu <liuxiwei@ieisystem.com> |
psu: Convert logging to lg2
Change-Id: I223d888a7c8f8bfa64c1fbdf3170fa511fb696d8 Signed-off-by: George Liu <liuxiwei@ieisystem.com> |
a205c6fa | 13-Feb-2025 |
Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> |
Fix for PSU input sensors
PSU1_input_power and PSU1_In_Voltage sensors are not populated in busctl tree xyz.openbmc_project.PSUSensor.
Its happening as the sensor names searched with "sensorNameSub
Fix for PSU input sensors
PSU1_input_power and PSU1_In_Voltage sensors are not populated in busctl tree xyz.openbmc_project.PSUSensor.
Its happening as the sensor names searched with "sensorNameSubStr" in code and it was populating PSUProperty as "Output Power" for Power Input sensors(pin) as well.
So update "sensorNameSubStr" with "labelHead" and add the strings to labelMatch as per the PSU configuration file to populate pin sensors.
Tested: Verified using ipmitool sensor list. ~#ipmitool sensor list | grep -i psu PSU1_In_Current | 1.872 |Amps |ok|na | na|na|na|na| na PSU1_Out_Current | 30.000 |Amps |ok|na |na|na| 164.000|180.000|na Pwm_PSU1_Fan_1|39.984 |unspecified |ok|na|na|na|na|na| na Pwm_PSU1_Fan_2|39.984 |unspecified |ok|na|na|na|na|na| na PSU1_Fan_Speed_1 | 8142.000|RPM |ok|na|na|na|na|na| na PSU1_Fan_Speed_2 | 6962.000|RPM |ok|na|na|na|na|na| na PSU1_Input_Power | 401.200 |Watts|ok|na|na|na| 1947.000| 2147.600 | na PSU1_Out_Power|354.000 |Watts |ok|na|na|na|na|na| na PSU1_Temperature | 26.000 |degrees C |ok|na|na|na| 73.000 |78.000 |na PSU1_In_Voltage | 207.680 |Volts |ok|na|na|na|na|na| na
Signed-off-by: Jitendra Tripathy <jitendra.kumarx.tripathy@intel.com> Signed-off-by: Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> Change-Id: Idc7099e28632342c3c6591a63da6cd2129cd9f63
show more ...
|
556e04b8 | 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: I81aff1005be025ddb4405f384513c8e5e20bf6f4 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: I81aff1005be025ddb4405f384513c8e5e20bf6f4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
ff8c90ef | 01-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: Ia881ec1745179e1ced79cc1d6cddbb2743f390f2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
18b6186e | 30-Jan-2025 |
Ed Tanous <ed@tanous.net> |
Apply misc-include-cleaner fixes
misc-include-cleaner seems to have found a lot more things all of a sudden. Unclear why the result has changed, but we can just fix the issues.
Tested: Clang-tidy
Apply misc-include-cleaner fixes
misc-include-cleaner seems to have found a lot more things all of a sudden. Unclear why the result has changed, but we can just fix the issues.
Tested: Clang-tidy now passes. Code compiles.
Change-Id: Iab045cc183f0daef663b4d5ac901200a42807987 Signed-off-by: Ed Tanous <etanous@nvidia.com>
show more ...
|
2e466967 | 30-Jan-2025 |
Ed Tanous <ed@tanous.net> |
Deprecate std::filesystem namespace include
Clang-tidy is complaining about our using fs = ... directives. These were originally added to handle boost::filesystem vs std::experimental::filesystem v
Deprecate std::filesystem namespace include
Clang-tidy is complaining about our using fs = ... directives. These were originally added to handle boost::filesystem vs std::experimental::filesystem vs std::filesystem between the various compilers. Now that we're all on std::filesystem, this redefinition can be removed.
``` ChassisIntrusionSensor.hpp:11:11: error: namespace alias decl 'fs' is unused [misc-unused-alias-decls,-warnings-as-errors] 11 | namespace fs = std::filesystem; ```
Tested: code compiles
Change-Id: If4b968ff9cceb4038f526321d3c7c11563ffbce9 Signed-off-by: Ed Tanous <etanous@nvidia.com>
show more ...
|
b2392efa | 10-Dec-2024 |
Andrew Geissler <geissonator@yahoo.com> |
psusensor: add new CRPS185 power supply
The CRPS185 is a new power supply for certain IBM systems. The device driver has been upstreamed in the Linux kernel.
Tested: - Confirmed expected sensors ap
psusensor: add new CRPS185 power supply
The CRPS185 is a new power supply for certain IBM systems. The device driver has been upstreamed in the Linux kernel.
Tested: - Confirmed expected sensors appeared on dbus
Change-Id: I460fbf81f5f67f47f5dd56b9a1435f217b144f80 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
a9ea8e55 | 01-Jan-2025 |
Rush Chen <rush.chen.wiwynn@gmail.com> |
PSUSensor: add SY24655 device
Summary: # Description: Add SY24655 in dbus-sensors
# Motivation: - Support SY24655.
Test Plan: - Check the corresponding sensors
# Test Log: root@bmc:~# busctl intr
PSUSensor: add SY24655 device
Summary: # Description: Add SY24655 in dbus-sensors
# Motivation: - Support SY24655.
Test Plan: - Check the corresponding sensors
# Test Log: root@bmc:~# busctl introspect xyz.openbmc_project.EntityManager \ > .../Yosemite_4_Spider_Board/SPIDER_PMON_NIC0_12V NAME RESULT/VALUE org.freedesktop.DBus.Introspectable - .Introspect s org.freedesktop.DBus.Peer - .GetMachineId s .Ping - org.freedesktop.DBus.Properties - .Get v .GetAll a{sv} .Set - .PropertiesChanged - xyz.openbmc_project.Configuration.SY24655 - .Address 65 .Bus 14 .Labels 3 "in0" "curr1" "power1" .Name "SPIDER_PMON_NIC0_12V" .Type "SY24655" .curr1_Name "SPIDER_PMON_NIC0_12V_CURR_A" .in0_Name "SPIDER_PMON_NIC0_12V_VOLT_V" .power1_Name "SPIDER_PMON_NIC0_12V_PWR_W"
Change-Id: I79a2c004c2418f3e8582aef6aa59ae0193b05bac Signed-off-by: Rush Chen <rush.chen.wiwynn@gmail.com>
show more ...
|
d7be555e | 19-Sep-2024 |
George Liu <liuxiwei@ieisystem.com> |
Move source files into application-specific sub-directories
Currently, dbus-sensors implement multiple applications: - psusensor - adcsensor - intelcpusensor - hwmontempsensor - ipmbsensor - n
Move source files into application-specific sub-directories
Currently, dbus-sensors implement multiple applications: - psusensor - adcsensor - intelcpusensor - hwmontempsensor - ipmbsensor - nvmesensor - externalsensor - mcutempsensor - intrusionsensor - fansensor - exitairtempsensor
This commit is to create separate directories for each application so that things can be separated more easily and the files are smaller, instead of creating one huge file for the sensor implementation.
There was some discussion in discord on this. [1][2]
[1]: https://discord.com/channels/775381525260664832/1187158775438778408/1284106093756289067 [2]: https://discord.com/channels/775381525260664832/867820390406422538/1303217796821553214
Signed-off-by: George Liu <liuxiwei@ieisystem.com> Change-Id: I258fc2ee7d8f939c7b83a07350395e78775b2b8d
show more ...
|