Skip to content

Latest commit

 

History

History
100 lines (56 loc) · 2.1 KB

README.md

File metadata and controls

100 lines (56 loc) · 2.1 KB

Drive Temperature Badge LicenseBadge Kernel

Linux Kernel Driver For Hard-drive Temperatures



Button Repository



Features

  • Reports the temperature of disk / solid state drives

  • If supported, uses ATC SCT Command Transport

  • Reads SMART attributes as fallback method.


ATC SCT

If supported, tries to read out:

  • Historic Min / Max Temperature

  • Temperature Limit

  • Temperature



Older Kernels

Building will require upstream commit d188b0675b21

scsi: core: Add sysfs attributes for VPD pages 0h and 89h

and possibly other SCSI core changes.



SysFS Entries

The temp1_input attribute is always present,
others are only available if reported by the drive.

All temperatures are given in Milli ℃.


Variable Description
temp1_input Current temperature

Minimum Maximum Description
temp1_min temp1_max Recommended continuous operating temperature
temp1_lowest temp1_highest Most extreme temperature of the current power cycle
temp1_lcrit temp1_crit Temperature limit.

Operating the device outside this temperature
limit may cause physical damage to the device.


References

  • ANS T13/1699-D Information technology - AT Attachment 8 - ATA/ATAPI Command Set (ATA8-ACS)

  • ANS Project T10/BSR INCITS 513 Information technology - SCSI Primary Commands - 4 (SPC-4)

  • ANS Project INCITS 557 Information technology - SCSI / ATA Translation - 5 (SAT-5)