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
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to