Good Day,
this is my first post on mobileread.
This is about Kindle 3 / Kindle Keyboard
I found that the graphical user interface of course big java blob run in the virtual /usr/java/bin/cvm which is launched on boot (with a tonna command line parameters) from /etc/init.d/boot_finished
This means that if you want to launch some other program instead (or before) you can add it to this boot_finished file. You may have to make sure paths are set correctly.
I have also written a very hasty hack of a simple primitives graphics "library" to draw lines, circles, and rectangles on the display using /dev/fb0 - which by passes the java user interface. (See attached.)
I compiled it with scratchbox compiler as described here:
https://www.mobileread.com/forums/showthread.php?t=59828
Except I had to use deb2tgz because I was using slackware.
Anyway, What I would love to do is have my K3 come up without the java thing going and just present me with a linux command prompt.
The keyboard seems to show up as a regular event device in /dev/input/event0 (for keyboard), event1 (for joypad), and event2 for volume buttons.
However I really want to do is have the kindle boot up and give me a root prompt on the display/keyboard without ever even loading the javabloat.
Then from the command line I can launch whatever of my own compiled C apps I want.
Think of it as a little computer that can run the display for days on a charge.
I know there are terminals, but don't those run within the java system?
I will probably have to write a kernel driver which shows up as a serial port and reads from keyboard and writes to fb0, unless someone already did?
Any advice would be much appreciated.
Thanks,
Jesse
EDIT/PS: I've updated graphics library to also support alpha drawing as well as anti-aliasing, as well as polygons with holes. ~Jesse@3-29-2014