Changes between Version 3 and Version 4 of I2CTools_4_Plan
- Timestamp:
- 04/05/12 10:19:37 (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
I2CTools_4_Plan
v3 v4 1 = Plans for I 2C Tools 4 =1 = Plans for I^2^C Tools 4 = 2 2 3 3 == Problem == 4 4 5 There is a major issue with I 2C Tools 3, which has been present since the beginning, even when the code was still part of lm-sensors, and which I want to solve now. This problem is {{{i2c-dev.h}}}.5 There is a major issue with I^2^C Tools 3, which has been present since the beginning, even when the code was still part of lm-sensors, and which I want to solve now. This problem is {{{i2c-dev.h}}}. 6 6 7 7 There have always been two flavors of file {{{i2c-dev.h}}}. One comes from the kernel and contains a description of the {{{/dev/i2c-*}}} kernel interface, as kernel header files are supposed to do. [source:i2c-tools/tags/V3-1-0/include/linux/i2c-dev.h The other comes from the i2c-tools package], and contains not only the description of the {{{/dev/i2c-*}}} kernel interface but also definitions copied from {{{<linux/i2c.h>}}} as well as inline functions duplicating the {{{i2c_smbus_*}}} functions from the kernel to make the same functionality available to user-space applications. This was an afternoon hack but nobody ever bothered cleaning it up so it's still there over ten years later. … … 28 28 All the {{{i2c_smbus_*}}} inline functions should be moved to a proper shared library. 29 29 30 Status: Not started. 31 32 Discussion: How do we name the library? libi2c, libi2c-dev, something else? 30 Status: Name decided ([http://marc.info/?l=linux-i2c&m=133356140412722&w=2 libi2c]). No code yet. 33 31 34 32 === Step 3: Extending the library ===
