ads

Affichage des articles dont le libellé est Sensors. Afficher tous les articles
Affichage des articles dont le libellé est Sensors. Afficher tous les articles

lundi 21 septembre 2015

IR sensors visible.



Are the IR sensors for Moto Display always visible when the screen is off and the room is dark. I've had the phone about a week, and I'm just now noticing this.

Sent from my Moto X Pure Edition using Tapatalk



vendredi 18 septembre 2015

How to install a custom ROM so that the sensors are working / what ROM to use?



Hi guys. I'm a noob so please bare with me. This was the first time for me ever doing this kind of stuff to my phone.

I got annoyed with the laggines of my E975 and gave a shot for installing a custom ROM. I rooted the phone, unlocked bootloader, flashed TWRP and installed this ([ROM][OFFICIAL][5.1.1][GEEHRC] XenonHD 5.1 Stable/Weekly).

Everything went fine this far but then I noticed that the sensors weren't working. So I searched for advice and got my sensors back in game with the help of this post. That being, I'm back where I started.

The question is, can I install the XenonHD ROM in a way that the phone's sensors do work after the installation? I fell in love with the overall experience and smoothness of that particular ROM and would like to use it in the future. Or is there another ROM I could use that would work on my phone and give a similar user experience?

The phone is running Kitkat 4.4.2 and I guess that the firmware version is V20A.



samedi 12 septembre 2015

Losing Sensors on my Nexus 7



I'm losing data from several sensors after a while and I don't know, I use stock ROM with the boot-ts10 patch for the touch screen. I did a factory reset and installed everything new. Most current ROM LMY48M. A reboot of the devices fixes the issue for the time being.

It is very annoying, especially when the accelerometer shuts down for no visible reason. In my logcat I could find this:

---snip---
W/qcom_sensors_hal( 542): hal_sensor1_data_cb: SENSOR1_MSG_TYPE_BROKEN_PIPE
E/Diag_Lib(19534): Diag_LSM_Init: Failed to open handle to diag driver, error = 2
E/Sensors (19534): sns_fsa_la.c(386):fsa: fflush failed, 9
E/Sensors (19534): sns_fsa_la.c(386):fsa: fflush failed, 9
W/Sensors (19534): sns_smr_la.c(446):smr_la: smr_apps_la_thread_main is starting, fd=11, sns_smr.en_rx_msg_ptr=b6f279d0
W/Sensors (19534): sns_sam_app.c(6827):sns_sam_reg_algo: Registering algo service 16, err 0
E/Sensors (19534): sns_debug_main.c(565):Debug Config File missing in EFS!
---snip----

Later it says things like:
W/qcom_sensors_hal( 542): hal_acquire_resources, no active sensors!
W/qcom_sensors_hal( 542): _hal_sensors_activate: Deactivating dirty sensor 0

and

E/qcom_sensors_hal( 542): hal_process_report_resp: Result: 1, Error: 5
E/qcom_sensors_hal( 542): hal_process_report_resp: 6 Error: 4 Reason: 16
E/qcom_sensors_hal( 542): hal_acquire_resources, hal_smgr_report_add() failed, handle=6
E/qcom_sensors_hal( 542): hal_process_report_resp: Result: 1, Error: 5
E/qcom_sensors_hal( 542): hal_process_report_resp: 9 Error: 4 Reason: 16
E/qcom_sensors_hal( 542): hal_acquire_resources, hal_smgr_report_add() failed, handle=9
E/qcom_sensors_hal( 542): hal_process_report_ind: Bad item quality: 11
E/qcom_sensors_hal( 542): hal_process_report_ind: Bad item quality: 11
E/qcom_sensors_hal( 542): hal_process_report_ind: Bad item quality: 11
E/qcom_sensors_hal( 542): hal_process_report_ind: Bad item quality: 11
E/qcom_sensors_hal( 542): hal_process_report_ind: Bad item quality: 11
E/qcom_sensors_hal( 542): hal_process_report_ind: Bad item quality: 11
E/qcom_sensors_hal( 542): hal_process_report_ind: Bad item quality: 11
E/qcom_sensors_hal( 542): hal_process_report_ind: Bad item quality: 11
E/qcom_sensors_hal( 542): hal_process_report_ind: Bad item quality: 11
E/qcom_sensors_hal( 542): hal_process_report_ind: Bad item quality: 11
E/qcom_sensors_hal( 542): hal_process_report_ind: Bad item quality: 11



vendredi 11 septembre 2015

How do these sensors work?



So there's two ir at the bottom and one at the top. When I wave my hand by the front it wakes up the moto display but when I wave it by the bottom ones nothing happens? I do see the red or lights on them. But are the bottoms ones supposed to be for something els

Sent from my XT1575 using Tapatalk



IR Sensors API



First off, a little background.
The first few days after buying the Moto X I found MotoDisplay a little too sensitive and, to be honest, a little annoying that it would turn on all the time, but after a while I started getting used to it and subconsciously dependent on the way it works.
A few days ago I remembered using an application on my galaxy nexus which kind of did the same thing, and so I tried replacing MotoDisplay with one of the alternatives from the playstore. I chose AcDisplay and I really liked most of it's features (it's animations are beautiful). Except it doesn't use the IR sensors.
AcDisplay being an open source project, I thought to my self "I could probably implement a feature similar to MotoDisplay's extremely sensitive wave to wake up". So I looked for examples on how to use the IR Sensors and found none. I looked for an SDK/API and found nothing. I've looked at motorola's github and none of the repositories seemed to be what I wanted.

So the question is, how can I make a program that makes use of the Moto Xs IR sensors? Are there any resources on how to use them, or is this feature closed source and I'm not supposed to use it?
Apparently, apart from the official MotoDisplay, the only other project making use of these sensors is CM12 (which I haven't tried myself), which leads me to believe that it's not as simple as using the other, more common, sensors.



mercredi 9 septembre 2015

samedi 29 août 2015

Proximity & Light sensors broken?



Hi guys, looking for some suggestions.

My Proximity & Light Sensors have stopped working - and not sure what else to try. I have tried the following:
  • Flashed CM11S

  • Flashed CMOS12 & CMOS12.1

  • Flashed Modems individually (for relavent rom) - and tried Oxygen


If I try this app - it tells me there's no sensor available on my phone.

Looking for any other suggestions really. How likely is it that the sensors have just failed?

I've also emailed Oneplus support - but don't hold out much hope for a prompt or useful reply (looking at other peoples experiences!)

Thanks in advance.



jeudi 27 août 2015

Fix storages and sensors for pac man rom kitkat






Can I fake LG G3 incoming sensors data ?



Hello everyone! I am having some trouble with LG G3 sensors...

Context :

Most of my LG G3 sensors are broken following a water damage.

The main problem is the broken auto-rotation sensor that prevent me of taking photos in landscape mode.

I known some applications (play.google.com/store/apps/details?id=org.crape.rotationcontrol) allow to manually set phone rotation to landscape but it is not what I am searching because it not working on the stock Camera application (witch use auto-rotation sensor to define the orientation of the phone).


Question :

Is that possible to fake data incoming from the auto-rotation sensor to make the phone think it is held horizontally ?
My phone is rooted, is that possible using a Terminal an application or anything else ?

Thanks in advance for your help.