-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compass returning inaccurate readings #16
Comments
Can anyone else confirm this is an issue on CM7 or CM9 or both? |
I can confirm this occurs in maps also and did not occur in Valhalla. I am also unable to calibrate it out and everything else save the compass is working flawlessly. Compass is way off and I believe my GPS is also suffering from these incorrect readings put out by the compass. I can only sometimes get a lock but it still gets with in 30 meters. |
I also upgraded to CM9, still the same. Also, when I use Compass app made by Catch. As soon as I run it, it displays a message saying that Compass |
Recently, I noticed that if I hold my phone while the screen is facing the ground above my head, the compass will respond to the moving and rotation of the phone, but still gives incorrect readings. If the screen is facing the sky the compass is stuck at fixed point. Dunno if it has anything to do with accelerometer affecting it. seems like one of the axes is flipped, I think it is the Z axis. I could be wrong though. |
Latest Changes in official CM9 upstream should fix the Compass, but it doesn't
http://review.cyanogenmod.com/#/c/14609/Here is a dump of logcat. as you can see, starting from
there is
I don't call my self expert in Android's world, but correct me if I am wrong or ignore my rants about the code. I am not saying the following is wrong, since the code is used for many other devices, but it looks weird to me, Also I suspect the latest changes from m4xm4n in this file about setDelay
LogCat shows
I wonder if delay value supposed to be 60 not 200. |
Can someone else test this possible fix? It's been mostly working for me since I just restored the old KJ6 driver for compass. I've tested it under AOKP 4.0.4 and it works fine in Google Maps and GPS Test although it's a bit laggy. |
i am building; will try |
It seems the compass semi working If I hold the phone in landscape orientation, but doesn't give correct reading. It has been like that since I flashed CM7, I thought it could be magnetic interference.
Z-Device test app shows that Magnetic field Z is way off and even doesn't show on the graph (oscillator, liner or whatever it is called)
Calibrating the compass doesn't change anything. I used different apps all of them the same. It used to be working fine before when I was using Valhalla, if it wasn't just calibrating it would suffice to make it work. But now I can't :/
Google maps doesn't rotate correctly when I start moving in compass mode too..
The text was updated successfully, but these errors were encountered: