Imx8qxp sensor hal function not enable

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Imx8qxp sensor hal function not enable

1,253 Views
yifei_ren
Contributor III

Hello , NXPer: 

When using imx8qxp developing Sensor module, I meet some problems:

Q1 : 

 I check Android logcat found  sensorservice can not connect to hal, log as below:

-------------------------

11-27 00:50:46.489 W 1494 1494 hwservicemanager: getTransport: Cannot find entry android.hardware.sensors@1.0::ISensors/default in either framework or device manifest.

-------------------------

Is this normal ?

How can i fix it?

Q2:

About below folder, how can i add those function to current sensor hal ?

/vendor/nxp-opensource/imx/libsensors/

/vendor/nxp-opensource/imx/linsensors_sensorhub/

Our platfrom is imx8qxp ,Android version is p9.0.0_2.1.0-auto-ga. 

0 Kudos
2 Replies

1,088 Views
yifei_ren
Contributor III

I already fixed this issue, thanks.

1,088 Views
nandish_sg
Contributor I

Hello Yifei ren,

can you please let me know what changes you done for adding the sensor in HAL layer,

because i want to add the lsm9ds1 IMU sensor to imx6q Android 8.0, In driver level it is working fine but i need to confiugre the HAL layer source respect to the Sensor, if you any idea please let me know,

Best regards 

SGN

0 Kudos