lm80 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Kernel driver lm80
  2. ==================
  3. Supported chips:
  4. * National Semiconductor LM80
  5. Prefix: 'lm80'
  6. Addresses scanned: I2C 0x28 - 0x2f
  7. Datasheet: Publicly available at the National Semiconductor website
  8. http://www.national.com/
  9. Authors:
  10. Frodo Looijaard <frodol@dds.nl>,
  11. Philip Edelbrock <phil@netroedge.com>
  12. Description
  13. -----------
  14. This driver implements support for the National Semiconductor LM80.
  15. It is described as a 'Serial Interface ACPI-Compatible Microprocessor
  16. System Hardware Monitor'.
  17. The LM80 implements one temperature sensor, two fan rotation speed sensors,
  18. seven voltage sensors, alarms, and some miscellaneous stuff.
  19. Temperatures are measured in degrees Celsius. There are two sets of limits
  20. which operate independently. When the HOT Temperature Limit is crossed,
  21. this will cause an alarm that will be reasserted until the temperature
  22. drops below the HOT Hysteresis. The Overtemperature Shutdown (OS) limits
  23. should work in the same way (but this must be checked; the datasheet
  24. is unclear about this). Measurements are guaranteed between -55 and
  25. +125 degrees. The current temperature measurement has a resolution of
  26. 0.0625 degrees; the limits have a resolution of 1 degree.
  27. Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
  28. triggered if the rotation speed has dropped below a programmable limit. Fan
  29. readings can be divided by a programmable divider (1, 2, 4 or 8) to give
  30. the readings more range or accuracy. Not all RPM values can accurately be
  31. represented, so some rounding is done. With a divider of 2, the lowest
  32. representable value is around 2600 RPM.
  33. Voltage sensors (also known as IN sensors) report their values in volts.
  34. An alarm is triggered if the voltage has crossed a programmable minimum
  35. or maximum limit. Note that minimum in this case always means 'closest to
  36. zero'; this is important for negative voltage measurements. All voltage
  37. inputs can measure voltages between 0 and 2.55 volts, with a resolution
  38. of 0.01 volt.
  39. If an alarm triggers, it will remain triggered until the hardware register
  40. is read at least once. This means that the cause for the alarm may
  41. already have disappeared! Note that in the current implementation, all
  42. hardware registers are read whenever any data is read (unless it is less
  43. than 2.0 seconds since the last update). This means that you can easily
  44. miss once-only alarms.
  45. The LM80 only updates its values each 1.5 seconds; reading it more often
  46. will do no harm, but will return 'old' values.