Is your sensor library being loaded at boot?

Maybe put some log messages in your HAL and first verify that the
sensor library initialized.
Are you sure that the drivers are producing data?

Dan

On Apr 15, 11:53 pm, Luo Chunbo <lu...@paragonfmc.com> wrote:
> There framework for sensors are changed in Gingerbread.
>
> And and think you can refer device/htc/passion-common/libsensors
> or device/samsung/crespo/libsensors
>
> There are some sample code of sensors in these directories.
>
> Thanks
> Chunbo
>
> On 04/15/2011 08:43 PM, jagan wrote:
>
>
>
>
>
>
>
> > Hi All,
>
> > I am upgrading my android device[with qualcomm chipset] into
> > Gingerbread.
>
> > I am facing a problem with All my sensors are not working on device.
>
> > I ported:
> > -----------
> > =>  sensor drivers in kernel [i got the boot up sensor init logs]
> > =>  my HAL sensor daemon [having all sensor operations from user space
> > to call driver code]
>
> > With the above changes my sensors are not working.
>
> > As per my analysis there is a new sensorservice layer is added in
> > Gingerbread.
>
> > Is there any way to change my HAL, to support new sensorservice added
> > by GB.
>
> > Please tell me any one how to add my sensor HAL to Gingerbread.
>
> > Thank you.
> > Jagan

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to