View Single Post
Old 06-25-2015, 12:41 AM   #1
fastrobot
Connoisseur
fastrobot is a marvel to beholdfastrobot is a marvel to beholdfastrobot is a marvel to beholdfastrobot is a marvel to beholdfastrobot is a marvel to beholdfastrobot is a marvel to beholdfastrobot is a marvel to beholdfastrobot is a marvel to beholdfastrobot is a marvel to beholdfastrobot is a marvel to beholdfastrobot is a marvel to behold
 
Posts: 53
Karma: 11844
Join Date: Jun 2014
Location: All over the place...
Device: KOBO AuraHD and GLO
Virtual frambuffer switching for Kobo

Hi,

There are several programs which run on the kobo reader and take it over, such as debian linux, or andriod, etc. And I was wondering if anyone had a program that is able to save the state of the framebuffer, eg; save the orientation, and data on the frame-buffer, and restore them -- so that switching between kobo reader mode, and these alternate systems could be done on the fly, rather than having to reboot and pull or insert an sd card?

I've written a virtual terminal that runs on my Kobo GLO, that I want to be able to run alternately with nickel; It's a vt52 emulator with unicode capability, international morse code keyboard interface that allows all control, alt, shift, keys and all characters on a vt52 keyboard to be produced without ever having to draw a vitual keyboard onscreen; including an extra xterm SGR mode mouse ( xterm mode 1006 ) which means full linux compatibilty for command line programs that run in an x-terminal under curses; eg: vim, emacs, etc. including cut and paste.

I set it up to proxy the touch-screen driver under /dev/input/event1 -- so that I can steal screen touches before nickel gets them and still pass them on to nickel if I don't want them; which allows me to catch an escape sequence that nickel happily ignores; so that I can use this gesture to launch a script to change modes between virtual terminal and nickel, and back again. I just need a program that can save and load the framebuffer so that I can complete the switch -- and I'd rather not re-invent it, if a program already exists.

Also, I have another issue,
I'd like my terminal program to be able to work with an extenal keyboard as well; and because of that, I bought an android external USB keyboard, and an adapter to plug in into kobo's USB OTG slot;
It does plug in just fine, but the KOBO kernel does not recognize the keyboard as it causes no dmesges at all -- Do I need to load a kernel driver, or something, and if so -- which one ?

Last edited by fastrobot; 06-25-2015 at 07:53 AM.
fastrobot is offline   Reply With Quote