I would like to have support for any command that
returns a number. My problem is with my SATA drives.
The first problem is that ksensors only tries to do
hddtemp on /dev/hd[a-z] drives and the SATA drives are
seen as /dev/sd[a-z]. But even if you fixed that
hddtemp wouldn't work for these drives because hddtemp
doesn't work for them (if I try it the result is "drive
is sleeping")
But with a kernel patch and smartctl I can get the
temperature like this:
smartctl -A -d ata /dev/sda | grep Temp | sed 's/.*-
*//' |sed 's/ .*//'
So It would be nice to have an interface to ksensors
where I can put in any command and ksensors would
expect a number as result.