| 1 | This is a list of additional programs, that may or may not be installed by |
|---|
| 2 | `make install', and that can be found in the `prog' directory of |
|---|
| 3 | this package. |
|---|
| 4 | |
|---|
| 5 | These programs are generally small utilities used for debugging, |
|---|
| 6 | and installation of the lm_sensors package, and for demonstrating |
|---|
| 7 | the use of the drivers and libraries in this package. |
|---|
| 8 | For more elaborate programs (for example, GUI sensor displays), |
|---|
| 9 | see http://www.lm-sensors.org/wiki/UsefulLinks. |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | * prog/config/grab_busses.sh (written in bash and awk, not installed) |
|---|
| 13 | This program helps you generate the `bus' statements for your configuration |
|---|
| 14 | file. It read /proc/bus/i2c (or the file specified on the command-line), |
|---|
| 15 | and prints to stdout `bus' statements reflecting the currently detected |
|---|
| 16 | adapters. |
|---|
| 17 | |
|---|
| 18 | * prog/daemon/healthd.sh (written in bash, not installed) |
|---|
| 19 | An example of a very simple hardware health monitoring daemon. |
|---|
| 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 0 |
|---|
| 25 | Here the '0' stands for the bus number (run "i2cdetect -l" |
|---|
| 26 | to list all installed busses). |
|---|
| 27 | |
|---|
| 28 | * prog/detect/sensors-detect (written in Perl, installed by 'make install') |
|---|
| 29 | This program tries to detect the available SMBus adapters and the chips |
|---|
| 30 | connected to them, as well as Super-I/O and misc chips. It also generates |
|---|
| 31 | modprobe lines and module options. This program is interactive. |
|---|
| 32 | |
|---|
| 33 | * prog/doc/doc-features.pl (written in Perl, not installed) |
|---|
| 34 | This program is used to help us generate driver documentation; it scans |
|---|
| 35 | some C source programs to do this. Syntax: |
|---|
| 36 | ./doc-features.pl BASE [PREFIX...] |
|---|
| 37 | BASE is the path to the base directory of the lm_sensors tree |
|---|
| 38 | PREFIX is one of more prefixes of chips you want documented; if left out, |
|---|
| 39 | all chips are documented. |
|---|
| 40 | |
|---|
| 41 | * prog/doc/doc-insmod.pl (written in Perl, not installed) |
|---|
| 42 | This program is used to help us generate driver documentation; it reads |
|---|
| 43 | all module information and outputs insmod parameter information. Syntax: |
|---|
| 44 | ./doc-insmod.pl DRIVER |
|---|
| 45 | |
|---|
| 46 | * prog/dump/i2cdump (written in C, installed by 'make install') |
|---|
| 47 | This program dumps the registers of an I2C device. |
|---|
| 48 | Usual syntax: |
|---|
| 49 | i2cdump 0 0x4c b |
|---|
| 50 | Here the '0' stands for the bus number (run i2cdump with no arguments |
|---|
| 51 | to list all installed busses). |
|---|
| 52 | '0x49' is the device address, and 'b' or 'w' stands for byte |
|---|
| 53 | or word data. |
|---|
| 54 | |
|---|
| 55 | * prog/dump/i2cset (written in C, installed by 'make install') |
|---|
| 56 | prog/dump/i2cget (written in C, installed by 'make install') |
|---|
| 57 | These programs are used to write to or read from a register of an |
|---|
| 58 | I2C device. Usual syntax: |
|---|
| 59 | i2cset bus device address data |
|---|
| 60 | i2cget bus device address |
|---|
| 61 | |
|---|
| 62 | * prog/dump/isadump (written in C, installed by 'make install') |
|---|
| 63 | This program dumps the registers of ISA or Super-I/O chips. |
|---|
| 64 | Usual syntax: |
|---|
| 65 | isadump 0x295 0x296 |
|---|
| 66 | isadump -k 0x55 0x2e 0x2f |
|---|
| 67 | |
|---|
| 68 | * prog/eeprom/decode-dimms.pl (perl script, installed by 'make install') |
|---|
| 69 | This program decodes the information found in a memory module SPD EEPROM. |
|---|
| 70 | |
|---|
| 71 | * prog/eeprom/decode-vaio.pl (perl script, installed by 'make install') |
|---|
| 72 | This program decodes the information in a Sony Vaio laptop |
|---|
| 73 | identification eeprom at 0x57. |
|---|
| 74 | |
|---|
| 75 | * prog/eeprom/ddcmon (perl script, installed by 'make install') |
|---|
| 76 | prog/eeprom/decode-edid.pl (perl script, installed by 'make install') |
|---|
| 77 | These programs decode the information found in a display EEPROM. They |
|---|
| 78 | require a bus driver for your video adapter, for DDC access to the display. |
|---|
| 79 | |
|---|
| 80 | * prog/eepromer/eepromer (written in C, not installed) |
|---|
| 81 | This program reads and writes eeproms. |
|---|
| 82 | Danger: Do not use this to write your DRAM DIMM eeproms. |
|---|
| 83 | |
|---|
| 84 | * prog/hotplug/m7101.o (kernel module, not installed) |
|---|
| 85 | An experimental kernel module to enable the Acer Labs 7101 PCI device. |
|---|
| 86 | See prog/hotplug/README for details. |
|---|
| 87 | |
|---|
| 88 | * prog/hotplug/p4b_smbus.o (kernel module, not installed) |
|---|
| 89 | An experimental kernel module to enable the i801 2443 PCI device |
|---|
| 90 | on Asus P4B boards. |
|---|
| 91 | See prog/hotplug/README.p4b for details. |
|---|
| 92 | |
|---|
| 93 | * prog/hotplug/unhide_ICH_SMBus (shell script, not installed) |
|---|
| 94 | It unhides the ICH Intel SMBus for 2.6 kernels |
|---|
| 95 | |
|---|
| 96 | * prog/init/lm_sensors.init (shell script, not installed) |
|---|
| 97 | A SysV init script to be installed in /etc/rc.d/init.d/ |
|---|
| 98 | It inserts the bus and chip modules. |
|---|
| 99 | |
|---|
| 100 | * prog/init/sensord.init (shell script, not installed) |
|---|
| 101 | A SysV init script to be installed in /etc/rc.d/init.d/ |
|---|
| 102 | It inserts the bus and chip modules and starts the sensord daemon. |
|---|
| 103 | |
|---|
| 104 | * prog/matorb/displayit.pl (written in Perl, not installed) |
|---|
| 105 | A simple Perl script to display a 'screen' on a Matrix Orbital Display. |
|---|
| 106 | |
|---|
| 107 | * prog/maxilife/sysinfo.sh (written in shell, not installed) |
|---|
| 108 | Write system information to the HP Maxilife LCD display using writelcd.sh. |
|---|
| 109 | |
|---|
| 110 | * prog/maxilife/writelcd.sh (written in shell, not installed) |
|---|
| 111 | Write a string to the HP Maxilife LCD display. |
|---|
| 112 | |
|---|
| 113 | * prog/mkdev/mkdev.sh (written in bash, not installed) |
|---|
| 114 | This script creates the /dev/i2c-* files. Please check the source before |
|---|
| 115 | you run it, as you may need to set some variables first. |
|---|
| 116 | |
|---|
| 117 | * prog/pwm/pwmconfig (shell script, installed by 'make install') |
|---|
| 118 | Formerly pwmtest, tests the pwm (pulse width modulation) outputs of sensors |
|---|
| 119 | for their effect on the fans and helps to setup the configfile for fancontrol. |
|---|
| 120 | |
|---|
| 121 | * prog/pwm/fancontrol (shell script, installed by 'make install') |
|---|
| 122 | Controls fanspeeds responding to changes on temperature sensors. |
|---|
| 123 | Configuration through pwmconfig. |
|---|
| 124 | |
|---|
| 125 | * prog/pwm/fancontrol.pl (perl script, installed by 'make install') |
|---|
| 126 | Reimplementation of fancontrol in perl, with self-daemonizing. |
|---|
| 127 | |
|---|
| 128 | * prog/rrd/sens_update_rrd (written in bash, not installed) |
|---|
| 129 | This script gathers sensors data and adds it to a round robin database |
|---|
| 130 | (RRD). RRD is then used to display the graphed data in web pages. |
|---|
| 131 | See prog/rrd/README for more information. |
|---|
| 132 | |
|---|
| 133 | * prog/sensord/sensord (written in C, installed by `make install-prog-sensord') |
|---|
| 134 | This daemon can be used to periodically log sensor readings from |
|---|
| 135 | the sensors hardware to syslog, and to alert (using syslog level ALERT) |
|---|
| 136 | when a sensor alarm is signalled; for example, if a fan fails, a temperature |
|---|
| 137 | limit is exceeded, etc. |
|---|
| 138 | |
|---|
| 139 | * prog/sensors/sensors (written in C, installed by `make install') |
|---|
| 140 | This pretty-prints the information provided by the modules. It is a normal |
|---|
| 141 | console application, using stdout. It is essential, because |
|---|
| 142 | unlike the raw /proc/sys/dev/sensors/*/* files, it takes your configuration |
|---|
| 143 | file into account. |
|---|
| 144 | |
|---|
| 145 | * prog/tellerstats/gather.sh, tellerstats.sh (written in bash, not installed) |
|---|
| 146 | These scripts gather sensors data and graph the data for web pages. |
|---|
| 147 | See prog/tellerstats/README for more information. |
|---|
| 148 | |
|---|
| 149 | * prog/xeon/decode-xeon.pl (written in Perl, installed by 'make install') |
|---|
| 150 | ID ROM data decoding for Xeon processors. |
|---|