mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-12-05 22:08:19 +00:00
Drop stray references to procfs interface.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5631 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
ea854deb03
commit
b0f50d0788
5 files changed
+23
-18
No files matched your search
+15
-9
@@ -1,5 +1,10 @@
|
||||
Parameters for modprobe and insmod
|
||||
==================================
|
||||
|
||||
PRELIMINARY WARNING:
|
||||
This documentation file is outdated and needs to be entirely reviewed
|
||||
and updated. Until then, don't blindly trust what you read here.
|
||||
|
||||
==================================
|
||||
SUMMARY
|
||||
|
||||
@@ -36,15 +41,16 @@ add parameters. Check 'dmesg' for clues to what went wrong.
|
||||
BUS NUMBERING
|
||||
-------------
|
||||
I2C/SMBus adapters are numbered in the order they are inserted. If you want
|
||||
to know what number an adapter has, please make sure module `i2c-proc' is
|
||||
inserted, and look at file /proc/bus/i2c. The ISA bus always has the
|
||||
symbolic number 9191 (`I' is the ninth letter of the alphabet, `S' the
|
||||
nineteenth and `A' the first). Do not use the ISA Bus number from
|
||||
/proc/bus/i2c. If you want 'any I2C bus', use '-1' (or 65535).
|
||||
So to summarize:
|
||||
-1 Any Bus
|
||||
0-15 Specific I2C Bus
|
||||
9191 ISA BUS
|
||||
to know what number an adapter has, use the following command:
|
||||
|
||||
grep . /sys/class/i2c-adapter/i2c-*/name
|
||||
|
||||
Alternatively, if you have installed i2c-tools, you can do:
|
||||
|
||||
modprobe i2c-dev
|
||||
i2cdetect -l
|
||||
|
||||
If you want 'any I2C bus', use '-1'.
|
||||
|
||||
|
||||
ADDRESS NUMBERING
|
||||
|
||||
+3
-3
@@ -100,9 +100,9 @@ VARIABLE2=[...]
|
||||
|
||||
Each variable has its own line. The variable name is followed by an equal sign
|
||||
and the device=value pairs. These consist of the relative path to the pwm
|
||||
output (from /proc/sys/dev/sensors, /sys/bus/i2c/devices or /sys/class/hwmon
|
||||
depending on the kernel version) for which the value is valid, equal sign
|
||||
followed by the value and are separated by a blank.
|
||||
output (from /sys/bus/i2c/devices or /sys/class/hwmon depending on the kernel
|
||||
version) for which the value is valid, equal sign followed by the value and
|
||||
are separated by a blank.
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
@@ -56,8 +56,7 @@ see http://www.lm-sensors.org/wiki/UsefulLinks.
|
||||
* prog/sensors/sensors (written in C, installed by `make install')
|
||||
This pretty-prints the information provided by the modules. It is a normal
|
||||
console application, using stdout. It is essential, because
|
||||
unlike the raw /proc/sys/dev/sensors/*/* files, it takes your configuration
|
||||
file into account.
|
||||
unlike the raw sysfs files, it takes your configuration file into account.
|
||||
|
||||
* prog/tellerstats/gather.sh, tellerstats.sh (written in bash, not installed)
|
||||
These scripts gather sensors data and graph the data for web pages.
|
||||
|
||||
Reference in new issue
Block a user