Alok,

I only did the work with Donut..but will be migrating my code over to
Eclair sometime soon and I will need to port TSLIB there as well..and
I'll publish whatever changes I make..

Regards
-- Ashwin



On Wed, Apr 14, 2010 at 8:44 AM, Alok <moondra.a...@gmail.com> wrote:
> Hi Deva/Ashwin
> Is tslib port available for eclair also ?
>
> Regards
> Alok
>
> On Apr 9, 2:15 pm, Deva R <r.deva...@gmail.com> wrote:
>> Hi,
>>
>> looks like you are missing completeTSLIBpackage..
>>
>> can you port completeTSLIBand update android UI libarary, from below
>> location (its donut based)?
>>
>> TSLIB-http://gitorious.org/android-omap3logic/external-tslib
>> Android Changes -http://gitorious.org/android-omap3logic/frameworks-base
>>
>>
>>
>> On Fri, Apr 9, 2010 at 2:21 PM, Gokul Nagarajan <nagarajan1...@gmail.com> 
>> wrote:
>>
>> > Hi Kanru,
>>
>> > We applied patch 
>> > ofhttps://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base...
>>
>> > Once we compile we got below error.Please help us.
>>
>> > Copying out/target/common/obj/APPS/ContactsProvider_intermediates/
>> > classes-full-debug.jar
>> > Install: out/target/product/generic/system/app/ContactsProvider.apk
>> > Copying out/target/common/obj/APPS/Development_intermediates/classes-
>> > full-debug.jar
>> > Install: out/target/product/generic/system/app/Development.apk
>> > Copying out/target/common/obj/APPS/DownloadProvider_intermediates/
>> > classes-full-debug.jar
>> > Install: out/target/product/generic/system/app/DownloadProvider.apk
>> > Copying out/target/common/obj/APPS/DrmProvider_intermediates/classes-
>> > full-debug.jar
>> > Install: out/target/product/generic/system/app/DrmProvider.apk
>> > Copying out/target/common/obj/APPS/GlobalSearch_intermediates/classes-
>> > full-debug.jar
>> > Install: out/target/product/generic/system/app/GlobalSearch.apk
>> > Copying out/target/common/obj/APPS/GoogleSearch_intermediates/classes-
>> > full-debug.jar
>> > Install: out/target/product/generic/system/app/GoogleSearch.apk
>> > Copying out/target/common/obj/APPS/HTMLViewer_intermediates/classes-
>> > full-debug.jar
>> > Install: out/target/product/generic/system/app/HTMLViewer.apk
>> > target Non-prelinked: libicudata-us (out/target/product/generic/
>> > symbols/system/lib/libicudata.so)
>> > target thumb C++: libui <= frameworks/base/libs/ui/EventHub.cpp
>> > In file included from frameworks/base/libs/ui/EventHub.cpp:19:
>> > frameworks/base/include/ui/ITSLib.h:8:19: error:tslib.h: No such file
>> > or directory
>> > In file included from frameworks/base/include/ui/ITSLib.h:9,
>> >                 from frameworks/base/libs/ui/EventHub.cpp:19:
>> > frameworks/base/include/ui/IInputDriver.h:24: warning: 'class
>> > android::IInputDriver' has virtual functions but non-virtual
>> > destructor
>> > frameworks/base/libs/ui/EventHub.cpp:73: error: prototype for
>> > 'android::EventHub::device_t::device_t(int32_t, const char*)' does not
>> > match any in class 'android::EventHub::device_t'
>> > frameworks/base/include/ui/EventHub.h:116: error: candidates are:
>> > android::EventHub::device_t::device_t(const
>> > android::EventHub::device_t&)
>> > frameworks/base/include/ui/EventHub.h:126: error:
>> > android::EventHub::device_t::device_t(int32_t, const char*, const
>> > char*)
>> > frameworks/base/libs/ui/EventHub.cpp: In constructor
>> > 'android::EventHub::device_t::device_t(int32_t, const char*)':
>> > frameworks/base/libs/ui/EventHub.cpp:75: error: class
>> > 'android::EventHub::device_t' does not have any field named 'driver'
>> > frameworks/base/libs/ui/EventHub.cpp: At global scope:
>> > frameworks/base/libs/ui/EventHub.cpp:104: error: no 'void
>> > android::EventHub::onFirstRef()' member function declared in class
>> > 'android::EventHub'
>> > frameworks/base/libs/ui/EventHub.cpp:256: error: prototype for 'bool
>> > android::EventHub::getEvent(android::InEvent*)' does not match any in
>> > class 'android::EventHub'
>> > frameworks/base/include/ui/EventHub.h:100: error: candidate is:
>> > virtual bool android::EventHub::getEvent(int32_t*, int32_t*, int32_t*,
>> > int32_t*, uint32_t*, int32_t*, nsecs_t*)
>> > frameworks/base/libs/ui/EventHub.cpp: In member function 'bool
>> > android::EventHub::getEvent(android::InEvent*)':
>> > frameworks/base/libs/ui/EventHub.cpp:318: error: 'struct
>> > android::EventHub::device_t' has no member named 'driver'
>> > frameworks/base/libs/ui/EventHub.cpp:319: error: 'struct
>> > android::EventHub::device_t' has no member named 'driver'
>> > frameworks/base/libs/ui/EventHub.cpp: In member function 'int
>> > android::EventHub::open_device(const char*)':
>> > frameworks/base/libs/ui/EventHub.cpp:536: error: no matching function
>> > for call to 'android::EventHub::device_t::device_t(unsigned int, const
>> > char*&)'
>> > frameworks/base/include/ui/EventHub.h:126: note: candidates are:
>> > android::EventHub::device_t::device_t(int32_t, const char*, const
>> > char*)
>> > frameworks/base/include/ui/EventHub.h:116: note:
>> > android::EventHub::device_t::device_t(const
>> > android::EventHub::device_t&)
>> > frameworks/base/libs/ui/EventHub.cpp:596: error: 'struct
>> > android::EventHub::device_t' has no member named 'driver'
>> > frameworks/base/libs/ui/EventHub.cpp:597: error: 'struct
>> > android::EventHub::device_t' has no member named 'driver'
>> > frameworks/base/libs/ui/EventHub.cpp:597: error: 'struct
>> > android::EventHub::device_t' has no member named 'driver'
>> > frameworks/base/libs/ui/EventHub.cpp:598: error: 'struct
>> > android::EventHub::device_t' has no member named 'driver'
>> > frameworks/base/libs/ui/EventHub.cpp:599: error: 'struct
>> > android::EventHub::device_t' has no member named 'driver'
>> > make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/
>> > libui_intermediates/EventHub.o] Error 1
>>
>> > Regards
>> > --Gokul
>>
>> > On Apr 8, 1:11 pm, Kan-Ru Chen <ka...@0xlab.org> wrote:
>> >> Hi Gokul,
>>
>> >> You have to integrate thetslibto EventHub.
>> >> Here is the 
>> >> example:https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base...
>>
>> >> Regards,
>> >> Kanruhttp://0xlab.org
>>
>> >> On Thu, Apr 8, 2010 at 4:02 PM, Gokul Nagarajan <nagarajan1...@gmail.com> 
>> >> wrote:
>> >> > Hi Ashwin,
>>
>> >> > Once we run the ts_calibrate apllication,we test the touchscreen
>> >> > through ts_test appplication.It works fine. But Android doesn't sense
>> >> > it.
>> >> > Please support us.
>>
>> >> > Regards,
>> >> > Gokul
>>
>> >> > On Apr 7, 12:58 pm, Gokul Nagarajan <nagarajan1...@gmail.com> wrote:
>> >> >> Hi
>>
>> >> >> We run the "getevent" from the terminal and from that  we have set
>> >> >> TSLIB_TSDEVICE to /dev/input/event1.
>> >> >> Then we run the ts_calibrate application and the calibrate values were
>> >> >> found in /system/etc/pointercal.
>> >> >> But still if we press on the Menu's in the Android,it didnt able to
>> >> >> sense it
>>
>> >> >> ---Gokul
>>
>> >> >> On Apr 6, 9:47 pm, Ashwin Bihari <abih...@gmail.com> wrote:
>>
>> >> >> > The ts_calibrate only needs to be run once and the output of that
>> >> >> > should be saved in the file /system/etc/pointercal. This will be the
>> >> >> > file that the TLSIB within Android will use to scale the inputs.
>>
>> >> >> > Run the "getevent" at the serial port and check what thetouchscreen
>> >> >> > input device is and you'll need to add the TSLIB_TSDEVICE environment
>> >> >> > variable in your init.rc file to set it properly forTSLIBto use..
>>
>> >> >> > Regards
>> >> >> > -- Ashwin
>>
>> >> >> > On Tue, Apr 6, 2010 at 10:42 AM, Gokul Nagarajan
>>
>> >> >> > <nagarajan1...@gmail.com> wrote:
>> >> >> > > Hi Ashwin,
>>
>> >> >> > > We are running ts_calibrate application once after Android boots 
>> >> >> > > up.
>>
>> >> >> > > Once it is done,we are touching the menu's in the Android Screen, 
>> >> >> > > but
>> >> >> > > it doesnt sense it.
>> >> >> > > Please support us.
>>
>> >> >> > > With regards
>> >> >> > > Gokul
>>
>> >> >> > > On Apr 6, 7:13 pm, Deva R <r.deva...@gmail.com> wrote:
>> >> >> > >> Hi,
>>
>> >> >> > >> You need to run ./ts_calibrate to store the calibrated data to
>> >> >> > >> /etc/<calibration> file..
>>
>> >> >> > >> referhttp://www.opentom.org/Tslib
>>
>> >> >> > >> On Tue, Apr 6, 2010 at 7:28 PM, Fasil <mfasi...@gmail.com> wrote:
>> >> >> > >> > Hi Ashwin
>>
>> >> >> > >> > We are able to calibrate theTouchscreenin Android.We are able to
>> >> >> > >> > run the ts_test application.It works fine.
>>
>> >> >> > >> > After reboot, Android doesnt able to sense it.
>> >> >> > >> > Is it manually we have to pass those calibrated data to Android 
>> >> >> > >> > ?
>>
>> >> >> > >> > Thanks
>> >> >> > >> > Fasil
>>
>> >> >> > >> > On Apr 6, 5:40 pm, Ashwin Bihari <abih...@gmail.com> wrote:
>> >> >> > >> >> Fasil,
>>
>> >> >> > >> >> You'll need to do the following:
>> >> >> > >> >>     export TSLIB_CONSOLEDEVICE none
>> >> >> > >> >>     export TSLIB_FBDEVICE /dev/graphics/fb0
>> >> >> > >> >>     export TSLIB_TSDEVICE /dev/input/event2
>> >> >> > >> >>     export TSLIB_CALIBFILE /etc/pointercal
>> >> >> > >> >>     export TSLIB_CONFFILE /etc/ts.conf
>> >> >> > >> >>     export TSLIB_PLUGINDIR /system/lib/ts
>>
>> >> >> > >> >> You may have to set the TSLIB_TSDEVICE to be the right one on 
>> >> >> > >> >> your
>> >> >> > >> >> target. Realize that trying to run ts_calibrate while Android 
>> >> >> > >> >> is
>> >> >> > >> >> already up and running means that you'll haveTSLIBand Android
>> >> >> > >> >> fighting to shove their data to the framebuffer and through it 
>> >> >> > >> >> to the
>> >> >> > >> >> screen.
>>
>> >> >> > >> >> I'm going to be adding a new calibration application to my
>> >> >> > >> >> android-omap3logic project to hopefully help with this..
>>
>> >> >> > >> >> Regards
>> >> >> > >> >> -- Ashwin
>>
>> >> >> > >> >> On Tue, Apr 6, 2010 at 7:35 AM, Fasil <mfasi...@gmail.com> 
>> >> >> > >> >> wrote:
>> >> >> > >> >> > Hi Deva,Ashwin,
>>
>> >> >> > >> >> >           Thanks for your valuable inputs, I got the 
>> >> >> > >> >> > successful
>> >> >> > >> >> > build. But When I tried in the target I got the following 
>> >> >> > >> >> > error. Any
>> >> >> > >> >> > suggestion for the cause ...
>>
>> >> >> > >> >> > # ./system/bin/ts_calibrate
>> >> >> > >> >> > open fbdevice: No such file or directory
>> >> >> > >> >> > #
>>
>> >> >> > >> >> > Thanks
>> >> >> > >> >> > Fasil
>>
>> >> >> > >> >> > On Apr 6, 12:54 pm, Deva R <r.deva...@gmail.com> wrote:
>> >> >> > >> >> >> HI,
>> >> >> > >> >> >>tslibis in actualTSLIBlibrary source path..
>>
>> >> >> > >> >> >> link:http://gitorious.org/android-omap3logic/external-tslib/trees/9ba15a66...
>>
>> >> >> > >> >> >> >Android 1.6, you can check them out at:
>> >> >> > >> >> >> >TSLIB-http://gitorious.org/android-omap3logic/external-tslib
>> >> >> > >> >> >> >Android Changes 
>> >> >> > >> >> >> >-http://gitorious.org/android-omap3logic/frameworks-base
>>
>> >> >> > >> >> >> As per Ashwin's mail, you should do below steps in your 
>> >> >> > >> >> >> <android>/ folder..
>> >> >> > >> >> >> Copy 
>> >> >> > >> >> >> completehttp://gitorious.org/android-omap3logic/frameworks-base
>>
>> ...
>>
>> read more »- Hide quoted text -
>>
>> - Show quoted text -
>
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to