A debian user reported that hddtemp support in sensors plugin broke the plugin completely. It tries to look for a sensor in /dev/fd* wich is a nonsense, there's no temperature sensor in a floppy disk. This is because fd is not blacklisted when looking in /sys/block. Attached patch should fixes the problem, but maybe there's a better way to do this? Cheers, -- Yves-Alexis
Created attachment 1525 patch to not look at floppy drive when looking for temp sensors
(In reply to comment #1) Fixed in svn already a while ago.
It seems to be the same issue with SD/MMC cards (e.g. /dev/mmcblk0), as they don't have temperature sensors afaik. Maybe /dev/mmc* or /dev/mmcblk* should be blacklisted as well. (this was reported by an ubuntu user on https://bugs.launchpad.net/ubuntu/+source/xfce4-sensors-plugin/+bug/241846)
Or maybe it would make sense to whitelist devices supposed to be supported by hddtemp?
(In reply to comment #4) Well, yes and no. So we must rely on all devices with temperature sensors being prefixed "sd" or "hd" and extend that information. Anyway. Done so in current version.
Anyone want to close it now with the whitelist od /dev/hd* and /dev/sd* as solution?
Thanks, tested and seems to work!