Hi, Please check whether any file in the libsensors directory has a struct defined HAL_MODULE_INFO_SYM...
On Friday, November 4, 2011 7:58:01 PM UTC+5:30, sarika baby wrote: > > Hello, > I am trying to a orientation sensor, so for that i created a new file > OrientSensor.cpp and OrientSensor.h in > mydroid/device/ti/pandaboard/libsensors/ folder ,but while booting i am > getting following errors : > > D/SensorService( 1412): nuSensorService starting... > E/SensorService( 1412):couldn't load sensors module > > what might be the reason. > > Regards > Sarika > > 2011/11/4 Tommy Lu <[email protected] <javascript:>> > >> Hi all, >> I changed the Sensor HAL file and compiled it , and it works!! >> Thanks VCS and other guys! >> >> On 11月4日, 下午1时57分, Chinmay V S <[email protected]> wrote: >> > Definitely! >> > The sensor-lib interfaces have changed starting from Gingerbread(2.3). >> > >> > You might want to hav a look at these files for a reference >> implementation >> > of sensor-HAL on Android2.3: >> > android/device/samsung/crespo/libsensors/ <http://goo.gl/gHCau> >> >> -- >> unsubscribe: [email protected] <javascript:> >> website: http://groups.google.com/group/android-porting >> > > > > -- > SarikA > > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
