Hi, Final my p-sensor is working fine.
The fix areas are: p-sensor disable ioctl() & platform gpio configurations. Because of improper configuration in GPIO, while I am moving my device away from EAR, proximity h/w able to generate interrupt but my driver is unable to proceed. Thanks for Android google groups. Regards, Jagan On Wed, Jun 15, 2011 at 7:01 PM, jagan <[email protected]> wrote: > Hi, > > Being capella h/w of my p-sensor, > > I customized the following > => I took the HAL from htc ie. in device/htc/passion-common/libsensors > /ProximitySensor.cpp and i customized acc. to my dev entries. > => I registered my driver with input core. > > It was working with USB cable attached, but it's not working with w/o USB. > Means When i put the device closed into my EAR, it's turned OFF, > It's not turned ON , when i take AWAY from my EAR. > > I suspect that it may be sync problem with HAL vs Driver ioctl(). > > I attach a HAL code for reff. > > Please let me know any one have an idea.... > > Regards, > Jagan > > > > On Sat, Jun 11, 2011 at 6:45 PM, jagan <[email protected]> wrote: > >> Any inputs... >> Please forward... >> >> Regards, >> Jagan. >> >> >> On Fri, Jun 10, 2011 at 3:05 PM, jagan <[email protected]> wrote: >> >>> Hi, >>> >>> I am upgrading my android phone to 2.3.3... >>> >>> It's all the functionalities are working fine, but my proximity sensor >>> have a problem. >>> >>> The problem description is >>> 1.In idle,backlight off >>> 2.Receive one MT call >>> 3.Answer the call and put device to close to your ear >>> 4.P-sensor can work and backlight turn off >>> 5. while i am moving phone away from EAR screen is not turned ON. >>> >>> I heard that some patch is available on 2.3.4, but i couldn't find. >>> >>> Can you please any one can help out to resolve this issues.. >>> >>> Thanks in advance, >>> Jagan >>> >>> -- >>> unsubscribe: [email protected] >>> website: http://groups.google.com/group/android-porting >>> >> >> > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
