Thread: iLiad Partial screen refresh?
View Single Post
Old 09-09-2008, 09:17 AM   #6
illiad_fan
Member
illiad_fan began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2008
Device: Illiad
Quote:
Originally Posted by Antartica View Post
I'm also interested in that. Also in the scribble way of updating, but I've not investigated it yet.

AFAIK, to do partial refreshes you have to open /dev/fd directly and do some ioctls. I don't know the ioctl's numbers or calling conventions, though.

The resources I know that can be useful to learn how to do that are:
- nalim's (Milan Votava) patch for 2.6 kernel has an implementation of the delta driver (display driver). http://www.kwik.cz/irex/
- use strace with the scribble program. AFAICT strace works in the iliad, and outputs to stdout every syscall, including ioctls. ltrace would be great too, but it doesn't work in the iliad, so we can't know what calls to liberdm are done in the scribble program.

If you need more pointers on how to investigate this, just ask :-).
Hi Antartica,
I'm also interested in it, I'm writing a small program like scribble. Although I call dmDisplay(dmCmdPriorUrgent, dmQTyping); each stylus touch the screen, but the display update too slow(about 0.5s later). Could you show me how to strace the scribble?
Thank you very much
illiad_fan is offline   Reply With Quote