Hi, as far as I remember the header file which is supposed to be used with userland programs is distributed as part of the the lm-sensors source package as it is needed also in the sensors-detect program.
Christoph On Sat, Apr 22, 2006 at 09:55:33AM -0400, Paul Alfille wrote: > Ok, after perusing a lot of code examples, I get it. > > Everyone cheats. They either copy the relevant defines from the header file, > or pretend that kernel headers are the same as glibc headers. It's messy, but > I can do that. > > Paul > > On Friday 21 April 2006 09:31 pm, Paul Alfille wrote: > > Jan (or anyone else). > > > > I'm having trouble with /dev/i2c programming. > > > > There are many usermode examples, including kernel source > > /Documentation/i2c Linux journal: > > http://www.linux-mag.com/content/view/96/2108/1/6/ > > http://www.charmed.com/txt/dev-interface.txt > > > > http://lists.arm.linux.org.uk/pipermail/linux-arm/2005-June/010077.html > > > > All these examples involve <linux/i2c.h> and <linux/i2c-dev.h> > > > > Unfortunately, those header files cause no end of errors and redefines. > > Basically, I'm stymied. > > > > Paul > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Christoph Scheurer GnuPG key Id: 0x6128C6B6 http://scheurer-clark.net ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers