![]() |
#1 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Aug 2012
Device: Kindle Touch 3G + Ads
|
What is the code for eips ''?
anybody knows the c program syntax for eips ''?
i find my screen not display until i issue eips '' on the console. any hint is appreciated. |
![]() |
![]() |
![]() |
#2 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Then use strace on the binary. - - - - Yes, we have strace built for your device on this forum. - - - - And yes, there is such a thing as a free lunch - - There are many man-years of software development and description available here, all of it at no cost. Provided the user is willing to look for it - see: https://www.mobileread.com/forums/sho...d.php?t=237083 |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
I don't think that "eips" is open source software. So knc1's advice applies. @dicalp: are you talking about something you wrote? Then look at other software as a starting point. E-ink screens need more than just shuffling bits in the framebuffer memory.
|
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Aug 2012
Device: Kindle Touch 3G + Ads
|
ok .. i was hoping for working source codes.
![]() https://www.mobileread.com/forums/sho...d.php?t=162743 yes. still no free lunch. have to write my own code. strace can be easily compiled when scratchbox is working (appreciate all the people who contributed to gnu). those who cannot even compile strace probably can't do much even given the code. thanks anyway. ![]() Last edited by dicalp; 06-03-2014 at 05:10 AM. |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
strace merely tells you what eips does (in terms of the kernel/userland API). You need to write your own code, that's for sure. But there are (lots!) of working code to trigger eink refreshes. Every native application published here in this forum has such code. Remember that the API changed between K3 and K4 (slightly, einkfb.h) and K5/KPW/KPW2 (a lot, mxcfb.h). Basically, it's a single ioctl, with a properly filled struct specifying the region to refresh.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | ||
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Quote:
There is no way we can tell what you are "hoping for" unless you put it into the writing of your post. Please review: http://www.gerv.net/hacking/how-to-ask-good-questions/ With that guidance, you can start over at the start, with just what it is you are trying to achieve. (And if it is, or will be, closed source software - don't expect a lot of help here.) |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
After I Edit Code, Save, and Convert, all my Code Edits are Gone | lukewrussell | Calibre | 1 | 03-14-2014 08:05 PM |
Clear the screen after eips - DEVELOPERS CHALLENGE! | Aeris | Kindle Developer's Corner | 6 | 11-09-2013 07:34 PM |
eips 5.1.0 | geekmaster | Kindle Developer's Corner | 30 | 11-24-2012 12:12 AM |
code help | AWOL | Sigil | 7 | 11-19-2010 11:50 AM |
Let's create a source code repository for DR 800 related code? | jraf | iRex | 3 | 03-11-2010 12:26 PM |