ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Qt/Embedded - almost there!

To:
Subject: Re: [ts-7000] Re: Qt/Embedded - almost there!
From: Scott Zimmerman <>
Date: Tue, 18 Aug 2009 18:19:46 -0700


Okay,

I'm booted over NFS and I see all the files.  I can actually run ts_calibrate and ts_test and my helloworld program but they all error out. :(

Here's what I'm seeing:

./ts_calibrate
ts_open: No such file or directory

./ts_test
/dev/input/event0: No such file or directory

./qhw #My Qt Hello World
./qhw: error while loading shared libraries: libts-0.0.so.0: cannot open shared object file: No such file or directory

I have verified that all the libraries are where they are supposed to be in the filesystem, so it looks like I'm blowing the environment variable for TS.

Here's what I have:

#added this for tslib
export TSLIB_TSEVENTTYPE=H3600
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_CALIBFILE=/usr/etc/pointercal
export TSLIB_CONFFILE=/usr/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/local/linux-arm/lib/ts
export QWS_MOUSE_PROTO=Tslib

Here is my ts.conf file
module_raw input
module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear

I looked in my /dev directory and I don't see the fb0 device or the input/event0 file.  Also, there is no /usr/etc/pointercal file (I'm assuming this one gets created by ts_calibrate).

Any clues?  I know I had to build the framebuffer stuff to get Qt to compile, but do I need to rebuild it on the 7390 board to get an fb0 device?  I'm running all of this from the serial console assuming that when things finally run they will actually display on the touchscreen.

Thanks!

...Zz

On Tue, Aug 18, 2009 at 2:45 PM, Doug <> wrote:
 

--- In ts-7000%40yahoogroups.com, Scott Zimmerman <> wrote:
> /linuxrc: exec: line 89: ./usr/sbin/chroot: not found
>
> I guess that's expected since I killed his libraries. So what did I do
> wrong? Can I run my Qt app from the fastboot shell? Or did I replace the
> wrong libs?

Hey Scott,

Nice work! You're exactly right. Replacing the sysroot killed the Debian libraries, so the full Debian boot won't work now. But, that's really a good thing. You don't have to bother going into the whole Debian now...you can just run your Qt app right from fastboot.

You'll have to set all those environment variables that Donal mentions in his blog for tslib, and QWS_MOUSE_PROTO and all that.

You're almost there!




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU