onewire-over-uart icon indicating copy to clipboard operation
onewire-over-uart copied to clipboard

Can this be used with hwmon?

Open dandelionred opened this issue 6 years ago • 2 comments

Great piece of software!

I'm looking for a way to add temperature sensors to my motherboard directly (without arduino like middleware) so they are visible to hwmon just like other built-in sensors and I could use fancontrol to control some fans based on the new sensors data.

So, can I use onewire-over-uart for that?

dandelionred avatar Sep 15 '18 23:09 dandelionred

I am afraid that you can't. To do that we need some kind of kernel driver that takes the UART. I am unaware of a clean way to do so.

A way I can imagine is to write a user-space hwmon kernel driver that takes values from a chardev / sysfs entry and relay that to the hwmon system.

dword1511 avatar Sep 18 '18 06:09 dword1511

For motherboard monitoring, you probably can find some I2C sensors and hook them up to the SMBus.

dword1511 avatar Sep 18 '18 06:09 dword1511