[android-porting] Accelerometer Porting

2019-12-02 Thread Gianmaria Iaculo
Good morning, I need a little help with accelerometer porting, I'm new to this task and right now I'm a little bit confused. I've read the documentation on Google Sensors Stack here: https://source.android.com/devices/sensors/sensor-stack but I'm not able to go ahead. Actually I've my accelerom

Re: [android-porting] Accelerometer Porting

2019-12-03 Thread Tranphong Vu
Hi Gianmaria, You need a HAL sensor implement to let Android system know that there is sensor in kernel. You can refer to this HAL sensor implement http://androidxref.com/9.0.0_r3/xref/hardware/invensense/65xx/ Thanks, Vu Tran Vào Th 2, 2 thg 12, 2019 vào lúc 21:54 Gianmaria Iaculo < gianmari..

Re: [android-porting] Accelerometer Porting

2019-12-06 Thread Gianmaria Iaculo
Thank you, i used the implementation you suggested. Now I have a sensors.imx8.so compiled, and present in /vendor/lib/hw, but anyway no accelerometers were detected by android... what are the next steps? :( Regards, Gianmaria Il giorno martedì 3 dicembre 2019 20:48:03 UTC+1, Tranphong Vu ha s