#
02e598ab |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: Iabfeec3ff53427c317ef9c0b5bf06326ab9a1e17 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
64129937 |
| 13-Feb-2024 |
Patrick Williams <patrick@stwcx.xyz> |
prefer std::format over fmt
Since C++20, std::format has existed so prefer that. For the single fmt::print call we can use stdplus::print until GCC supports the std one.
Signed-off-by: Patrick Wil
prefer std::format over fmt
Since C++20, std::format has existed so prefer that. For the single fmt::print call we can use stdplus::print until GCC supports the std one.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4c8af58966fb7330dee20fb13ae2ef11d8a823c7
show more ...
|
#
e8771fd4 |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I267a17e007b99caed10aef060e7dd9a0bcc5fc2e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
6a391de4 |
| 08-Jul-2020 |
Matt Spinler <spinler@us.ibm.com> |
Print the errno from a fail in the journal
When a file access fails, print the errno of the failure in the same journal entry the filename is already printed.
Signed-off-by: Matt Spinler <spinler@u
Print the errno from a fail in the journal
When a file access fails, print the errno of the failure in the same journal entry the filename is already printed.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I20d268f563cf1bbfa2a5f9780c02998d075f5275
show more ...
|
#
5e034afc |
| 24-Jun-2020 |
Matt Spinler <spinler@us.ibm.com> |
Print the failing filename in the journal msg
Instead of hiding the name of the file that had the failed access in the journal metadata, put it in the journal message so debug is easier.
Uses the f
Print the failing filename in the journal msg
Instead of hiding the name of the file that had the failed access in the journal metadata, put it in the journal message so debug is easier.
Uses the fmt library.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ice3958ffb576adf0b06ef7eab7d2fc03aa526819
show more ...
|
#
9e997b4d |
| 08-Mar-2019 |
Patrick Venture <venture@google.com> |
use filesystem instead of experimental
Use filesystem now that it should be available instead of experimental::filesystem.
Change-Id: I62838b343ce34f85a47661f1eaaff3c7e6338bbf Signed-off-by: Patric
use filesystem instead of experimental
Use filesystem now that it should be available instead of experimental::filesystem.
Change-Id: I62838b343ce34f85a47661f1eaaff3c7e6338bbf Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
2511c09b |
| 19-Dec-2018 |
Patrick Venture <venture@google.com> |
fan_pwm: add underscore prefix to members
Add underscore prefix to members for fan_pwm object.
Change-Id: Ic90d20b6e3881e8b7efe08fde3a08607d7bc6a38 Signed-off-by: Patrick Venture <venture@google.co
fan_pwm: add underscore prefix to members
Add underscore prefix to members for fan_pwm object.
Change-Id: Ic90d20b6e3881e8b7efe08fde3a08607d7bc6a38 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
043d3230 |
| 31-Aug-2018 |
Patrick Venture <venture@google.com> |
add .clang-format
Change-Id: I94ce26d595367e08d6fb3734535bcd855f1b1473 Signed-off-by: Patrick Venture <venture@google.com>
|
#
901f1177 |
| 14-Jun-2018 |
Kun Yi <kunyi731@gmail.com> |
fan_pwm: Commit fan PWM value regardless of previous target.
Failure scenraio: set fan pwm => set fan auto => set fan pwm to the same value.
DBus value would stay the same but the actual pwm valu
fan_pwm: Commit fan PWM value regardless of previous target.
Failure scenraio: set fan pwm => set fan auto => set fan pwm to the same value.
DBus value would stay the same but the actual pwm value is already changed. Fix is to always commit the value to sysfs.
Tested: Unit tests pass. Tested on hardware that setting DBus value on DBus always makes a pwm sysfs write.
Change-Id: I8e2c22dd514543e10c9302c1adb0403ba6883a91 Signed-off-by: Kun Yi <kunyi731@gmail.com>
show more ...
|
#
50552377 |
| 07-Jun-2018 |
Patrick Venture <venture@google.com> |
hwmonio:: Add Interface base class and tests
Enable injecting hwmonio::HwmonIO mocks for testing.
Tested: Ran on quanta-q71l and saw all sensors exported to dbus as expected with the expected value
hwmonio:: Add Interface base class and tests
Enable injecting hwmonio::HwmonIO mocks for testing.
Tested: Ran on quanta-q71l and saw all sensors exported to dbus as expected with the expected values.
Change-Id: I35912bf2a733932d9e1e774ff53b0114ae16560b Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
75e56c67 |
| 20-Apr-2018 |
Patrick Venture <venture@google.com> |
hwmonio: split IoAccess object out
Split out the hwmon io access object from the sysfs namespace into its own.
Change-Id: I8d1a45630117d1d503d0d5fa6061163911b695e8 Signed-off-by: Patrick Venture <v
hwmonio: split IoAccess object out
Split out the hwmon io access object from the sysfs namespace into its own.
Change-Id: I8d1a45630117d1d503d0d5fa6061163911b695e8 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
9331ab78 |
| 29-Jan-2018 |
Patrick Venture <venture@google.com> |
Add fan pwm interface target
The current daemon only supports RPM-based fan control, whereas the hwmon interface for PWM is often present. This implements the Fan Control PWM dbus interface.
This
Add fan pwm interface target
The current daemon only supports RPM-based fan control, whereas the hwmon interface for PWM is often present. This implements the Fan Control PWM dbus interface.
This CL is not the complete solution, but if mixed with a follow-on CL that does this, I think it'll be ideal. For instance, this assumes the pwm number matches, whereas the other CL lets you specify the corresponding PWM target for the fan.
Change-Id: I23aaa0619cdefba0a004ac0d26dc6b928e78f1e8 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|