Re: [android-kernel] Re: Android kernel developer advocacy/guidance?

2010-07-19 Thread John Koshi
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

Re: [android-kernel] Re: Android kernel developer advocacy/guidance?

2010-07-18 Thread Anil Sasidharan
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

[android-kernel] Re: Android kernel developer advocacy/guidance?

2010-07-18 Thread Danke Xie
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

Re: [android-kernel] Re: Android kernel developer advocacy/guidance?

2010-07-17 Thread John Koshi
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

[android-kernel] Re: Android kernel developer advocacy/guidance?

2010-07-15 Thread Danke Xie
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