Re: [android-porting] Android Sensors

2009-11-23 Thread pramod gurav
Hi cpnkng, Please refer the code in development/emulator/sensors/sensors_qemu.c and also header file hardware/libhardware/include/hardware/sensors.h On Thu, Nov 12, 2009 at 10:44 AM, cpnkng cpn...@gmail.com wrote: Where can I find information on linux sensor integration and how do the sensor

[android-porting] Re: LCD flicker when I use the softkeyboard

2009-06-27 Thread pramod gurav
Hi The ioctl will wait for the VSYNC (vertical sync ) interrupt. This interrupt is generated when a image is written completely to the framebuffer. If you try to to write another image before one has not yet been written completely the flicker will occur. So use WAITFOR_VSYNC to wait till the

[android-porting] Re: sensors on cupcake

2009-05-23 Thread pramod gurav
On Sat, May 23, 2009 at 4:19 PM, Michael Trimarchi trimar...@gandalf.sssup.it wrote: Hi all, Is there a good example or an howto to write a libsensors library or just take a look at the includes and frameworks code to understand how it works? Michael Hi Michael, You can refer the qemu

[android-porting] Re: sensor HAL in cupcake

2009-03-29 Thread pramod gurav
list for details. Hope this will help you. Best luck. Thanks. Regards, Vivien On 2月19日, 下午9時33分, pramod gurav pramodfo...@gmail.com wrote: Hi there I am trying my hands on sensors HAL in cupcake. As I can see HAL implementation has changed a lot in cupcake. ThesensorHAL sources have gone

[android-porting] Re: sensor HAL in cupcake

2009-02-20 Thread pramod gurav
On Thu, Feb 19, 2009 at 7:03 PM, pramod gurav pramodfo...@gmail.com wrote: Hi there I am trying my hands on sensors HAL in cupcake. As I can see HAL implementation has changed a lot in cupcake. The sensor HAL sources have gone from hardware/libhardware/. I could know that there is space

[android-porting] sensor HAL in cupcake

2009-02-19 Thread pramod gurav
Hi there I am trying my hands on sensors HAL in cupcake. As I can see HAL implementation has changed a lot in cupcake. The sensor HAL sources have gone from hardware/libhardware/. I could know that there is space for having a sensor HAL module in new hardware/libhardware/; I referred the sensor.h

[android-porting] Re: How does the SensorManager get sensors list?

2009-02-19 Thread pramod gurav
Hi Elay, This may not be the direct answer to your query but I just thought of asking. Have you got the HAL module implemented in cupcake? You need to have a HAL module for sensors. On Thu, Feb 19, 2009 at 5:41 PM, Elay huen...@gmail.com wrote: Hi all, Anyone know how does the new class

[android-porting] Re: sensors HAL limitation

2009-01-29 Thread pramod gurav
On Fri, Jan 30, 2009 at 6:46 AM, Ken Schultz schultz...@gmail.com wrote: The problem I'm running into is how to do this in kernel space. I would suspect you would need to share the input_dev struct between drivers so they each could call input_report_abs on the same input_dev, but since

[android-porting] Re: Sensors

2009-01-13 Thread pramod gurav
that this daemon is calibrating yax, pitch and roll from sensors' data and again sending it back to driver through a driver. Where the sources of this daemon are? 伊泽 wrote: hi pramod gurav, I think we have the same problem,the lis302/lis331 sensor cannot provide yaw/pitch/roll data while we feel

[android-porting] Re: Sensors

2009-01-09 Thread pramod gurav
/libhardware/sensors/ I am making changes to one of these and using. I hope this helps. Thanks for the quick reply. Mathias On Thu, Jan 8, 2009 at 9:45 PM, pramod gurav pramodfo...@gmail.com wrote: Hi All, I am trying to integrate my compass and accelerometer sensors into android. These are two

[android-porting] Re: Sensors

2009-01-09 Thread pramod gurav
; however we will fix this problem soon by including the G1 HAL module source code, stay tuned. I hope this helps. Mathias On Thu, Jan 8, 2009 at 9:45 PM, pramod gurav pramodfo...@gmail.com wrote: Hi All, I am trying to integrate my compass and accelerometer sensors into android

[android-porting] Sensors

2009-01-08 Thread pramod gurav
Hi All, I am trying to integrate my compass and accelerometer sensors into android. These are two different sensors which support only providing magnetic x, y, z and acceleration in x, y and z direction. As I gone through the HAL layer of android I could know that android expects yaw, pitch, row