| 1 |
LM-Sensors TODO list |
|---|
| 2 |
Contact us if you have comments or wish to help. |
|---|
| 3 |
------------------------------------------------ |
|---|
| 4 |
|
|---|
| 5 |
I2C CODE CHANGES |
|---|
| 6 |
================ |
|---|
| 7 |
|
|---|
| 8 |
See TODO in the i2c package. |
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
KERNEL MODULES |
|---|
| 12 |
============== |
|---|
| 13 |
|
|---|
| 14 |
* Assistance on how to fix module refcounting is welcome. |
|---|
| 15 |
To my understanding, it does not handle client->adapter->owner |
|---|
| 16 |
correctly now, and it is possible to rmmod adapter while one of its |
|---|
| 17 |
clients is in use. |
|---|
| 18 |
|
|---|
| 19 |
* mkpatch. Trace back Configure changes from 2.5 tree and |
|---|
| 20 |
have it make clean diffs. |
|---|
| 21 |
Applies to both i2c and sensors. |
|---|
| 22 |
|
|---|
| 23 |
* ACPI and SMBus host |
|---|
| 24 |
- ACPI subsystem may access SMBus host too. Locks? |
|---|
| 25 |
- On my ancient board using i2c-via, suspend and power switch status |
|---|
| 26 |
seems to be in the same register with SCL and SDA. |
|---|
| 27 |
|
|---|
| 28 |
* Suspend-to-disk, losing Vcc |
|---|
| 29 |
- Reset i2c client to avoid alarms and SCI interrupts. Currently |
|---|
| 30 |
sensors do not create interrupt with alarms. |
|---|
| 31 |
|
|---|
| 32 |
* Return from suspend |
|---|
| 33 |
- Reinitialize i2c client. |
|---|
| 34 |
|
|---|
| 35 |
* Handle -1 returns from i2c layer rather than just delivering 0xFF to |
|---|
| 36 |
/proc and libsensors; report errors through /proc 'alarms' or |
|---|
| 37 |
new 'fail' entry? |
|---|
| 38 |
* Add string function in sensors.o |
|---|
| 39 |
* ALL: cleanup_module is void; check also that cleaning up is done |
|---|
| 40 |
properly, now we know that the module will be unloaded whatever we |
|---|
| 41 |
do. |
|---|
| 42 |
* ALL chip drivers: add a readonly insmod option so we don't cause APM/ACPI |
|---|
| 43 |
to go insane. |
|---|
| 44 |
* gl518sm: using iterate==2 causes a tread to be started. this thread remains |
|---|
| 45 |
even after setting iterate==1 and/or removing the gl518sm module |
|---|
| 46 |
<koenig@uranus.tat.physik.uni-tuebingen.de> |
|---|
| 47 |
* LM78 detection: Tom Webster has proven that the reset bit in the |
|---|
| 48 |
id register can be one (strange!) |
|---|
| 49 |
* maxilife.c: Introduce new insmod variables |
|---|
| 50 |
* maxilife.c: Round REG_TO_VID correctly |
|---|
| 51 |
* icspll.c: Rewrite. The current implementation simply can't work at all. |
|---|
| 52 |
It needs i2c-level access (too bad for SMBus-only adapters). |
|---|
| 53 |
* w83781d: Some features are still unsupported for the W8378[23]. |
|---|
| 54 |
Also, alarms seem to give strange results |
|---|
| 55 |
sometimes, and there are some other minor problems, as indicated by |
|---|
| 56 |
Jonathan Bradshaw <jonathan@NrgUp.Com> |
|---|
| 57 |
* Support 10-bit addresses. At this moment, they are supported nowhere, except |
|---|
| 58 |
in Simon Vogl's i2c modules. |
|---|
| 59 |
* Better general locking, or at least a once-over to check no race-conditions |
|---|
| 60 |
remain. This is part of the SMP-safeness, and can better be done at once. |
|---|
| 61 |
* adm9240: check whether the current voltage computations are correct. |
|---|
| 62 |
Probably not, as they are different from the datasheet specifications. |
|---|
| 63 |
Also check for the supported dallas chip. |
|---|
| 64 |
* lm80: Check how OS alarms work. At page 17 of the sheet, it tells |
|---|
| 65 |
something completely different from the description at page 25. |
|---|
| 66 |
* gl518sm: Assume that new values are close to old values, so start with |
|---|
| 67 |
trying to use a small range near the old values (already partially done) |
|---|
| 68 |
* lm77: Add detection in lm75.c and sensors-detect to distinguish from |
|---|
| 69 |
an lm75. Add support for the two new registers. |
|---|
| 70 |
* Add MTP006F chip: http://www.myson.com/Pcd/MTP006/Mtp006.pdf |
|---|
| 71 |
gfiala@s.netic.de (Guido Fiala) has one on his mainboard |
|---|
| 72 |
|
|---|
| 73 |
|
|---|
| 74 |
LIBRARY |
|---|
| 75 |
======= |
|---|
| 76 |
|
|---|
| 77 |
* Easier use of /proc and libsensors without knowing the chip type |
|---|
| 78 |
At the moment a programmer wishing to use the lm_sensors package needs to know |
|---|
| 79 |
what chips are supported and needs to add all those chips into his package. |
|---|
| 80 |
If you were to add a field or function to your structures to the effect of |
|---|
| 81 |
sensor-function a programmer could use the package a lot more simply. |
|---|
| 82 |
For values you could do something like - |
|---|
| 83 |
enum sensor-type { volt, fan, temp, volt_min, volt_max, fan_div, fan_min, |
|---|
| 84 |
temp_over, temp_hyst } |
|---|
| 85 |
|
|---|
| 86 |
* reload does not work (Bison/Flex problem?). |
|---|
| 87 |
* Some library routines are pretty inefficient right now. |
|---|
| 88 |
* Library should be split in more separate files, for better linking |
|---|
| 89 |
behaviour. |
|---|
| 90 |
* Some adm9240 labels start with a digit; change this, it leads to confusing |
|---|
| 91 |
syntax in the conf file (they have to be quoted) |
|---|
| 92 |
|
|---|
| 93 |
|
|---|
| 94 |
PROGRAMS |
|---|
| 95 |
======== |
|---|
| 96 |
|
|---|
| 97 |
* Sensors program needs to print a + before lm75 temperatures |
|---|
| 98 |
* Sensors program needs to be extended for many new chips |
|---|
| 99 |
|
|---|
| 100 |
|
|---|
| 101 |
OTHERS |
|---|
| 102 |
====== |
|---|
| 103 |
|
|---|
| 104 |
* Examine watchdog-4.3 or later of meskes@debian.org (Michael Meskes) |
|---|
| 105 |
tsx-11.mit.edu /pub/linux/sources/sbin or |
|---|
| 106 |
sunsite.unc.edu /pub/linux/system/daemons/watchdog |
|---|
| 107 |
|
|---|