mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-31 13:10:30 +00:00
(Kyösti)
* New VIA & Genesys documentation * renamed i2c-via2 to i2c-viapro in makefile git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@521 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
a92e84fe2a
commit
a5ab0a6b6e
5 files changed
+218
-7
No files matched your search
@@ -0,0 +1,38 @@
|
||||
Kernel driver `i2c-viapro.o'
|
||||
|
||||
Status: Complete but untested
|
||||
|
||||
Supported adapters:
|
||||
* VIA Technologies, InC. VT82C686
|
||||
Datasheet: Publicly available at the VIA website
|
||||
|
||||
* VIA Technologies, InC. VT82C596
|
||||
Datasheet: Available per request
|
||||
|
||||
Author: Kyösti Mälkki <kmalkki@cc.hut.fi>
|
||||
|
||||
Module Parameters
|
||||
-----------------
|
||||
|
||||
* force: int
|
||||
Forcibly enable the SMBus controller. DANGEROUS!
|
||||
* force_addr: int
|
||||
Forcibly enable the SMBus at the given address. EXTREMELY DANGEROUS!
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
i2c-viapro is a true SMBus host driver for motherboards with one of the
|
||||
supported VIA southbridges.
|
||||
|
||||
Your /proc/pci or lspci -n listing must show either of these :
|
||||
|
||||
device 1106:3050 (vt82c596 function 3)
|
||||
device 1106:3057 (vt82c686 function 4)
|
||||
|
||||
If neither of these show up, you should look in the BIOS for settings like
|
||||
enable ACPI / SMBus or even USB.
|
||||
|
||||
To install this driver, simply do
|
||||
# modprobe i2c-viapro
|
||||
|
||||
+5
-2
@@ -30,8 +30,11 @@ adm9240
|
||||
ds1780 1 6 5 1 dac yes no
|
||||
|
||||
gl518sm
|
||||
gl518sm-r00 1 1/4 2 - yes no
|
||||
gl518sm-r80 1 4 2 - yes no
|
||||
gl518sm (r00) 1 1/4 2 - yes no
|
||||
gl518sm (r80) 1 4 2 - yes no
|
||||
|
||||
gl520sm
|
||||
gl520sm 2/1 4/5 2 - yes no
|
||||
|
||||
lm75
|
||||
lm75 1 - - - yes no
|
||||
|
||||
+21
-4
@@ -51,13 +51,12 @@ computer speakers.
|
||||
Temperatures are measured in degrees Celcius. An alarm goes off while the
|
||||
temperature is above the over temperature limit, and has not yet dropped
|
||||
below the hysteris limit. The alarm always reflects the current situation.
|
||||
Measurements are guaranteed between -40 degrees and +125 degrees, with
|
||||
a resolution of 1 degree.
|
||||
Measurements are guaranteed between -10 degrees and +110 degrees, with
|
||||
a resolution of +-3 degrees.
|
||||
|
||||
FAN rotation speeds are reported in RPM (rotations per minute). An alarm is
|
||||
triggered if the rotation speed has dropped below a programmable limit.
|
||||
In case when you have selected to turn Fan1 off, no Fan1 alarm is triggered
|
||||
if measured temperature is below 'over temperature' limit.
|
||||
In case when you have selected to turn Fan1 off, no Fan1 alarm is triggered.
|
||||
|
||||
FAN readings can be divided by a programmable divider (1, 2, 4 or 8) to give
|
||||
the readings more range or accuracy. This is important because some FANs
|
||||
@@ -89,6 +88,17 @@ you can easily miss once-only alarms.
|
||||
The GL518SM only updates its values each 1.5 seconds; reading it more often
|
||||
will do no harm, but will return 'old' values.
|
||||
|
||||
Iteration Code
|
||||
--------------
|
||||
|
||||
You can select between three modes to read the vin0-2 inputs with
|
||||
the following lines in /etc/sensors.conf:
|
||||
|
||||
set iterate 0 Don't read vin0-vin2 inputs.
|
||||
set iterate 1 Run the iteration loop, this takes up to 10 seconds.
|
||||
set iterate 2 Show the results of the last iteration loop,
|
||||
and start a new loop to run in the background.
|
||||
|
||||
Chip Features
|
||||
-------------
|
||||
|
||||
@@ -118,6 +128,10 @@ Chip `gl518sm'
|
||||
alarms NONE NONE R 0
|
||||
beep_enable alarms NONE RW 0
|
||||
beeps alarms alarms RW 0
|
||||
fan1_off NONE NONE RW 0
|
||||
fan1_off_pin NONE NONE RW 0
|
||||
iterate NONE NONE RW 0
|
||||
|
||||
|
||||
LABEL FEATURE SYMBOL SYSCTL FILE:NR
|
||||
vdd SENSORS_GL518_VDD vdd:3
|
||||
@@ -144,4 +158,7 @@ Chip `gl518sm'
|
||||
alarms SENSORS_GL518_ALARMS alarms:1
|
||||
beep_enable SENSORS_GL518_BEEP_ENABLE beep:1
|
||||
beeps SENSORS_GL518_BEEPS beep:2
|
||||
fan1_off SENSORS_GL518_FAN1OFF fan1off:1
|
||||
fan1_off_pin SENSORS_GL518_FAN1PIN fan1off:2
|
||||
iterate SENSORS_GL518_ITERATE iterate:1
|
||||
|
||||
@@ -0,0 +1,153 @@
|
||||
Kernel driver `gl520sm.o'
|
||||
=========================
|
||||
|
||||
Status: Complete but experimental
|
||||
|
||||
Supported chips:
|
||||
* Genesys Logic GL520SM release 0x00
|
||||
Prefix `gl520sm'
|
||||
Addresses scanned: I2C 0x2c and 0x2d
|
||||
Datasheet: Not openly available
|
||||
|
||||
Author: Frodo Looijaard <frodol@dds.nl>,
|
||||
Kyösti Mälkki <kmalkki@cc.hut.fi>
|
||||
|
||||
|
||||
Module Parameters
|
||||
-----------------
|
||||
|
||||
* force: short array (min = 1, max = 48)
|
||||
List of adapter,address pairs to boldly assume to be present
|
||||
* force_gl518sm_r00: short array (min = 1, max = 48)
|
||||
List of adapter,address pairs which are unquestionably assumed to contain
|
||||
a `gl518sm_r00' chip
|
||||
* force_gl518sm_r80: short array (min = 1, max = 48)
|
||||
List of adapter,address pairs which are unquestionably assumed to contain
|
||||
a `gl518sm_r80' chip
|
||||
* ignore: short array (min = 1, max = 48)
|
||||
List of adapter,address pairs not to scan
|
||||
* ignore_range: short array (min = 1, max = 48)
|
||||
List of adapter,start-addr,end-addr triples not to scan
|
||||
* probe: short array (min = 1, max = 48)
|
||||
List of adapter,address pairs to scan additionally
|
||||
* probe_range: short array (min = 1, max = 48)
|
||||
List of adapter,start-addr,end-addr triples to scan additionally
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
This driver supports the Genesys Logic GL520SM chip.
|
||||
|
||||
The GL520SM implements one temperature sensor, two FAN rotation speed
|
||||
sensors, four voltage sensors and the cpu VID lines. In addition, one input
|
||||
can be configured as either a temperature or voltage sensor.
|
||||
The sensor can report alarms through the computer speakers.
|
||||
|
||||
Temperatures are measured in degrees Celcius. An alarm goes off while the
|
||||
temperature is above the over temperature limit, and has not yet dropped
|
||||
below the hysteris limit. The alarm always reflects the current situation.
|
||||
Measurements are guaranteed between 0 degrees and +110 degrees, with
|
||||
a resolution of +-3 degrees.
|
||||
|
||||
FAN rotation speeds are reported in RPM (rotations per minute). An alarm is
|
||||
triggered if the rotation speed has dropped below a programmable limit.
|
||||
In case when you have selected to turn Fan1 off, no Fan1 alarm is triggered
|
||||
if measured temperature is below 'over temperature' limit.
|
||||
|
||||
FAN readings can be divided by a programmable divider (1, 2, 4 or 8) to give
|
||||
the readings more range or accuracy. This is important because some FANs
|
||||
report only one 'tick' each rotation, while others report two.
|
||||
Not all RPM values can accurately be represented, so some rounding is done.
|
||||
With a divider of 2, the lowest representable value is around 1900 RPM.
|
||||
|
||||
Voltage sensors (also known as VIN sensors) report their values in volts. An
|
||||
alarm is triggered if the voltage has crossed a programmable minimum or
|
||||
maximum limit. Note that minimum in this case always means 'closest to
|
||||
zero'; this is important for negative voltage measurements. The VDD input
|
||||
measures voltages between 0.000 and 5.865 volt, with a resolution of 0.023
|
||||
volt. The other inputs measure voltages between 0.000 and 4.845 volt, with a
|
||||
resolution of 0.019 volt.
|
||||
|
||||
When an alarm goes off, you can be warned by a beeping signal through
|
||||
your computer speaker. It is possible to enable all beeping globally,
|
||||
or only the beeping for some alarms.
|
||||
|
||||
If an alarm triggers, it will remain triggered until the hardware register
|
||||
is read at least once (except for temperature alarms). This means that the
|
||||
cause for the alarm may already have disappeared! Note that in the current
|
||||
implementation, all hardware registers are read whenever any data is read
|
||||
(unless it is less than 1.5 seconds since the last update). This means that
|
||||
you can easily miss once-only alarms.
|
||||
|
||||
The GL520SM only updates its values each 1.5 seconds; reading it more often
|
||||
will do no harm, but will return 'old' values.
|
||||
|
||||
Chip Features
|
||||
-------------
|
||||
|
||||
Chip `gl520sm'
|
||||
LABEL LABEL CLASS COMPUTE CLASS ACCESS MAGNITUDE
|
||||
vdd NONE NONE R 2
|
||||
vin1 NONE NONE R 2
|
||||
vin2 NONE NONE R 2
|
||||
vin3 NONE NONE R 2
|
||||
vin4 NONE NONE R 2
|
||||
vdd_min vdd vdd RW 2
|
||||
vin1_min vin1 vin1 RW 2
|
||||
vin2_min vin2 vin2 RW 2
|
||||
vin3_min vin3 vin3 RW 2
|
||||
vin4_min vin4 vin4 RW 2
|
||||
vdd_max vdd vdd RW 2
|
||||
vin1_max vin1 vin1 RW 2
|
||||
vin2_max vin2 vin2 RW 2
|
||||
vin3_max vin3 vin3 RW 2
|
||||
vin4_max vin4 vin4 RW 2
|
||||
fan1 NONE NONE R 0
|
||||
fan2 NONE NONE R 0
|
||||
fan1_min fan1 fan1 RW 0
|
||||
fan2_min fan2 fan2 RW 0
|
||||
temp1 NONE NONE R 1
|
||||
temp2 NONE NONE R 1
|
||||
temp_hyst1 temp1 temp1 RW 1
|
||||
temp_hyst2 temp2 temp2 RW 1
|
||||
temp_over1 temp1 temp1 RW 1
|
||||
temp_over2 temp2 temp2 RW 1
|
||||
fan1_div fan1 NONE RW 0
|
||||
fan2_div fan2 NONE RW 0
|
||||
alarms NONE NONE R 0
|
||||
beep_enable alarms NONE RW 0
|
||||
beeps alarms alarms RW 0
|
||||
two_temps NONE NONE RW 0
|
||||
|
||||
LABEL FEATURE SYMBOL SYSCTL FILE:NR
|
||||
vdd SENSORS_GL520_VDD vdd:3
|
||||
vin1 SENSORS_GL520_VIN1 vin1:3
|
||||
vin2 SENSORS_GL520_VIN2 vin2:3
|
||||
vin3 SENSORS_GL520_VIN3 vin3:3
|
||||
vin4 SENSORS_GL520_VIN4 vin3:3
|
||||
vdd_min SENSORS_GL520_VDD_MIN vdd:1
|
||||
vin1_min SENSORS_GL520_VIN1_MIN vin1:1
|
||||
vin2_min SENSORS_GL520_VIN2_MIN vin2:1
|
||||
vin3_min SENSORS_GL520_VIN3_MIN vin3:1
|
||||
vin4_min SENSORS_GL520_VIN4_MIN vin3:1
|
||||
vdd_max SENSORS_GL520_VDD_MAX vdd:2
|
||||
vin1_max SENSORS_GL520_VIN1_MAX vin1:2
|
||||
vin2_max SENSORS_GL520_VIN2_MAX vin2:2
|
||||
vin3_max SENSORS_GL520_VIN3_MAX vin3:2
|
||||
vin4_max SENSORS_GL520_VIN4_MAX vin3:2
|
||||
fan1 SENSORS_GL520_FAN1 fan1:2
|
||||
fan2 SENSORS_GL520_FAN2 fan2:2
|
||||
fan1_min SENSORS_GL520_FAN1_MIN fan1:1
|
||||
fan2_min SENSORS_GL520_FAN2_MIN fan2:1
|
||||
temp1 SENSORS_GL520_TEMP1 temp1:3
|
||||
temp2 SENSORS_GL520_TEMP2 temp2:3
|
||||
temp_hyst1 SENSORS_GL520_TEMP1_HYST temp1:2
|
||||
temp_hyst2 SENSORS_GL520_TEMP2_HYST temp2:2
|
||||
temp_over1 SENSORS_GL520_TEMP1_OVER temp1:1
|
||||
temp_over2 SENSORS_GL520_TEMP2_OVER temp2:1
|
||||
fan1_div SENSORS_GL520_FAN1_DIV fan_div:1
|
||||
fan2_div SENSORS_GL520_FAN2_DIV fan_div:2
|
||||
alarms SENSORS_GL520_ALARMS alarms:1
|
||||
beep_enable SENSORS_GL520_BEEP_ENABLE beep:1
|
||||
beeps SENSORS_GL520_BEEPS beep:2
|
||||
two_temps SENSORS_GL520_TWOTEMPS config:1
|
||||
@@ -25,7 +25,7 @@ MODULE_DIR := kernel/busses
|
||||
KERNELBUSSESTARGETS := $(MODULE_DIR)/i2c-piix4.o $(MODULE_DIR)/i2c-isa.o \
|
||||
$(MODULE_DIR)/i2c-via.o $(MODULE_DIR)/i2c-ali15x3.o \
|
||||
$(MODULE_DIR)/i2c-hydra.o $(MODULE_DIR)/i2c-voodoo3.o \
|
||||
$(MODULE_DIR)/i2c-via2.o
|
||||
$(MODULE_DIR)/i2c-viapro.o
|
||||
|
||||
KERNELBUSSESOLD := bit-via.o bit-mb.o isa.o piix4.o
|
||||
|
||||
|
||||
Reference in new issue
Block a user