# smartctl /dev/disk/by-id/usb-TrekStor_DS_maxi_m.u_00E913cb-0:0 -a -d usbsunplus |grep Temp 190 Airflow_Temperature_Cel 0x0022 071 043 045 Old_age Always In_the_past 29 (Min/Max 29/50 #5) 194 Temperature_Celsius 0x0022 029 057 000 Old_age Always - 29 (0 3 0 0 0) However there is another issue as hddtemp can't read the file path at all: # ls -al /dev/disk/by-id/usb-TrekStor_DS_maxi_m.u_00E913cb-0:0 lrwxrwxrwx 1 root root 9 Aug 17 08:38 /dev/disk/by-id/usb-TrekStor_DS_maxi_m.u_00E913cb-0:0 -> ../../sdc # hddtemp /dev/disk/by-id/usb-TrekStor_DS_maxi_m.u_00E913cb-0\:0 0: open: No such file or directory # hddtemp /dev/disk/by-id/usb-TrekStor_DS_maxi_m.u_00E913cb-0:0 0: open: No such file or directory # hddtemp '/dev/disk/by-id/usb-TrekStor_DS_maxi_m.u_00E913cb-0:0' 0: open: No such file or directory # hddtemp /dev/sdc /dev/sdc: TrekStorDS maxi m.u: S.M.A.R.T. not available From the smart header, connected via USB (Bus 001 Device 005: ID 1e68:000f TrekStor GmbH & Co. KG) === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.12 Device Model: ST31000528AS Serial Number: 9VP0ZYJM LU WWN Device Id: 5 000c50 01543cd93 Firmware Version: CC35 User Capacity: 1.000.204.886.016 bytes [1,00 TB] Sector Size: 512 bytes logical/physical Rotation Rate: 7200 rpm Device is: In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS T13/1699-D revision 4 SATA Version is: SATA 2.6, 3.0 Gb/s Local Time is: Thu Aug 17 11:24:37 2017 CEST
Upstream: https://github.com/guzu/hddtemp/issues/6
Massimo, Do I understand it correct, that * you suggested upstream to add another HDD * upstream will probably do this some day * when Gentoo updates the ebuild to the next release, we will have this new feature in gentoo. I can not see, how we can do anything now as Gentoo dev in ebuild.
The Gentoo ebuild suggests: If your hard drive is not recognized by hddtemp, please consider submitting your HDD info for inclusion into the Gentoo hddtemp database by filing a bug at https://bugs.gentoo.org/ This is possible, because the ebuild comes with ${FILESDIR}/hddgentoo.db, which contains additions to the upstream database. Hence I suggest to reopen this bug.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb1638e34c969b19ecf515eda5e192d78941e09c commit fb1638e34c969b19ecf515eda5e192d78941e09c Author: PPed72 <paolo.pedroni@iol.it> AuthorDate: 2018-04-10 00:21:06 +0000 Commit: Jonas Stein <jstein@gentoo.org> CommitDate: 2018-04-10 00:22:36 +0000 app-admin/hddtemp: Add new drives to hddgentoo.db Closes: https://bugs.gentoo.org/652806 Closes: https://bugs.gentoo.org/635836 Closes: https://bugs.gentoo.org/635832 Closes: https://bugs.gentoo.org/628094 Closes: https://bugs.gentoo.org/627274 Package-Manager: Portage-2.3.28, Repoman-2.3.9 app-admin/hddtemp/files/hddgentoo.db | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-)