[lm-sensors] How do you make lm_sensors see a hwmon device?
a.nielsen at shikadi.net
Sun Oct 11 15:44:43 CEST 2009
I've written a driver for a USB device that has a number of sensors on it
(it's a PC power supply with a USB cable for voltage/current monitoring) and
the device appears in the hwmon class.
Unfortunately I can't figure out how to make lm_sensors "see" it (when I run
"sensors" it isn't displayed, and programs like gkrellm that use lm_sensors
don't see the device or its sensors.) The files all seem to be in the same
place as other devices which work, and I'm running a fairly recent version of
Any ideas how to make my device appear to lm_sensors?
$ ls /sys/class/hwmon/hwmon/device/name
-r--r--r-- 1 root root 4.0K 2009-10-11 22:55 /sys/class/hwmon/hwmon4/device/name
-r--r--r-- 1 root root 4.0K 2009-10-11 23:24 /sys/class/hwmon/hwmon5/device/name
$ cat /sys/class/hwmon/hwmon/device/name
$ cat /sys/class/hwmon/hwmon/device/temp1_input
More information about the lm-sensors