10-03-2008, 09:51 AM | #31 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
|
10-03-2008, 04:51 PM | #32 |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Including xepdmgrclient.h (land linking with xepdmgrclient.o) is only necessary if you want to fine-tune from the program the refreshes using the API in that file. For the general case, there is no need for that file.
|
10-03-2008, 04:56 PM | #33 | |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
I write it down as another known bug (hoping it's squashed soon...). |
|
10-04-2008, 04:32 AM | #34 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2008
Device: iliad 2nd edition
|
Hello , Adam, Antartica, all you great guys, could anyone guide me on how to change the firmware_SCRIPT of the iliad 2v from 2.11 to 2.12. I'm trying to install minimo for web browsing. Thanks in advance.
|
10-04-2008, 06:16 PM | #35 |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Verion 1.3 of xepdmgr
Hi!
Attached is version 1.3 of xepdmgr. I've hopefully fixed the multiple tracked areas bugs (and set the number of tracked areas to a very conservative 2). I've also fixed the help message. I've been unable to reproduce the bug with the timeouts that Hansel was experiencing :-?. Hansel: Can you test if the timeout problem does occur also in the iliad? (launch xepdmgr from a ssh session...) OTOH, do you have some special kernel in your laptop (i.e. tickless?). Adam: Can you test if the refresh problem you were experiencing goes away? Thanks. Waiting feedback O:-). Thank you very very much for all your testing . |
10-05-2008, 04:06 AM | #36 |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
okidoki
Antartica: 1.3 works fine!
- locally on my laptop, - xepdmgr on laptop, display iliad:0. - locally on iliad Nice Work! to All: performance aspects when porting: - when the display does'nt change -> no cpu usage! - when I have a blinking cursor in my app, the screen updates (typing) cause displayMgr to eat 45% cpu. ==> disable cursor blinking if you can! |
10-05-2008, 12:30 PM | #37 | |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
virtual keyboard info
Quote:
The keyboard is found by searching for a window with the appropriate class: Code:
WM_CLASS(STRING) = "ereaderim", "Matchbox-keyboard" |
|
10-05-2008, 03:50 PM | #38 | |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
I know how to receive events on new windows and window destruction, so this code would be attached there. When I decide how to handle the "don't care" area (that ism how to discard the part of rectangles that use this ignored area), I'll post a new version of xepdmgr with this :-). |
|
10-06-2008, 02:55 AM | #39 | ||
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
Quote:
Quote:
|
||
10-23-2008, 01:41 AM | #40 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
I have a problem of redirecting output under xepdmgr.
I want to print output of myapp to a file, not that of xepdmgr. But with this shell command:./xepdmgr :0 ./myapp 2>&1 > out.msg, I can only catch output of xepdmgr. Of course, I can create a FILE descriptor and fprintf all output to that file. I just want to know if I can do it with proper shell command. Thanx. |
10-23-2008, 03:22 AM | #41 | |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
$ cat /dev/tty > myapp.sh #!/bin/sh exec ./myapp 2>&1 >out.msg ^D $ chmod 755 myapp.sh $ xepdmgr :0 ./myapp.sh And you will have the output of your program in out.msg But you have raised a valid point. I will include in the next version of xepdmgr support for a "-q" command-line flag to make it "quiet" (don't output messages to stdout/stderr). |
|
10-23-2008, 05:10 AM | #42 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Thanx. But it doesn't work. I can't start myapp.
I used a script run.sh to call myapp.sh, so that I can run it from contentlister. |
10-23-2008, 08:22 AM | #43 | |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
Try with: Code:
#!/bin/sh /path/to/myapp/myapp 2>err.log >out.log |
|
10-24-2008, 01:39 AM | #44 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Thanx, Antartica.
I still can't get stdout print to out.log. stderr is ok. There must be something wrong with my script. Anyway, this is a shell script probelm, not a problem of xepdmgr. I decide to hard-code stdout and stderr redirect and control it by command line option. |
11-14-2008, 11:07 PM | #45 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
I just found a flickering probelm, which might has something to do with pthread.
I wrote a viewer to display image contained in GtkViewport. If the image is larger than screen, the viewport will be scrollable. In the meantime, a pthread is created to load next image in background. The pthread routine is simple. It just loads a image file to GdkPixbuf , no GUI is affected. The problem is: when I scroll viewport, the screen will refresh two times in a second, even thoug the first refresh has already displayed a correct image. That is, the second refresh is redundant. If I disable preload next image, no flicker will occur. Besides, flickering only occurs when scrolling viewport. There is no flickering when switching between image files. I am not sure if it's caused by xepdmgr or by GTK+. Added: It seems that the first refresh only display the intermediate, not the final position. For example, the viewport is designed to display the right most part of a image file, then scroll to display the left most part. Sometimes, the first refresh display the part between rightmost and leftmost. But, most of the time, the first refresh already scroll to the left most part. Added Part 2: Sorry to make things confusing. I made some mistake. Flickering occurred between shifting from one image to another image, not when scrolling viewport within a image. Last edited by ericshliao; 11-15-2008 at 06:20 AM. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Psychological Approach | shalini_singh | Lounge | 5 | 09-09-2009 04:33 AM |
New to Sony Reader - Best Approach | kougei | Sony Reader | 11 | 12-23-2008 10:42 PM |
iLiad xepdmgr algorithms dicussion thread | Antartica | iRex Developer's Corner | 14 | 11-17-2008 10:36 AM |
emelFM2 0.41 with xepdmgr | ericshliao | iRex | 0 | 10-06-2008 10:25 AM |
iLiad libX11.so.6, auto refresh | hansel | iRex Developer's Corner | 7 | 09-20-2008 08:40 AM |