Quote:
Originally Posted by sergeyvl12
giorgio130
Currently I tried to launch koreader from KoboLauncher. I got success but koreader changes some framebuffer parameters and doesn't restore them at exit:
Code:
if (fb->vinfo.bits_per_pixel == 16) {
/* Only (known) platform using this is Kobo;
* since we can change the mode to 8bpp, at this time
* driving directly the screen at 16bpp is not supported.
* */
fb->vinfo.bits_per_pixel = 8;
fb->vinfo.grayscale = 1;
fb->vinfo.rotate = 3; // 0 is landscape right handed, 3 is portrait
if (ioctl(fb->fd, FBIOPUT_VSCREENINFO, &fb->vinfo)) {
return luaL_error(L, "cannot change screen
So, the only option we have after exit from koreader is reboot.
Is there any chance to get it fixed?
|
Hmm, I know that code

I've tried to fix that, but just putting back the original values seems not to be enough. Probably there's some other field that gets changed automatically and doesn't get changed back when the original values are written.
I'd say that your results are already an improvement!