|
Edited by jernej at 2016-4-24 11:51
Certainly, just edit patch projects/H3/patches/kodi/kodi-000-H3-support.patch :
line 660 from:
- + m_fbHandle = open("/dev/fb0", O_RDWR);
Copy code
to
- + m_fbHandle = open("/dev/fb1", O_RDWR);
Copy code
line 710 from:
- + args[0] = 0; //SCREENID; FIXME: this should be define
Copy code
to
- + args[0] = 1; //SCREENID; FIXME: this should be define
Copy code
line 722 from:
- + unsigned long args[4] = { 0, (unsigned long)(&video_config), 1, 0 };
Copy code
to
- + unsigned long args[4] = { 1, (unsigned long)(&video_config), 1, 0 };
Copy code
line 1518 from:
to
line 1822 from:
- + std::string blank_framebuffer = "/sys/class/graphics/fb0/blank";
Copy code
to
- + std::string blank_framebuffer = "/sys/class/graphics/fb1/blank";
Copy code
line 1855 from:
- + std::string framebuffer = "/dev/fb0";
Copy code
to
- + std::string framebuffer = "/dev/fb1";
Copy code
and remove comments in line 2013 and 2028.
I'm really not sure which of those modifications are needed and which not. I suspect that fb0 -> fb1 modifications may not be needed at all. If you manage to make it work, please tell me.
It may be that I also missed some place for modification.
|
|