<div dir="ltr"><div>ok, I'll have a look. I'll make some notes and send it to the list if I find something.<br><br></div>Lionel<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 2 April 2014 06:15, Dr. H. Nikolaus Schaller <span dir="ltr"><<a href="mailto:hns@goldelico.com" target="_blank">hns@goldelico.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div>Am 02.04.2014 um 03:17 schrieb L. B.:</div><div><div class="h5"><br><blockquote type="cite">
<div dir="ltr"><div><div>Hi,<br><br></div>I'd like to play with the compass but the info from the documentation page does not correspond with what I got on my phone (using qtmoko v58). The page I use is that one:<br><a href="http://projects.goldelico.com/p/gta04-kernel/page/Sensors/" target="_blank">http://projects.goldelico.com/p/gta04-kernel/page/Sensors/</a><br>

<br></div>In the 'compass' section there is a switch to enable/disable sampling. On my phone there is a directory <br><pre><code>/sys/bus/i2c/devices/i2c-2/2-001e/</code></pre><div><div>but there is no 'rate' file in there. Same applies for the gyroscope.<br>

</div><div>Has anything been changed?<br></div></div></div></blockquote><div><br></div></div></div>No. The kenrel doc is for the Goldelico kernels which were 2.6.32 some years ago and now reflect the drivers of 3.12 (ff).</div>
<div><br></div><div>QtMoko AFAIK uses a 3.7 kernel and since the /sys node names are not stable (and never will be) you might have to do a little guesswork and look into the 3.7 kernel source code to find out how the driver works.</div>
<div><br></div><div>Hope this helps,</div><div>Nikolaus</div><div><br></div></div><br>_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
<br></blockquote></div><br></div>