Hello @all,
     I am trying to implement a magnetic compass using magnetometer and
accelerometer device drivers. But here i need to use a sin, cos, atan  in
order to get the orientation values. Can anyone tell me how can i get them
implemented. Because i guess there is no math.h available at kernel level
(even at HAL also) .

Thanks for your help in advance
Sarika

On Thu, Nov 3, 2011 at 11:53 AM, Chinmay V S <[email protected]> wrote:

> The log  "couldn't open device for module sensors" means that
> the sensor "HAL" (sensors.*.so) is NOT being picked-up by the
> sensorservice.
>
> As you correctly noted earlier it is the
>
> hw_get_module() function in
>
> android/hardware/libhardware/hardware.c
>
> that is responsible for the linking with the the .so file.
>
> Currently what is the name of the sensor .so file in your device's
> system/lib/hw?
> Did you make any changes in the Android.mk in libsensors directory?
>
>  --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>



-- 
SarikA

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

Reply via email to