Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hddtemp: drive not recognised - how to submit update request
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ipic
Guru
Guru


Joined: 29 Dec 2003
Posts: 409
Location: UK

PostPosted: Wed Dec 18, 2024 7:26 pm    Post subject: hddtemp: drive not recognised - how to submit update request Reply with quote

So, I got a nice new SDD drive:
Code:

ian2 ~ # smartctl -a /dev/sdi
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.5-gentoo] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Samsung based SSDs
Device Model:     Samsung SSD 870 EVO 2TB


When I tried to use hddtemp I got this:
Code:

ian2 ~ # hddtemp /dev/sdi
WARNING: Drive /dev/sdi 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/sdi: Samsung SSD 870 EVO 2TB:  no sensor


It is easily solved, just added the following line to /usr/share/hddtemp/hddtemp.db
Code:

"Samsung SSD 870 EVO"                  190 C "Samsung SSD 870 EVO Series"


As suggested in the message above, I sent off an email - which got bounced back to be with a non-delivery message:
Code:

54 5.7.1 : Recipient address rejected: User unknown in valid users table (in reply to RCPT TO command)


The web page linked from the package description also suggests that upstream have gone AWOL.

What to do? This is a very useful utility - I'm hoping it has been picked up somewhere else.
Thanks
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9846
Location: almost Mile High in the USA

PostPosted: Wed Dec 18, 2024 9:09 pm    Post subject: Reply with quote

Looks like the software forked, plus the Gentoo repo has no devs to maintain this software...

hmm. Double Whammy...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
salahx
Guru
Guru


Joined: 12 Mar 2005
Posts: 558

PostPosted: Wed Dec 18, 2024 11:02 pm    Post subject: Reply with quote

You might want to try lm_sensors for this instead. See https://docs.kernel.org/hwmon/drivetemp.html for help on the drivetemp module.
Back to top
View user's profile Send private message
ipic
Guru
Guru


Joined: 29 Dec 2003
Posts: 409
Location: UK

PostPosted: Thu Dec 19, 2024 8:26 am    Post subject: Reply with quote

I already have a script that reports values from sensors to syslog (including drive temperatures), so a bit of fiddling gave me a drivetemp script that reports the temp for a single drive.
Uses a combination of sensors and lsscsi to get the drive devices.

Unexpected bonus - can be run as normal user - no super user required :-)

Conky's internal drive temperature process also uses hddtemp - so have to use ${exec myscript} for drive temps. Not a big deal. Also disable the hddtemp use flag for conky allows hddtemp to be removed.

Other alternative would be to grep the temp value out of smartctl output. That requires super user - but for a local script adding a sudo works.

Anyway - RIP hddtemp. It's been nice knowing you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum