No . I have a full test. The code I commented is indeed meaningless and made sensors cannot work...
-----Original Message----- From: android-freerunner-boun...@android.koolu.org [mailto:android-freerunner-boun...@android.koolu.org] On Behalf Of trimar...@retis.sssup.it Sent: Tuesday, August 25, 2009 1:52 AM To: Android on Freerunner Development Subject: Re: [android-freerunner] [PATCH] Got sensors worked on cupcake 1.5 alpha-1 Hi, Def. Quota Serdar Dere <ser...@serdar-dere.net>: > I added the patches of yours compiled the trunk deleted my sd put > the installer and the compiled img files on it and than installed it > on my moko. > > that's the thing I do everytime after compileing. > > William Zheng wrote: >> 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. The only good thing is the owner on init.rc, the ather things are wrong because you don't use the activate function and remove usefull code 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 >> > > _______________________________________________ > 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 _______________________________________________ android-freerunner mailing list android-freerunner@android.koolu.org http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org