hi,
I think what the nature lover want is a sensor hardware module~just like
the sensors_qemu.c in the
development/emulator/sensors ~~
or u can get the htc_sensors.c on the android's git server.
2010/7/9 tungsys <[email protected]>
> Hi,
>
> I have a bit confuse about what you are doing : port an i2c driver to
> Android platform ?
> Android kernel is based on Linux kernel, so there is nothing
> difference with the driver layer .
> I thought you need do the driver for Linux kernel first and then apply
> the Android patch to your kernel .
>
> Tung
>
> On Jul 9, 1:27 am, nature lover <[email protected]> wrote:
> > Hi,
> >
> > I am attempting to port an existing Linux device driver for an i2c
> > device (which I wrote),
> > to the Android platform. The intent is to eventually be able to access
> > the device via the
> > Android sensor interface at the application level.
> >
> > I have not been able to find documentation on how to do the above
> > port, or a description
> > of the hooks needed for the sensor interface, in any of the Android
> > sites, or in a general
> > search of the web. I probably haven't been looking in the right
> > places. Where would I be
> > able to find detailed information on this process?
> >
> > Thanks in advance.
>
> --
> unsubscribe:
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>
--
Regards
Y-C Wang
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting