[android-porting] Re: Sensor porting HAL

2014-04-17 Thread Andrew Jones
Hi, Just an update. I have calibrated the accelerometer so that when I do dumpsys sensorservice it shows pretty much the same readings as my Samsung S3 when it's flat on a table, standing upright, on its side, etc, etc. Screen rotate will *not* work though. It just flips 90 degrees once after

[android-porting] Re: Sensor porting HAL

2014-04-16 Thread Andrew Jones
Hi everyone, I'm suffering from the exact same problem as the OP. I ported the MMA7660 accelerometer into the sensors HAL for Android 4.3. If I do a dumpsys sensorservice my readings look reasonable: Sensor List: Freescale 3-axis Accelerometer | Freescale Semiconductor Inc.

[android-porting] Re: Sensor porting HAL

2013-06-14 Thread ffxx68
Nothing was really missing, apart from "calibration". Since parameters for low-pass filtering (to extract gravity; hardcoded in AOSP in *WindowOrientationListener.java*) are based on real m/s^2 acceleration values, having sensor returning values too far from reality made some check functions r

[android-porting] Re: Sensor porting HAL

2013-06-12 Thread ffxx68
Hi, I have ported the BMA220 accelerometer too, as part of this JB porting project: https://groups.google.com/forum/?fromgroups=#!forum/renesas-emev-osp our sensor HAL source code is here: https://github.com/Renesas-EMEV2/Renesas-device_emev/tree/emev-4.1/sensors All seems working "well", a

[android-porting] Re: Sensor porting HAL

2013-06-11 Thread 마재경
Hi, Thanks for your advice. your advice is very helpful for researching. I'll research it and if it'll be clear. I informed it. Thanks. 2013년 5월 29일 수요일 오후 1시 30분 54초 UTC+9, 마재경 님의 말: > Hi, > > > I'm a beginner android user, I ported accelerometer sensor named "BMA250E" > and Board do

Re: [android-porting] Re: Sensor porting HAL

2013-06-04 Thread Ramya Mohan
Hi, Yes, it mostly looks for that kind of name.. If we want it in different name, there will be some other place in frameworks/hardware layer should be modified accordingly.. I am not sure about it. With care Ramya On Fri, May 31, 2013 at 6:10 AM, 마재경 wrote: > Thanks for your advice. > > I a

[android-porting] Re: Sensor porting HAL

2013-05-30 Thread 마재경
Thanks for your advice. I add code about that. I have one question, Only name "sensors.(TARGET_BOARD).so" file is supported as sensor? other names are not? Thanks. 2013년 5월 29일 수요일 오후 1시 30분 54초 UTC+9, 마재경 님의 말: > Hi, > > > I'm a beginner android user, I ported accelerometer sensor named