Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-18-2009, 06:48 PM   #16
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 973
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Just tried to stop Xfbdev and the result is:

1. kill -STOP "pid of Xfbdev" can stop it.
2. My QT/E demo program will show on the screen after executing displayMgrClient. When I executed the demo program from contentlister, there will be a status bar on the lower bottom of screen (the same place of pagebar) showing the progress of execution. The status bar will keep rolling even after Xfbdev stopped.
3. Touch screen still not available. I expected that the cursor will move if I tap the screen with touchpen and do a refresh, but the cursor just didn't move at all.
4. After quitting demo program, kill -CONT "pid of Xfbdev" will restore the Xfbdev process.

So, what am I missing to get tslib working on QT/E?

Last edited by ericshliao; 10-18-2009 at 08:04 PM.
ericshliao is offline   Reply With Quote
Old 02-28-2010, 10:41 AM   #17
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 973
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Still, touch screen is not working for QT/E application.
I got the following error:
Code:
QWSTslibMouseHandlerPrivate: ts_open() failed with error: 'No such file or directory'
Please check your tslib installation!
This is my script to run QT/E demo program:
Quote:
export scriptdir=`/usr/bin/dirname $0`
export QTDIR=/usr/local/Trolltech/QtEmbedded-4.5.3-arm
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH:/usr/lib
export HOME=$scriptdir
export TSLIB_TSDEVICE=/dev/input/event0
export QWS_MOUSE_PROTO=Tslib:/dev/intput/event0
export TSLIB_PLUGINDIR=/usr/lib/ts
export TSLIB_CONSOLEDEVICE=none
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_FBDEVICE=/dev/fb0
#export TS_INFO_FILE=/sys/devices/virtual/input/input0/uevent
#export QWS_KEYBOARD=TTY:/dev/tty1

cd $scriptdir
./application -qws
ericshliao is offline   Reply With Quote
Old 02-28-2010, 11:15 AM   #18
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 973
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Seeing this post (http://forum.irexnet.com/viewtopic.p...r=asc&start=45), If I change:

export TSLIB_TSDEVICE=/dev/input/event0
export QWS_MOUSE_PROTO=Tslib:/dev/intput/event0

to:
export TSLIB_TSDEVICE=/dev/ttyS0
export QWS_MOUSE_PROTO=Tslib:/dev/ttyS0

The previous error message was gone, but I got:
Unable to lock port: Resource temporarily unavailable


It seems that the port of displayMgr is blocked because when I tried to execute displayMgr, I got:
(W)displayMgr.c:250,main() ePaper daemon (displayMgr 0.212)
(W)displayMgr.c:255,main() Display Manager is accessible to local processes only.
Error invoking bind: Address already in use

Added:
OOPS! I made a mistake. I should call displayMgrClient, not dispalyMgr.

Added 2:
Since the ts-related config is already in /home/root/start.sh, it should be un-necessary to modify it.

Last edited by ericshliao; 02-28-2010 at 11:38 AM.
ericshliao is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iLiad Enable non-embedded font pdf on iLiad ericshliao iRex Developer's Corner 7 06-20-2010 01:51 PM
embedded spaces rikm Calibre 1 06-03-2010 03:08 PM
iPad Embedded Fonts JSWolf Apple Devices 24 04-26-2010 02:41 PM
Why doesn't the Iliad play to it's strengths? pdam iRex 25 10-15-2006 12:23 PM


All times are GMT -4. The time now is 12:09 PM.


MobileRead.com is a privately owned, operated and funded community.