-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelva…
…re-2.6 * 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6: (29 commits) hwmon: Fix various typos hwmon: Check for ACPI resource conflicts hwmon: (lm70) Add TI TMP121 support hwmon: (lm70) Code streamlining and cleanup hwmon: Deprecate the fscher and fscpos drivers hwmon: (fschmd) Add watchdog support hwmon: (fschmd) Cleanups for watchdog support hwmon: (i5k_amb) Load automatically on all 5000/5400 chipsets hwmon: (it87) Add support for the ITE IT8720F hwmon: Don't overuse I2C_CLIENT_MODULE_PARM hwmon: Add LTC4245 driver hwmon: (f71882fg) Fix fan_to/from_reg prototypes hwmon: (f71882fg) Printout fan modes hwmon: (f71882fg) Add documentation hwmon: (f71882fg) Fix auto_channels_temp temp numbering with f8000 hwmon: (f71882fg) Add missing pwm3 attr for f71862fg hwmon: (f71882fg) Add F8000 support hwmon: (f71882fg) Remove the fan_mode module option hwmon: (f71882fg) Separate max and crit alarm and beep hwmon: (f71882fg) Check for hwmon powerdown state ...
- Loading branch information
Showing
33 changed files
with
2,729 additions
and
362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
Kernel driver f71882fg | ||
====================== | ||
|
||
Supported chips: | ||
* Fintek F71882FG and F71883FG | ||
Prefix: 'f71882fg' | ||
Addresses scanned: none, address read from Super I/O config space | ||
Datasheet: Available from the Fintek website | ||
* Fintek F71862FG and F71863FG | ||
Prefix: 'f71862fg' | ||
Addresses scanned: none, address read from Super I/O config space | ||
Datasheet: Available from the Fintek website | ||
* Fintek F8000 | ||
Prefix: 'f8000' | ||
Addresses scanned: none, address read from Super I/O config space | ||
Datasheet: Not public | ||
|
||
Author: Hans de Goede <hdegoede@redhat.com> | ||
|
||
|
||
Description | ||
----------- | ||
|
||
Fintek F718xxFG/F8000 Super I/O chips include complete hardware monitoring | ||
capabilities. They can monitor up to 9 voltages (3 for the F8000), 4 fans and | ||
3 temperature sensors. | ||
|
||
These chips also have fan controlling features, using either DC or PWM, in | ||
three different modes (one manual, two automatic). | ||
|
||
The driver assumes that no more than one chip is present, which seems | ||
reasonable. | ||
|
||
|
||
Monitoring | ||
---------- | ||
|
||
The Voltage, Fan and Temperature Monitoring uses the standard sysfs | ||
interface as documented in sysfs-interface, without any exceptions. | ||
|
||
|
||
Fan Control | ||
----------- | ||
|
||
Both PWM (pulse-width modulation) and DC fan speed control methods are | ||
supported. The right one to use depends on external circuitry on the | ||
motherboard, so the driver assumes that the BIOS set the method | ||
properly. | ||
|
||
There are 2 modes to specify the speed of the fan, PWM duty cycle (or DC | ||
voltage) mode, where 0-100% duty cycle (0-100% of 12V) is specified. And RPM | ||
mode where the actual RPM of the fan (as measured) is controlled and the speed | ||
gets specified as 0-100% of the fan#_full_speed file. | ||
|
||
Since both modes work in a 0-100% (mapped to 0-255) scale, there isn't a | ||
whole lot of a difference when modifying fan control settings. The only | ||
important difference is that in RPM mode the 0-100% controls the fan speed | ||
between 0-100% of fan#_full_speed. It is assumed that if the BIOS programs | ||
RPM mode, it will also set fan#_full_speed properly, if it does not then | ||
fan control will not work properly, unless you set a sane fan#_full_speed | ||
value yourself. | ||
|
||
Switching between these modes requires re-initializing a whole bunch of | ||
registers, so the mode which the BIOS has set is kept. The mode is | ||
printed when loading the driver. | ||
|
||
Three different fan control modes are supported; the mode number is written | ||
to the pwm#_enable file. Note that not all modes are supported on all | ||
chips, and some modes may only be available in RPM / PWM mode on the F8000. | ||
Writing an unsupported mode will result in an invalid parameter error. | ||
|
||
* 1: Manual mode | ||
You ask for a specific PWM duty cycle / DC voltage or a specific % of | ||
fan#_full_speed by writing to the pwm# file. This mode is only | ||
available on the F8000 if the fan channel is in RPM mode. | ||
|
||
* 2: Normal auto mode | ||
You can define a number of temperature/fan speed trip points, which % the | ||
fan should run at at this temp and which temp a fan should follow using the | ||
standard sysfs interface. The number and type of trip points is chip | ||
depended, see which files are available in sysfs. | ||
Fan/PWM channel 3 of the F8000 is always in this mode! | ||
|
||
* 3: Thermostat mode (Only available on the F8000 when in duty cycle mode) | ||
The fan speed is regulated to keep the temp the fan is mapped to between | ||
temp#_auto_point2_temp and temp#_auto_point3_temp. | ||
|
||
Both of the automatic modes require that pwm1 corresponds to fan1, pwm2 to | ||
fan2 and pwm3 to fan3. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
Kernel driver ltc4245 | ||
===================== | ||
|
||
Supported chips: | ||
* Linear Technology LTC4245 | ||
Prefix: 'ltc4245' | ||
Addresses scanned: 0x20-0x3f | ||
Datasheet: | ||
http://www.linear.com/pc/downloadDocument.do?navId=H0,C1,C1003,C1006,C1140,P19392,D13517 | ||
|
||
Author: Ira W. Snyder <iws@ovro.caltech.edu> | ||
|
||
|
||
Description | ||
----------- | ||
|
||
The LTC4245 controller allows a board to be safely inserted and removed | ||
from a live backplane in multiple supply systems such as CompactPCI and | ||
PCI Express. | ||
|
||
|
||
Usage Notes | ||
----------- | ||
|
||
This driver does not probe for LTC4245 devices, due to the fact that some | ||
of the possible addresses are unfriendly to probing. You will need to use | ||
the "force" parameter to tell the driver where to find the device. | ||
|
||
Example: the following will load the driver for an LTC4245 at address 0x23 | ||
on I2C bus #1: | ||
$ modprobe ltc4245 force=1,0x23 | ||
|
||
|
||
Sysfs entries | ||
------------- | ||
|
||
The LTC4245 has built-in limits for over and under current warnings. This | ||
makes it very likely that the reference circuit will be used. | ||
|
||
This driver uses the values in the datasheet to change the register values | ||
into the values specified in the sysfs-interface document. The current readings | ||
rely on the sense resistors listed in Table 2: "Sense Resistor Values". | ||
|
||
in1_input 12v input voltage (mV) | ||
in2_input 5v input voltage (mV) | ||
in3_input 3v input voltage (mV) | ||
in4_input Vee (-12v) input voltage (mV) | ||
|
||
in1_min_alarm 12v input undervoltage alarm | ||
in2_min_alarm 5v input undervoltage alarm | ||
in3_min_alarm 3v input undervoltage alarm | ||
in4_min_alarm Vee (-12v) input undervoltage alarm | ||
|
||
curr1_input 12v current (mA) | ||
curr2_input 5v current (mA) | ||
curr3_input 3v current (mA) | ||
curr4_input Vee (-12v) current (mA) | ||
|
||
curr1_max_alarm 12v overcurrent alarm | ||
curr2_max_alarm 5v overcurrent alarm | ||
curr3_max_alarm 3v overcurrent alarm | ||
curr4_max_alarm Vee (-12v) overcurrent alarm | ||
|
||
in5_input 12v output voltage (mV) | ||
in6_input 5v output voltage (mV) | ||
in7_input 3v output voltage (mV) | ||
in8_input Vee (-12v) output voltage (mV) | ||
|
||
in5_min_alarm 12v output undervoltage alarm | ||
in6_min_alarm 5v output undervoltage alarm | ||
in7_min_alarm 3v output undervoltage alarm | ||
in8_min_alarm Vee (-12v) output undervoltage alarm | ||
|
||
in9_input GPIO #1 voltage data | ||
in10_input GPIO #2 voltage data | ||
in11_input GPIO #3 voltage data | ||
|
||
power1_input 12v power usage (mW) | ||
power2_input 5v power usage (mW) | ||
power3_input 3v power usage (mW) | ||
power4_input Vee (-12v) power usage (mW) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.