And that,
        1. The default threshold vaule in your source code is 100. It is
very slow for use. The default value should be 18-72 .
        2. The macro CONVERT should be (-1 * GRAVITY_EARTH / LSG). It is
because the X, Y, Z axis value used in android is opposite to the value in
openmoko. I forgot adding this into patch...

-----Original Message-----
From: trimar...@retis.sssup.it [mailto:trimar...@retis.sssup.it] 
Sent: Tuesday, August 25, 2009 2:16 AM
To: Android on Freerunner Development; William Zheng
Cc: 'Android on Freerunner Development'
Subject: Re: [android-freerunner] [PATCH] Got sensors worked on cupcake 1.5
alpha-1

Def. Quota William Zheng <loveheaven_zheng...@hotmail.com>:

> Really? I don't think you changed the init.rc.
> Have you modified the init.rc and rebooted FR again? If you did not change
> the init.rc, the sensors cannot change the threshold of the sensors. You
can
> change the threshold manually: cat 18 >
> /sys/bus/spi/drivers/lis302dl/spi3.1/threshold. Then open your application
> and try again.
> And what application do you use? Please do not use any 3D application. If
> you use 3D, The speed is slow because of the UI not sensors. You can test
> the sensors using Amazed.
> The patch runs well on my FR.

Yes it is possible to slow the threshold and it is correct to change the
chown of the file. I have that modified in my version, but the others change
are wrong. 3d on android?

Michael


>
> -----Original Message-----
> From: android-freerunner-boun...@android.koolu.org
> [mailto:android-freerunner-boun...@android.koolu.org] On Behalf Of Serdar
> Dere
> Sent: Monday, August 24, 2009 5:36 PM
> To: Android on Freerunner Development
> Subject: Re: [android-freerunner] [PATCH] Got sensors worked on cupcake
1.5
> alpha-1
>
> I've tested them on cupcake trunk.
> no change, the sensors are as slow as ever.
>
> William Zheng wrote:
>>
>> Hi All,
>>
>>    Attachment are the patches.
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> android-freerunner mailing list
>> android-freerunner@android.koolu.org
>> http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org
>>
>
> _______________________________________________
> android-freerunner mailing list
> android-freerunner@android.koolu.org
> http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org
>
> _______________________________________________
> android-freerunner mailing list
> android-freerunner@android.koolu.org
> http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
android-freerunner mailing list
android-freerunner@android.koolu.org
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org

Reply via email to