Reading motherboards using Java I / O

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

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

If so, how?

+2
java i2c smbus
source share

No one has answered this question yet.

See similar questions:

6
Is there a Java SE Sensor API?

or similar:

6170
Is Java pass-by-reference or pass-by-value?
3799
How do I read / convert an InputStream to a string in Java?
3324
How to generate random integers in a specific range in Java?
3073
How to efficiently iterate over each entry on a Java map?
3044
Creating a memory leak using Java
2956
What is the difference between public, secure, batch, and private in Java?
2936
When to use LinkedList over ArrayList in Java?
2853
How to convert String to int in Java?
2248
Is the finally block always executable in Java?
one
Add custom sensor to lm_sensors?

All Articles