Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-02-2014, 09:48 AM   #1
dicalp
Enthusiast
dicalp began at the beginning.
 
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.
dicalp is offline   Reply With Quote
Old 06-02-2014, 09:59 AM   #2
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by dicalp View Post
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.
Read the execution flow (if wrapped by a script) until you hit the binary implementation.
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
knc1 is offline   Reply With Quote
Advert
Old 06-03-2014, 02:15 AM   #3
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
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.
hawhill is offline   Reply With Quote
Old 06-03-2014, 05:07 AM   #4
dicalp
Enthusiast
dicalp began at the beginning.
 
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.
dicalp is offline   Reply With Quote
Old 06-03-2014, 07:08 AM   #5
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
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.
hawhill is offline   Reply With Quote
Advert
Old 06-03-2014, 07:17 AM   #6
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by dicalp View Post
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.
- - - -
?????
Quote:
Originally Posted by dicalp
- - - -
any hint is appreciated.
Is what you asked for and that is what you got.

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.)
knc1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 09:19 PM.


MobileRead.com is a privately owned, operated and funded community.