Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
blackbird-openbmc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenBMC Firmware
blackbird-openbmc
Commits
ef90c935
Commit
ef90c935
authored
Feb 19, 2020
by
Raptor Engineering Development Team
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Relabel fan tach inventory items for clarity in the Web UI
parent
5cf2d72d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
meta-rcs/meta-blackbird/recipes-phosphor/fans/phosphor-fan/label-fan-tachs-in-inventory.patch
...phor/fans/phosphor-fan/label-fan-tachs-in-inventory.patch
+13
-0
meta-rcs/meta-blackbird/recipes-phosphor/fans/phosphor-fan_%.bbappend
...a-blackbird/recipes-phosphor/fans/phosphor-fan_%.bbappend
+2
-0
No files found.
meta-rcs/meta-blackbird/recipes-phosphor/fans/phosphor-fan/label-fan-tachs-in-inventory.patch
0 → 100644
View file @
ef90c935
diff --git a/monitor/tach_sensor.cpp b/monitor/tach_sensor.cpp
index 5494450..6832ffe 100644
--- a/monitor/tach_sensor.cpp
+++ b/monitor/tach_sensor.cpp
@@ -81,7 +81,7 @@
TachSensor::TachSensor(Mode mode,
_bus(bus),
_fan(fan),
_name(FAN_SENSOR_PATH + id),
- _invName(path(fan.getName()) / id),
+ _invName(path(fan.getName()) / (id + "tach")),
_hasTarget(hasTarget),
_funcDelay(funcDelay),
_interface(interface),
meta-rcs/meta-blackbird/recipes-phosphor/fans/phosphor-fan_%.bbappend
View file @
ef90c935
...
...
@@ -5,6 +5,8 @@ FAN_PACKAGES += " \
phosphor-cooling-type \
"
SRC_URI += "file://label-fan-tachs-in-inventory.patch"
PACKAGECONFIG += "cooling-type"
RDEPENDS_phosphor-cooling-type += "libevdev"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment