| 1 | Kernel driver `lm92.o' |
|---|
| 2 | ====================== |
|---|
| 3 | |
|---|
| 4 | Status: Complete and somewhat tested |
|---|
| 5 | |
|---|
| 6 | Supported chips: |
|---|
| 7 | * National Semiconductor LM92 |
|---|
| 8 | Prefix: 'lm92' |
|---|
| 9 | Addresses scanned: I2C 0x48 - 0x4b |
|---|
| 10 | * National Semiconductor LM76 |
|---|
| 11 | Prefix: 'lm92' |
|---|
| 12 | Addresses scanned: none, force parameter needed |
|---|
| 13 | * Maxim MAX6633/MAX6634/MAX6635 |
|---|
| 14 | Prefix: 'lm92' |
|---|
| 15 | Addresses scanned: I2C 0x48 - 0x4f |
|---|
| 16 | MAX6633 with address in 0x40 - 0x47 needs force parameter |
|---|
| 17 | |
|---|
| 18 | Author: Abraham van der Merwe <abraham@2d3d.co.za> |
|---|
| 19 | |
|---|
| 20 | License: GPL |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | Module Parameters |
|---|
| 24 | ----------------- |
|---|
| 25 | |
|---|
| 26 | * force: short array (min = 1, max = 48) |
|---|
| 27 | List of adapter,address pairs to boldly assume to be present |
|---|
| 28 | * force_lm92: short array (min = 1, max = 48) |
|---|
| 29 | List of adapter,address pairs which are unquestionably assumed to contain |
|---|
| 30 | a `lm92' chip |
|---|
| 31 | * probe: short array (min = 1, max = 48) |
|---|
| 32 | List of adapter,address pairs to scan additionally |
|---|
| 33 | * probe_range: short array (min = 1, max = 48) |
|---|
| 34 | List of adapter,start-addr,end-addr triples to scan additionally |
|---|
| 35 | * ignore: short array (min = 1, max = 48) |
|---|
| 36 | List of adapter,address pairs not to scan |
|---|
| 37 | * ignore_range: short array (min = 1, max = 48) |
|---|
| 38 | List of adapter,start-addr,end-addr triples not to scan |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | Description |
|---|
| 42 | ----------- |
|---|
| 43 | |
|---|
| 44 | This driver implements support for the National Semiconductor LM92 |
|---|
| 45 | temperature sensor. |
|---|
| 46 | |
|---|
| 47 | Each LM92 temperature sensor supports a single temperature sensor. |
|---|
| 48 | Temperatures are exported to proc in degrees Celsius * 10000 (in other |
|---|
| 49 | words temperatures are accurate to 4 decimal places). There are alarms |
|---|
| 50 | for high, low, and critical thresholds. There's also an hysteresis to |
|---|
| 51 | control the thresholds for resetting alarms. |
|---|
| 52 | |
|---|
| 53 | At the moment the driver controls these sensors in comparator mode and the |
|---|
| 54 | interrupt pins (INT, T_CRIT_A) are ignored. |
|---|
| 55 | |
|---|
| 56 | Support was added later for the LM76 and Maxim MAX6633/MAX6634/MAX6635, |
|---|
| 57 | which are mostly compatible. They have not all been tested, so you |
|---|
| 58 | may need to use the force parameter. |
|---|
| 59 | |
|---|
| 60 | |
|---|
| 61 | Hardware Configurations |
|---|
| 62 | ----------------------- |
|---|
| 63 | |
|---|
| 64 | The only thing that can be changed is enabling of the fault queue. Doing so |
|---|
| 65 | ensures that alarms will only be triggered if 4 consecutive readings all |
|---|
| 66 | cross the alarm thresholds. You can enable this behaviour by uncommenting |
|---|
| 67 | the #define in the driver source, and then recompile/reinstall. |
|---|
| 68 | |
|---|
| 69 | |
|---|
| 70 | Chip Features |
|---|
| 71 | ------------- |
|---|
| 72 | |
|---|
| 73 | Chip 'lm92' |
|---|
| 74 | |
|---|
| 75 | LABEL LABEL CLASS COMPUTE CLASS MODE MAGN |
|---|
| 76 | temp - - R- 4 |
|---|
| 77 | temp_high temp temp RW 4 |
|---|
| 78 | temp_low temp temp RW 4 |
|---|
| 79 | temp_crit temp temp RW 4 |
|---|
| 80 | temp_hyst temp temp RW 4 |
|---|
| 81 | alarms - - R- 0 |
|---|
| 82 | |
|---|
| 83 | LABEL FEATURE SYMBOL SYSCTL FILE:N |
|---|
| 84 | temp SENSORS_LM92_TEMP temp:1 |
|---|
| 85 | temp_high SENSORS_LM92_TEMP_HIGH temp:2 |
|---|
| 86 | temp_low SENSORS_LM92_TEMP_LOW temp:3 |
|---|
| 87 | temp_crit SENSORS_LM92_TEMP_CRIT temp:4 |
|---|
| 88 | temp_hyst SENSORS_LM92_TEMP_HYST temp:5 |
|---|
| 89 | alarms SENSORS_LM92_ALARMS alarms:1 |
|---|