Quote:
Originally Posted by N46AN
Hi. Can you share how did you get over the "undeclared or implicit tag 'mxcfb_update_marker_data'" problem as described in #48? I've encountered the same problem on a KPW3 and have been unable to get through it.
Thanks!
|
I have finally got it working on the Kindle PW3. Although I do not have a programming background, I've worked out a solution by
WAG
1. Apply the fix in #47 (Disable model autodetection, always use carta_mxc_wait_for_update_complete)
2. Edit ffi/mxcfb_kindle_h.lua and add definition for mxcfb_update_marker_data
Code:
struct mxcfb_update_marker_data {
unsigned int update_marker;
unsigned int collision_test;
};
(
https://github.com/koreader/koreader...b_kindle_h.lua)
3. Edit
ffi/framebuffer_linux.lua in
function kindle_carta_mxc_wait_for_update_complete(fb)
Change the
ffi.C.MXCFB_WAIT_FOR_UPDATE_COMPLETE in
return() to
0xc008462f
So that it looks like:
Code:
return ffi.C.ioctl(fb.fd, 0xc008462f, carta_update_marker)
It should work on Kindle PW3 after the above changes.