gl518sm 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Kernel driver gl518sm
  2. =====================
  3. Supported chips:
  4. * Genesys Logic GL518SM release 0x00
  5. Prefix: 'gl518sm'
  6. Addresses scanned: I2C 0x2c and 0x2d
  7. * Genesys Logic GL518SM release 0x80
  8. Prefix: 'gl518sm'
  9. Addresses scanned: I2C 0x2c and 0x2d
  10. Datasheet: http://www.genesyslogic.com/
  11. Authors:
  12. Frodo Looijaard <frodol@dds.nl>,
  13. Kyösti Mälkki <kmalkki@cc.hut.fi>
  14. Hong-Gunn Chew <hglinux@gunnet.org>
  15. Jean Delvare <jdelvare@suse.de>
  16. Description
  17. -----------
  18. IMPORTANT:
  19. For the revision 0x00 chip, the in0, in1, and in2 values (+5V, +3V,
  20. and +12V) CANNOT be read. This is a limitation of the chip, not the driver.
  21. This driver supports the Genesys Logic GL518SM chip. There are at least
  22. two revision of this chip, which we call revision 0x00 and 0x80. Revision
  23. 0x80 chips support the reading of all voltages and revision 0x00 only
  24. for VIN3.
  25. The GL518SM implements one temperature sensor, two fan rotation speed
  26. sensors, and four voltage sensors. It can report alarms through the
  27. computer speakers.
  28. Temperatures are measured in degrees Celsius. An alarm goes off while the
  29. temperature is above the over temperature limit, and has not yet dropped
  30. below the hysteresis limit. The alarm always reflects the current
  31. situation. Measurements are guaranteed between -10 degrees and +110
  32. degrees, with a accuracy of +/-3 degrees.
  33. Rotation speeds are reported in RPM (rotations per minute). An alarm is
  34. triggered if the rotation speed has dropped below a programmable limit. In
  35. case when you have selected to turn fan1 off, no fan1 alarm is triggered.
  36. Fan readings can be divided by a programmable divider (1, 2, 4 or 8) to
  37. give the readings more range or accuracy. Not all RPM values can
  38. accurately be represented, so some rounding is done. With a divider
  39. of 2, the lowest representable value is around 1900 RPM.
  40. Voltage sensors (also known as VIN sensors) report their values in volts.
  41. An alarm is triggered if the voltage has crossed a programmable minimum or
  42. maximum limit. Note that minimum in this case always means 'closest to
  43. zero'; this is important for negative voltage measurements. The VDD input
  44. measures voltages between 0.000 and 5.865 volt, with a resolution of 0.023
  45. volt. The other inputs measure voltages between 0.000 and 4.845 volt, with
  46. a resolution of 0.019 volt. Note that revision 0x00 chips do not support
  47. reading the current voltage of any input except for VIN3; limit setting and
  48. alarms work fine, though.
  49. When an alarm is triggered, you can be warned by a beeping signal through your
  50. computer speaker. It is possible to enable all beeping globally, or only the
  51. beeping for some alarms.
  52. If an alarm triggers, it will remain triggered until the hardware register
  53. is read at least once (except for temperature alarms). This means that the
  54. cause for the alarm may already have disappeared! Note that in the current
  55. implementation, all hardware registers are read whenever any data is read
  56. (unless it is less than 1.5 seconds since the last update). This means that
  57. you can easily miss once-only alarms.
  58. The GL518SM only updates its values each 1.5 seconds; reading it more often
  59. will do no harm, but will return 'old' values.