Description of problem: I just ran across a piece of robot hardware which has source code available for using it (hooray!). But it needs i2c and for this the i2c-dev.h header with the inline defined functions otherwise hidden in the kernel guts. Version-Release number of selected component (if applicable): i2c-tools-3.0.2-1 Desired solution: The i2c-dev.h header from i2c-tools should be made available. Actually I'm not sure about the best way, maybe this should be added as a kernel patch. Otherwise the kernel should not install that particular header and it could be in a i2c-devel package. The i2c-dev.h that comes with the kernel headers is pretty much useless. The one from i2c-tools is a super set of what is in kernel headers and provides everything needed. Debian provides this as libi2c-dev, which contains this specific kernel header.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Any progress or comments on this one?
This still persists for F-12 and also Rawhide. Are you willing to fix this?
This message is a reminder that Fedora 11 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '11'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 11's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 11 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.
This was never fixed and continues to be an issue on Fedora 25. There are two forms of the i2c-dev.h header, a stock one which does not provide an interface to the smbus protocol: https://www.kernel.org/doc/Documentation/i2c/smbus-protocol And one which does (this is mentioned in the above document). As per the original post here, on Debian derived systems the full version, against which software using the interface can be compiled, is in the 'libi2c-dev' package. There is some indication here: https://github.com/groeck/i2c-tools/commit/daf0466e26f96280722df40e9fb4f8c50d44c2b6 That (presumably to mitigate confusion) the header would be moved to 'include/i2c/smbus.h' instead, however, nothing further seems to have happened since 2012 and as far as I am aware no linux system uses that path. Also, this file is not available in any distro packaging of i2c-tools including Fedora's. Hence, THE HEADER IS NOT AVAILABLE IN ANY FEDORA PACKAGE. This means in order to compile software which requires it, it must be copied in from somewhere (e.g., a Debian install). The header just defines wrappers on ioctl(), and so does not require an actual userspace library (i.e., the functionality is in the kernel).
This appears to still be an issue on F26.