[PATCH linux dev-4.19 00/12] PECI device driver introduction
Jae Hyun Yoo
jae.hyun.yoo at linux.intel.com
Thu Mar 21 03:16:46 AEDT 2019
Hi Henbin,
No, PECI hwmon can't be created by the udev->start_hwmon.sh.
To create PECI hwmon, you might need to use these two packages:
https://github.com/openbmc/entity-manager
https://github.com/openbmc/dbus-sensors
PECI hwmon needs runtime creation because it needs to collect CPU
package information such as core numbers and installed DIMMs.
If you want to create PECI hwmon manually, you can try:
echo 'peci-client 0x30' > /sys/bus/peci/devices/peci-0/new_device
echo 'peci-client 0x30' > /sys/bus/peci/devices/peci-0/delete_device
Make sure that the host should be powered on when you create it.
Cheers,
Jae
On 3/19/2019 10:50 PM, Henbin Chang wrote:
> Hi Jae,
>
> Can you give some suggestion for my question?
> Thanks.
>
> BRs
>
> Henbin Chang <henbinchang at gmail.com <mailto:henbinchang at gmail.com>> 於
> 2019年3月19日 週二 下午4:22寫道:
>
> Hi,
>
> We would like to create CPU temperature sensor.
> We could see the hwmon file in the /sys/class/hwmon/
> But we found the content of uevent file was empty.
> That meant the sensor wasn't created through udev->start_hwmon.sh
> Can you give some suggestion?
>
> root at tiogapass:/sys/class/hwmon/hwmon4# cat name
> peci_cputemp.cpu0
> root at tiogapass:/sys/class/hwmon/hwmon4# cat uevent
> root at tiogapass:/sys/class/hwmon/hwmon4#
> root at tiogapass:/sys/class/hwmon/hwmon4#
>
More information about the openbmc
mailing list