maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   The Other Half (https://talk.maemo.org/forumdisplay.php?f=59)
-   -   TOHKBD rev2 (https://talk.maemo.org/showthread.php?t=93156)

peterleinchen 2016-06-18 06:07

Re: TOHKBD rev2
 
Quote:

Originally Posted by zagrim (Post 1507801)
Has anyone had issues with the phone compass when using TOHKBD? Static magnetic field shouldn't affect the calibration but in my experience it does.

Yes! (10 chars)

zagrim 2016-06-19 04:44

Re: TOHKBD rev2
 
Quote:

Originally Posted by rolh (Post 1507802)
It could be that the magnets in TOHKBD are too strong for the Jolla's magnetometer and cause it to saturate. In that case, calibration doesn't help.

D'oh!
I would be great to somehow verify this (not that it would change the fact but it's good to know for certain), but I guess there's no way to access the magnetometer readings outside of kernel... or is there?

rolh 2016-06-19 06:01

Re: TOHKBD rev2
 
Quote:

Originally Posted by zagrim (Post 1507861)
D'oh!
I would be great to somehow verify this (not that it would change the fact but it's good to know for certain), but I guess there's no way to access the magnetometer readings outside of kernel... or is there?

The sensors should be available in userspace. Have a look at, for example, Messwerk [1], it should allow you to visualize (and log) the sensor data.

[1] https://openrepos.net/content/cfr34k/messwerk

zagrim 2016-06-20 03:49

Re: TOHKBD rev2
 
Thanks @rolh for the tip.

Ok, case confirmed with Messwerk. The readings immediately go to the bottom of the scale (which seems to be around -2 mT) when TOHKBD is attached, and don't move from there regardless of the device position. :(

http://onelove.doesntexist.org/~etik...0-06-38-05.png

Well, I can live with that now that I know what it is about...


All times are GMT. The time now is 04:33.

vBulletin® Version 3.8.8