I have a plan for a new version of the page turn remote, that would not require a smartphone and the buttons.
My idea would be to use the ESP8266 in AP mode ( hotspot ), so that my kindle can connect to it, and then using buttons on the ESP8266, send the page turn commands to the kindle.
https://learn.sparkfun.com/tutorials...-ap-web-server
Things that I need and want
- A Jailbroken PW3 qith KUAL ( check )
- pageturnd, a c program to listen on a port and turn the page. ( in-progress: crosstool-ng and arm-kindlepw2-linux-gnueabi )
- A Package that can install my pageturnd, and a KUAL extension to start/stop ( in-progress: kindletool )
- an ESP8266 with software that can send the page turn messages to he kindle ( in-progress )
If the ESP8266 was capable of ssh, I could just send the commands over that, but it is not.
Alternatively to point 2 or ssh, I could set up telnetd as well I imagine, but I think it would be nice if the package could have the code to tell if it should use libxdo, or the keyboard, for the different kindles.
The xdotool I am using I got from twobob's post at
http://www.mobileread.com/forums/sho...=162022&page=3
For some reason, I just cannot figure out from all the threads how to get a crosscompiler and all the dependent libraries set up.
What I am asking for help on:
I need an environment where I can cross compile. Simply download arm-non-eabi-gcc does not get me all the headers I need, and certainly not the libraries that I would need to link to.
And this is what I think I really need help with. I'm trying to figure out all the different setups people use, and its just crossing wires in my head.
For example, the ext3 file in this post:
http://www.mobileread.com/forums/sho...46&postcount=6
And then the following says to install "Debian Wheezy via GRIP" and I have no idea what GRIP is, or what effect this will have on my kindle.
If anyone possibly has a step-by-step setup for getting started on the compilers ('m on window ), even if it starts with "Install a debian virtual machine, then do ...", I would be so happy.
Edit Step-by-step so far:
0: ubuntu vm and run the apt commands at the bottom
1: Jailbreak kindle
2: git clone
https://github.com/NiLuJe/crosstool-ng/ (( the snapshot didnt have the configure and bootstrap - or I hadnt installed all the required dependencies yet ))
3: ./bootstrap
3: ./configure --enable-local
4: ./ct-ng arm-kindlepw2-linux-gnueabi
5: ./ct-ng build
6: ~/x-tools/arm-kindlepw2-linux-gnueabi/bin/arm-kindlepw2-linux-gnueabi-gcc test.c
Done.
Dependencies installed with apt for crosstools-ng ( and some other scripts, but I couldnt back them all out )
sudo apt-get install autoconf
sudo apt-get install awk
sudo apt-get install bison
sudo apt-get install cmake
sudo apt-get install crosstool
sudo apt-get install crosstool-ng
sudo apt-get install flex
sudo apt-get install gawk
sudo apt-get install git
sudo apt-get install glibtool
sudo apt-get install gperf
sudo apt-get install help2man
sudo apt-get install joe
sudo apt-get install libncurses
sudo apt-get install libncurses-dev
sudo apt-get install libtool
sudo apt-get install libtool-bin
sudo apt-get install linbcurses
sudo apt-get install linbcurses-dev
sudo apt-get install make
sudo apt-get install makeinfo
sudo apt-get install svn
sudo apt-get install svn2cl
sudo apt-get install texinfo
sudo apt-get install transifex-client