<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-hwmon, branch master</title>
<subtitle>OpenBMC Phosphor hwmon relay daemon sources</subtitle>
<id>https://git.raptorcs.com/git/phosphor-hwmon/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-hwmon/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-hwmon/'/>
<updated>2018-05-19T11:06:03+00:00</updated>
<entry>
<title>Add frequency capability to hwmon publisher</title>
<updated>2018-05-19T11:06:03+00:00</updated>
<author>
<name>Raptor Engineering Development Team</name>
<email>support@raptorengineering.com</email>
</author>
<published>2018-05-19T11:06:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-hwmon/commit/?id=c9eb5cb08f51c4563e018422a1a6b87ca3d2d262'/>
<id>urn:sha1:c9eb5cb08f51c4563e018422a1a6b87ca3d2d262</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Increase raw fan control steps to avoid fan hunting</title>
<updated>2018-05-16T09:05:36+00:00</updated>
<author>
<name>Raptor Engineering Development Team</name>
<email>support@raptorengineering.com</email>
</author>
<published>2018-04-20T11:00:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-hwmon/commit/?id=6323218846f9db94874ed127acd8afeac993a481'/>
<id>urn:sha1:6323218846f9db94874ed127acd8afeac993a481</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable raw PWM control mode for systems without known fan types</title>
<updated>2018-05-16T09:05:36+00:00</updated>
<author>
<name>Raptor Engineering Development Team</name>
<email>support@raptorengineering.com</email>
</author>
<published>2018-01-16T01:21:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-hwmon/commit/?id=292601f6785bc57c23a437a107d7f3065b2c4f2b'/>
<id>urn:sha1:292601f6785bc57c23a437a107d7f3065b2c4f2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use s.c_str() in log messages</title>
<updated>2018-05-14T21:01:54+00:00</updated>
<author>
<name>Joseph Reynolds</name>
<email>jrey@us.ibm.com</email>
</author>
<published>2018-05-10T20:54:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-hwmon/commit/?id=5dc6fe7c8cf6571988c130e8d2127de63963a3f4'/>
<id>urn:sha1:5dc6fe7c8cf6571988c130e8d2127de63963a3f4</id>
<content type='text'>
Resolves openbmc/openbmc#2905

Tested: static_assert only

Change-Id: Iac42db5c4a63116959b8f5fb7b611106e36e51bf
Signed-off-by: Joseph Reynolds &lt;jrey@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>.gitignore: Add test-driver</title>
<updated>2018-05-07T21:47:51+00:00</updated>
<author>
<name>Matthew Barth</name>
<email>msbarth@us.ibm.com</email>
</author>
<published>2018-05-07T21:47:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-hwmon/commit/?id=28842e1a26aae780ff7d96563b480e2d10df1876'/>
<id>urn:sha1:28842e1a26aae780ff7d96563b480e2d10df1876</id>
<content type='text'>
Change-Id: I08226c55afaebf0f2633a2a34879589e66fdf9ee
Signed-off-by: Matthew Barth &lt;msbarth@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Support indirections other than just "label"</title>
<updated>2018-05-07T21:19:53+00:00</updated>
<author>
<name>Matt Spinler</name>
<email>spinler@us.ibm.com</email>
</author>
<published>2018-05-04T15:52:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-hwmon/commit/?id=7c424807216cf276fb247954060561030720ea4e'/>
<id>urn:sha1:7c424807216cf276fb247954060561030720ea4e</id>
<content type='text'>
The current code only allowed the MODE_&lt;type&gt;&lt;Num&gt; env var
to be "label" when doing DBus naming indirection.

Add support to allow it to be anything, and then use that value
to do the lookup.

For example, if MODE_temp1 = "foo", then the code will read the
temp1_foo file to find the value to append to LABEL to find the
DBus object name.  So if temp1_foo contained a 42, then the code
will use the LABEL_temp42 var to find the object name.

Tested: Test on the OpenPower OCC device which use 'label' and now
        'function_id' for the indirections.

Change-Id: I1f3115a2d37d008efca74748ac7eff8434d8320a
Signed-off-by: Matt Spinler &lt;spinler@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>mainloop: add uniqueness to busname</title>
<updated>2018-05-07T15:52:55+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2018-04-24T02:01:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-hwmon/commit/?id=c897d8bb66ff98882a5f5c4df5afb94d678f61d4'/>
<id>urn:sha1:c897d8bb66ff98882a5f5c4df5afb94d678f61d4</id>
<content type='text'>
There can be multiple daemon instances that have the
same devpath which leads to a collision which errors silently.
This adds uniqueness to the path, which was no longer human-readable
to avoid this collision situation.

Tested: Ran on quanta-q71l with unique devices and two instances
pointing to the same device and it correctly set them up with unique
but deterministic bus names.
Change-Id: Id5aea3c3df5f793b28557a74995608ec40792a43
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
</content>
</entry>
<entry>
<title>Remove OCC EREMOTEIO return code hack</title>
<updated>2018-04-27T20:09:34+00:00</updated>
<author>
<name>Matthew Barth</name>
<email>msbarth@us.ibm.com</email>
</author>
<published>2018-04-26T14:46:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-hwmon/commit/?id=0b3050582046e509d517360c413a6f90ca7d9b3a'/>
<id>urn:sha1:0b3050582046e509d517360c413a6f90ca7d9b3a</id>
<content type='text'>
With openbmc/openbmc#2329, an OCC sensor value will not be read when the
associated fault file is set to true. This will set the value to 0 when
a sensor is faulted at startup or not update the previous value during
the monitoring loop if the OCC sensor becomes faulted.

Applications(i.e. fan control) needing to react to a faulted OCC sensor
can subscribe to property changed signals on the OperationalStatus
Functional property for the sensor's dbus object.

Tested:
    A faulted OCC sensor has a non-functional status on dbus

Change-Id: Ia43ebb1e0fe0227797bc4034e617ac357edd348d
Signed-off-by: Matthew Barth &lt;msbarth@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Refresh sensor functional state</title>
<updated>2018-04-27T20:09:34+00:00</updated>
<author>
<name>Matthew Barth</name>
<email>msbarth@us.ibm.com</email>
</author>
<published>2018-04-25T20:05:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-hwmon/commit/?id=bfcaf3d8c9de49453d85a2cbaf65e4fe276512d8'/>
<id>urn:sha1:bfcaf3d8c9de49453d85a2cbaf65e4fe276512d8</id>
<content type='text'>
During the monitoring loop, the associated fault file of a sensor is
read and its functional status is updated prior to reading the sensor's
input file.

Tested:
    The functional property is updated according to its fault file

Resolves: openbmc/openbmc#2329

Change-Id: Icc28e914df79c6681d45e92a5ea4054704ad8efd
Signed-off-by: Matthew Barth &lt;msbarth@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Skip updating value for faulted sensors</title>
<updated>2018-04-27T20:09:34+00:00</updated>
<author>
<name>Matthew Barth</name>
<email>msbarth@us.ibm.com</email>
</author>
<published>2018-04-25T19:38:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-hwmon/commit/?id=27c4a3943f05d762202432ac064f392253681265'/>
<id>urn:sha1:27c4a3943f05d762202432ac064f392253681265</id>
<content type='text'>
When a sensor is marked as faulted, the input value is skipped from
being read and updated in the sensor's dbus object during the monitoring
loop. This keeps the sensor's value set to its previously known state.

The hwmon documentation states that when a sensor input channel presents
an associated fault file, the measurement value provided for that
channel should not be trusted when the fault boolean has a value of
1. Not updating the sensor value follows this specification.

Tested:
    A non-functional sensor's input value is not read
    A non-functional sensor's value state in dbus object is not updated
    Any functional sensor's input value is read during monitoring
    Any functional sensor's value state is updated during monitoring
    All sensors without a fault sysfs file are read/updated normally

Change-Id: Iccf3e4e44125d6e481ce91c8f63e8f0e4ee3df4b
Signed-off-by: Matthew Barth &lt;msbarth@us.ibm.com&gt;
</content>
</entry>
</feed>
