View Single Post
Old 04-27-2009, 03:51 AM   #30
Grimulkan
Lord
Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.
 
Grimulkan's Avatar
 
Posts: 177
Karma: 328
Join Date: Feb 2009
Device: Q1 (on way out), PRS505, DR1000S (dead :<), TC1100 (10'' perfection!)
Quote:
Originally Posted by Mackx View Post
[...] HOWEVER: The DR hangs completely after some time (it is not reacting to keys or stylus) and a reset is needed to get the device working again. I got it working only for less then an hour so I am not sure what triggers the hang-up of the device. I will integrate the code with xournal and post it here so more people can experiment with it.
I am also not sure why this could happen, is it repeatable? Anyway, the scribble packages still do not directly call the delta controller to refresh the screen, but call the delta controller to directly "draw" on the screen (which includes the refresh). You actually don't need to do that because GTK already takes care of storing what pixels are to be displayed etc. You only need to call a refresh whenever the user draws stuff. Maybe you could try using ioctl() directly with the FBIO_DELTA_UPDATE_DISPLAY command (and appropriate parameters), instead of the FBIO_DELTA_DRAWMODE_PIXELS that the scribble driver uses. Don't know if it will fix the hang issue, but its worth a shot.
Grimulkan is offline   Reply With Quote