root/lm-sensors/tags/V2-8-4/TODO

Revision 2184, 5.0 kB (checked in by mds, 5 years ago)

smart fan support

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