Hi Dan,

I confirm that my driver is configured as wakeble interrupts support.

Regards,
Jagan

On Thu, Jun 16, 2011 at 6:21 PM, jagan <[email protected]> wrote:

> Hi Dan,
>
> I still unable to resolve my p-sensor issue.
>
> I will tell you the issue once again
> => Receive one MT call
> => Answer the call and put device to close to your ear
> => P-sensor can work and backlight turn off
> => while i am moving phone away from EAR screen is not turned ON.
>
> My p-sensor h/w is capella, due to this reason
> => i took the p-sensor HAL from device/htc/passion-common/
> libsensors  /ProximitySensor.cpp
> => I registered my driver with input core [earlier in froyo my driver
> doesn't have input core]
>
> P-sensor is working with USB cable, but w/o USB cable screen is not turned
> ON when i move the device away from my EAR.
>
> I attach a HAL code, logs for working & non working case.
>
> How to configure my prox driver as support wakeable
> interrupt?
>
> Please let me know if you have any inputs on this.
> let me know if you have any concerns.
>
> Regards,
> Jagan.
>
>
>
> On Fri, Apr 29, 2011 at 4:19 PM, DanM <[email protected]> wrote:
>
>> Are you sure that the proximity sensor sent the data to the user space
>> to wake up the device?
>> Are you sure that the proximity driver is configured as a wakeable
>> interrupt?
>>
>> Dan
>>
>> On Apr 26, 12:51 am, jagan <[email protected]> wrote:
>> > Dan,
>> >
>> > Then what is significance of maxRange, resolution w.r.t
>> PROXIMITY_THRESHOLD
>> > value.
>> >
>> > When i update the above attributes also,
>> > Some times my device is not resumes, while it is away from my ear.
>> >
>> > Thanks,
>> > Jagan
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Tue, Apr 26, 2011 at 11:12 AM, JakeLian <[email protected]>
>> wrote:
>> > > Dear Dan,
>> >
>> > > Thanks for your suggestions and responses.
>> >
>> > > Regarding to my question, I have the solution and implement done.
>> >
>> > > My solution is writting a function to get sensor output data from
>> > > sysfs and report it to the framework, then we can monitor it via some
>> > > sensor related apk.
>> >
>> > > Best Regards
>> > > Jake
>> >
>> > > --
>> > > unsubscribe: [email protected]
>> > > website:http://groups.google.com/group/android-kernel
>>
>> --
>> unsubscribe: [email protected]
>> website: http://groups.google.com/group/android-kernel
>>
>
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to