Hello all, I am currently running cupcake on a Logic-PD Zoom 3430 development platform, and I need to integrate an IC that communicates via i2c and will need to import and export data from and to userspace. So far, I have a user mode driver that was written in C, which was tested and verified to be functional with a base Linux kernel running a standard file system with Busybox.
I'm pretty sure that I will have to build my driver into Android as a library, but I'm not sure how to do that, and web documentation on this subject seems to be eluding me. Also, once the library is built into Android, I'm unsure how to access the device from the application layer. While running on the kernel alone, the driver creates a device node in the file system, which will accept i2c commands (based on i2c-dev.h, from the LM-sensors package). If it helps, the IC in question is a tri-axis digital accelerometer intended for future Android-based smartphones. Any insight you could provide on this matter would be greatly appreciated. Thank you, Chris H. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
