Photo Frame software for Mini 2440 (GPL)

paolo
Hi all,
I wrote a GPL image slideshow program for Mini 2440.
I uploaded the source code on
https://sourceforge.net/projects/qt4lab/files/
The purpose of the software is to use the Mini 2440 as a "Photo Frame". 
The executable depends on Qt 4.6.3 and uses JPG plugin. 
I tested it on Linux Kernel 2.6.29 and I think it should work also for
Windows CE (thanks to Qt)

You can see a YouTube example of this program here:
http://www.youtube.com/watch?v=MA1bkipXxkI


Have Fun!
Paolo

paolo
Hi all,
I uploaded on http://sourceforge.net/projects/qt4lab/files/
the binaries of the Photo Frame software.
File pf2440.zip, available on sourceforge, contains the necessary Qt shared
libraries, the executable, the image plugins and a couple of example
images.

pf2440 runs under kernel 2.6.29 and requires Qt 4.6.2

Place all the image you want to see in the slide show in /images directory
and then run

Remember to export following environment vars:

export TSLIB_TSEVENTTYPE=INPUT
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/usr/input/ts
export TSLIB_CALIBFILE=/usr/etc/pointercal
export TSLIB_CONFFILE=/usr/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/lib/ts
export LD_LIBRARY_PATH=/usr/local/Qt/lib
export QTDIR=/usr/local/Qt
export QWS_MOUSE_PROTO=tslib:/usr/input/ts
export QWS_DISPLAY=LinuxFB:mmWidth=310:mmHeight=190

run  ./pf2440 -qws -nomouse from a telnet session

If you have any question or request please, leave a comment.

Have Fun!
Paolo

Vinicius
why the -nomouse?

paolo
Because you don't need it and the software is an infinite slideshow loop.

mindee
why export TSLIB_TSDEVICE=/usr/input/ts
why not /dev/input/ts ?
I have no Qt4 in my board, and can not run it.

thanks

mindee

paolo
@mindee
together with the executable, I packed -in the zip file- all the Qt
libraries, I think it should work on your Mini 2440.
Concerning TSLIB_TSDEVICE=/usr/input/ts it seems I made a mistake writing
the post... 
I made some test with /dev/input/event0 and it's ok.

Thanks
paolo

amine_helou
Hi Paolo

Thank you for your posts.
After configuring the QWS_DISPLAY with the command export
QWS_DISPLAY=LinuxFB:mmWidth=310:mmHeight=190 (i have a 3" lcd) i run my
application and i got  a segmentation fault. if i comment export
QWS_DISPLAY=LinuxFB:mmWidth=310:mmHeight=190 i can run my app but with out
touch screen. I know that the tslib is installed becouse when i put a cat
/dev/event0 i got some trash in the lcd.

i´ve have installed already the tslib at my host computer and follow every
step to configure it. 

I dont know what else to do.

Please help me with some post to configure it.

Thanks in advance

Sorry for my bad english.

jasonhor
hi,

nice app you have.
but i having problem to run the photo frame.


[root@FriendlyARM ytl]# ./pf2440 -qws -nomouse
./pf2440: error while loading shared libraries: libQtGui.so.4: cannot open
shared object file: No such file or directory

any idea?

jasonhor
Solved the libQtGui.so.4 issue, but now come with new eror


[root@FriendlyARM distrib]# ./pf2440 -qws -nomouse
Bus error

hani
hi @jasonhor
how you solved libQtGui.so.4. why this error occured ?