Changeset 4480 for lm-sensors/branches/lm-sensors-3.0.0/doc/progs
- Timestamp:
- 06/27/07 10:10:19 (6 years ago)
- Files:
-
- 1 modified
-
lm-sensors/branches/lm-sensors-3.0.0/doc/progs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/doc/progs
r4460 r4480 19 19 An example of a very simple hardware health monitoring daemon. 20 20 21 * prog/detect/i2cdetect (written in C, installed by 'make install')22 This program scans your complete I2C or SMBus adapter for connected devices.23 Syntax:24 i2cdetect 025 Here the '0' stands for the bus number (run "i2cdetect -l"26 to list all installed busses).27 28 21 * prog/detect/sensors-detect (written in Perl, installed by 'make install') 29 22 This program tries to detect the available SMBus adapters and the chips 30 23 connected to them, as well as Super-I/O and misc chips. It also generates 31 24 modprobe lines and module options. This program is interactive. 32 33 * prog/dump/i2cdump (written in C, installed by 'make install')34 This program dumps the registers of an I2C device.35 Usual syntax:36 i2cdump 0 0x4c b37 Here the '0' stands for the bus number (run i2cdump with no arguments38 to list all installed busses).39 '0x49' is the device address, and 'b' or 'w' stands for byte40 or word data.41 42 * prog/dump/i2cset (written in C, installed by 'make install')43 prog/dump/i2cget (written in C, installed by 'make install')44 These programs are used to write to or read from a register of an45 I2C device. Usual syntax:46 i2cset bus device address data47 i2cget bus device address48 25 49 26 * prog/dump/isadump (written in C, installed by 'make install')
