Starting the phosphor-hwmon service from udev rules

Patrick Williams patrick at stwcx.xyz
Thu Dec 8 09:38:48 AEDT 2016


On Wed, Dec 07, 2016 at 01:44:52PM -0600, Matt Spinler wrote:
> The issue with this is the %i is the device path of the hwmon driver, 
> which looks like
> /devices/platform/ahb/ahb:apb/1e78a000.i2c/i2c-0/i2c-0/0-0068/hwmon/hwmon0,
> and the hwmon<num> can't be known ahead of time by the MRW so it can't make
> conf files named that way.

Isn't this %i vs %I?  %I would be the unescaped path.  %i would be
escaped, so it would be devices-platform-ahb-ahb:apb-  (slash changed to
dash in general)

-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20161207/4be79559/attachment.sig>


More information about the openbmc mailing list