![]() |
#1 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: May 2011
Device: prs-650
|
Screen Refresh For Kobo Android?
Hello,
I've been using Android on my Kobo Glo for a while now, and I think it's great. The reader app I like best is FBReader. One deficiency is that there's no screen refresh, so ghosts accumulate with each page turn, and eventually reduce contrast to an annoying level. So I decided to see if I could fix up FBReader with some kind of refresh for this device. It seemed to me that it would be easiest to begin with a stand-alone command that would refresh the screen. I did some searching and found a number of examples that I thought could be made to work. One was quite simple, and although it was intended for a different model, it wasn't too hard to get it to work on the Glo running standard firmware (not Android). The next step was to see if I could get it to work on the Android Glo. I set up an Android development environment, built my program as a stand-alone command, and tried it. It doesn't work. The program contains one ioctl(), and that fails with errno 25. I tried with some different code that I had found, and the same thing happens. However, it looks like ioctl() calls that read don't fail, just the ones that write. Is there something special that needs to be done to get output ioctl()s to work on Android? Regards, Denver |
![]() |
![]() |
![]() |
#2 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
|
Hi Denver !
I solved this problem. I'm planning to post new image on this forum, soon. I patched coolreader3 to do full refreshes after chosen number of pages. It is really similar to FBreader. All source codes are on my git-hub page: https://github.com/marek-g. I had to change kernel and add write permission for every user to fb0 device. Best Regards, Marek |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
|
|
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: May 2011
Device: prs-650
|
Hi Marek,
It seemed like a permission problem that I was running into, but I couldn't figure out what needed to be changed. I'll give this a try as soon as I can. Thanks! Denver |
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: May 2011
Device: prs-650
|
Hi Marek,
This looks very good. I appreciate you work. Thanks, Denver |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Screen refresh on KOBO | gandor62 | Kobo Reader | 13 | 08-28-2010 08:55 AM |
Help! Is there a way to force K2 screen refresh. | schex86 | Amazon Kindle | 5 | 02-02-2010 11:31 AM |
Sound on screen refresh? | Savonarola | iRex | 1 | 10-18-2008 01:02 AM |
iLiad Screen refresh | tomchek | iRex Developer's Corner | 7 | 07-27-2007 05:36 PM |
PRS-500 double screen refresh ...is it possible? | spartman | Sony Reader Dev Corner | 0 | 07-21-2007 01:36 AM |