~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/hwmon/drivetemp.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 .. SPDX-License-Identifier: GPL-2.0
  2 
  3 Kernel driver drivetemp
  4 =======================
  5 
  6 
  7 References
  8 ----------
  9 
 10 ANS T13/1699-D
 11 Information technology - AT Attachment 8 - ATA/ATAPI Command Set (ATA8-ACS)
 12 
 13 ANS Project T10/BSR INCITS 513
 14 Information technology - SCSI Primary Commands - 4 (SPC-4)
 15 
 16 ANS Project INCITS 557
 17 Information technology - SCSI / ATA Translation - 5 (SAT-5)
 18 
 19 
 20 Description
 21 -----------
 22 
 23 This driver supports reporting the temperature of disk and solid state
 24 drives with temperature sensors.
 25 
 26 If supported, it uses the ATA SCT Command Transport feature to read
 27 the current drive temperature and, if available, temperature limits
 28 as well as historic minimum and maximum temperatures. If SCT Command
 29 Transport is not supported, the driver uses SMART attributes to read
 30 the drive temperature.
 31 
 32 
 33 Usage Note
 34 ----------
 35 
 36 Reading the drive temperature may reset the spin down timer on some drives.
 37 This has been observed with WD120EFAX drives, but may be seen with other
 38 drives as well. The same behavior is observed if the 'hdtemp' or 'smartd'
 39 tools are used to access the drive.
 40 With the WD120EFAX drive, reading the drive temperature using the drivetemp
 41 driver is still possible _after_ it transitioned to standby mode, and
 42 reading the drive temperature in this mode will not cause the drive to
 43 change its mode (meaning the drive will not spin up). It is unknown if other
 44 drives experience similar behavior.
 45 
 46 A known workaround for WD120EFAX drives is to read the drive temperature at
 47 intervals larger than twice the spin-down time. Otherwise affected drives
 48 will never spin down.
 49 
 50 
 51 Sysfs entries
 52 -------------
 53 
 54 Only the temp1_input attribute is always available. Other attributes are
 55 available only if reported by the drive. All temperatures are reported in
 56 milli-degrees Celsius.
 57 
 58 ======================= =====================================================
 59 temp1_input             Current drive temperature
 60 temp1_lcrit             Minimum temperature limit. Operating the device below
 61                         this temperature may cause physical damage to the
 62                         device.
 63 temp1_min               Minimum recommended continuous operating limit
 64 temp1_max               Maximum recommended continuous operating temperature
 65 temp1_crit              Maximum temperature limit. Operating the device above
 66                         this temperature may cause physical damage to the
 67                         device.
 68 temp1_lowest            Minimum temperature seen this power cycle
 69 temp1_highest           Maximum temperature seen this power cycle
 70 ======================= =====================================================

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php