With the new Linux kernel 2.6.15 it is possible to use hddtemp for SCSI
or SATA disks. These disks appear as /dev/sda, /dev/sdb and so on.
ksensors currently only looks for IDE devices in /proc/ide. With the
attached patch ksensors first tries to open the directory /sys/block,
which has hd* and sd* entries. If /sys/block is not there, /proc/ide is
used as usual.
I sent this patch over a week ago to the upstream author, but got no answer. The current ksensors is from August 2004, so maybe he is busy with other things.
Created attachment 78116 [details, diff]
Patch for ksensors-0.7.3.ebuild
Created attachment 78117 [details, diff]
Created attachment 87980 [details, diff]
prevent ksensors from calling hddtemp with multiple params
on my box, hddtemp segfault when call with :
hddtemp -q /dev/hdd /dev/hdc
but, not if called like :
hddtemp -q /dev/hdd
hddtemp -q /dev/hdc
so, ksensors need to be patch not to so.
that's what the attached patch is doing
(it may be better to fix hddtemp but this dirty hack work for me)
Just ran into this bug while looking at SATA stuff.
Maybe take the patches to upstream?
I sent the first patch to the address listed on ksensors.sf.net in January, but didn't get an answer until now. If you (or somebody else) knows how to contact upstream, you're welcome to forward these patches.
The patches look good, unfortunately we don't normally accept patches that add features, as they aren't in keeping with our policy of 'Try to distribute as similar to upstream as possible'. The patches have been submitted upstream (see URL), and I've sent an email to the author.
*** Bug 171208 has been marked as a duplicate of this bug. ***
As this application is abandoned, resolution upstream is unreasonable. Using bug 173821 as tracker.
This has been fixed by using the Debian patchset from bug 171208. I've just committed ksensors-0.7.3-r1 to CVS.