Reading motherboard sensors with Java Device I/O

2019-07-21 15:07发布

问题:

OpenJDK has the Device I/O (DIO) library, which can be used to read hardware sensors. One supported bus in the DIO library is I2C.

I have heard that desktop motherboard sensors are behind SMBus, basically a more restricted version of the I2C bus. Can I use DIO to read sensor data from my motherboard - for example, the CPU temperature?

If so, how?

标签: java i2c smbus