Anil,
Thanks a lot for the info. There also appear to be several ioctls that are
specific to Android, which need to be implemented in the driver. Also, I
did not find any references to a way to configure register settings in the
sensor during or after bring-up, or to enable specific modes of oper
Hi John,
The sensor driver is supposed to pass the data to userland through
input susbsystem. For this you will have to register your device with input
susbsystem. As and when the data is ready, use "input_report_abs" function
to push sensor-data to userspace. Android's Sensor HAL modul
Hi John,
Thanks for the information. Sorry the examples did not provide enough
reference. I am not very familiar with the sensor framework either.
>From a quick browse,
I found some files that may be useful to look at:
The JNI to hook up the Sensor Service to native C layer:
http://android.git.ke
Hi Danke,
Thanks for the feedback. The sensor will be on the i2c bus.The examples
do not provide the driver source code, which would clarify the hooks needed
in the driver in order for the sensor Java API to query/configure the
sensor.
regards,
nature lover
On Wed, Jul 14, 2010 at 9:43 AM, Dan
Hello,
How is the sensor connected to the platform?
You can check out kernel/arch/arm/ drivers, and see how
other sensors (e.g., camera) are registered to the SoC board.
Thanks,
Danke
On Jul 13, 5:02 pm, nature lover wrote:
> Hello,
>
> Are there kernel developer advocates at Google who can at