Hi CVS, Thanks for your response.
For non working case [w/o USB] the device is completely suspend. I should wake-up in two situations 1. Connect USB, move the device near to EAR it's wake-up...and continue again 2. When call is disconnected by another end. device comes with home-screen. In non-working case i didn't get any IRQ from p-sensor. Please let me know if u have any concerns. Regards, Jagan. On Thu, Jun 16, 2011 at 6:56 PM, Chinmay S <cvs...@gmail.com> wrote: > Hi Jagan, > > From the attached logs, its obvious that in the non-working case (w/o the > USB cable), > the device has entered complete suspend ( Userspace processes frozen ) > and hence the Sensor-HAL code wont be active. > > From the logs you have shared, it appears that the device after going into > suspend, > never wakes-up. ( even after the external IRQ on the proximity sensor line) > > Ideally, if the device is suspended, > the proximity-sensor IRQ should wake-up the device & psensor_irqhandler > should be called. > the HAL will come into the picture ONLY after that. > > Do verify that the proximity sensor IRQ line is in fact waking-up the > device. > i.e. the following log should be present in the wake-up path when you move > your ear away. > > psensor_irqhandler: Starts ########## > > Can you please confirm that the device is indeed waking up? > > regards > CVS > > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel