View Single Post
Old 07-22-2016, 03:50 AM   #64
N46AN
Junior Member
N46AN began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2016
Device: Kindle PW3
Quote:
Originally Posted by N46AN View Post
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.

Last edited by N46AN; 07-22-2016 at 05:18 AM.
N46AN is offline   Reply With Quote