On my Linux box, I found xfce4-sensors-plugin skip all sleeping drive. Here is some information about my environment: # cat /etc/issue Debian GNU/Linux 8 \n \l root@swa-host:~# uname -a Linux swa-host 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 GNU/Linux # aptitude show xfce4-sensors-plugin Package: xfce4-sensors-plugin State: installed Automatically installed: no Version: 1.2.5-2 Priority: optional Section: xfce Maintainer: Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org> Architecture: amd64 Uncompressed Size: 844 k Depends: libatk1.0-0 (>= 1.12.4), libc6 (>= 2.4), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.9.0), libfreetype6 (>= 2.2.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.18.0), libgtk2.0-0 (>= 2.24.0), libnotify4 (>= 0.7.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpangoft2-1.0-0 (>= 1.14.0), libsensors4 (>= 1:3.0.0), libxfce4ui-1-0 (>= 4.9.0), libxfce4util6 (>= 4.9.0), xfce4-panel (>= 4.9.2), xfce4-panel (< 4.11) Recommends: hddtemp, lm-sensors Suggests: xsensors Conflicts: xfce4-sensors-plugin # hddtemp /dev/sd? WARNING: Drive /dev/sda doesn't seem to have a temperature sensor. WARNING: This doesn't mean it hasn't got one. WARNING: If you are sure it has one, please contact me (hddtemp@guzu.net). WARNING: See --help, --debug and --drivebase options. /dev/sda: INTEL SSDSC2CT060A3: no sensor /dev/sdb: WDC WD10EALS-00Z8A0: drive is sleeping /dev/sdc: Hitachi HDS721010CLA632: 35蚓 /dev/sdd: WDC WD15EADS-22P8B0: 42蚓 /dev/sde: TOSHIBA DT01ACA200: 36蚓 /dev/sdf: WDC WD20EZRX-00D8PB0: 37蚓 /dev/sdg: ST31000524AS: 35蚓
Thanks for letting me know; I never had sleeping hard drives, obviously.
(In reply to Fabian Nowak from comment #1) > Thanks for letting me know; I never had sleeping hard drives, obviously. new code: if ( 0 == strcmp(ptr_str_stdout, "drive is sleeping") || 0 == strcmp(ptr_str_stdout, "SLP") ) val_drive_temperature = HDDTEMP_DISK_SLEEPING; else ... So the drives will be shown in the menus, though their displayed temperatures will have bad values until woken up.