Thread: Development tips on pe/ee development
View Single Post
Old 03-19-2012, 08:36 AM   #8
sunlifeng
Enthusiast
sunlifeng doesn't littersunlifeng doesn't litter
 
Posts: 28
Karma: 122
Join Date: Feb 2012
Device: Kindle touch,EE
Quote:
Originally Posted by javese View Post
Thanks all for your kind words.Thank kammerer for your great reader software.Thanks sunlifeng for the key code for zoom button and codes for mmap.

sunlifeng I'm not leaving the pe/ee community but my enthusiasm for development on pe/ee waned. I do not want to damp down your spirits but the first day I tried to write fb2 I noticed odd power consumption in my pe which was eventually out of battery with a red flash led.

Anyway I got one more tip to share. echo 7 > /sys/class/graphics/fb2/update_mode will put your eink to update mode 15 which is used by the eink journal and calendar software. In this mode you can write on the eink screen. I found this when looking for the 1 bit mode of eink in pe,which I was hoping to use for creating a prompt eink web browser. Unfortunately I didn't find the 1 bit mode.
If you do some reverse engineering on mct , journal and ep3521fb ,you will find 1 bit mode or partly update mode exist . It can be used through ioctl with some parameters. I'm trying.

Quote:
LDR R3, =epd_fd
LDR R3, [R3]
MOV R0, R3 ; fd
LDR R1, =0x4583 ; request
LDR R2, =epd_params
BL ioctl
This is some code in mct ,the function name is mct_paintscreen .
0x4583 is update screen partly. the epd_params should be try out .

Last edited by sunlifeng; 03-19-2012 at 08:56 AM.
sunlifeng is offline   Reply With Quote