#
673b981a |
| 01-Aug-2024 |
Alexander Hansen <alexander.hansen@9elements.com> |
interfaces: use old dbus encoding
Due to backwards compatibility with old configurations, this is an easy fix to bring back the old object paths.
Tests are provided to capture this behavior.
Chang
interfaces: use old dbus encoding
Due to backwards compatibility with old configurations, this is an easy fix to bring back the old object paths.
Tests are provided to capture this behavior.
Change-Id: Ic89f2eb02bb908cf23b833b08fdca941bef2a07a Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
show more ...
|
#
24d124f9 |
| 16-Jul-2024 |
Alexander Hansen <alexander.hansen@9elements.com> |
sysfs: Refactor LED property parsing
Added new test for parsing led description from sysfs.
Since there are some edge cases that can happen, to make sure the parsing happens as expected in all case
sysfs: Refactor LED property parsing
Added new test for parsing led description from sysfs.
Since there are some edge cases that can happen, to make sure the parsing happens as expected in all cases.
The edge cases primarily come from the different led properties that can be present or absent in devicetree. I have tested some combinations thereof and would prefer the label to be generated by led sysfs instead of manually providing the 3-component label.
However for that to work phosphor-led-sysfs must be able to extract the labels components in all cases.
This modifies the behavior slightly but it will stay the same for led names that have 1 or 3 components.
Change-Id: I8def089e4c8dc5d3a341cf6f6b1d6356f5aefe48 Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
show more ...
|
#
85c1c2a7 |
| 29-Nov-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer retur
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer return true for auto features. Instead, the expectation is to use `allowed()` which is true for both enabled and auto.
Switch all uses of `enabled` to `allowed`.
Change-Id: I2fcb7f5ec79e4a71720306519e31d010ba9852ec Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
c7d70b67 |
| 17-May-2021 |
George Liu <liuxiwei@inspur.com> |
Add meson build This commit is to add meson.build. And later, we will remove Autotools and replace it with meson build. Signed-off-by: George Liu <liuxiwei@inspur.com> Chang
Add meson build This commit is to add meson.build. And later, we will remove Autotools and replace it with meson build. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I3107491093a6b69f966bab6eeb4f2d7581bfa186
show more ...
|