Assuming that the kindle already has a book open and is displaying some page, is there some command that can be issued from ssh or a shell script to turn the page?
(Jailbroken Voyage running 5.8.11) (See post # 11 in this thread for KOA2)
ETA:
I found information to make what I needed, detailed in the references in post #8 of this thread.
Create a binary file to use in a command to display the next page in a document:
[root@kindle root]#
Code:
cat /dev/input/event2 > nextpage.dat
then press next page key, then Ctrl-C
Create a binary file to use in a command to display the previous page in a document:
[root@kindle root]#
Code:
cat /dev/input/event2 > prevpage.dat
then press previous page key, then Ctrl-C
The commands to actually turn the page are:
Code:
cat /mnt/us/nextpage.dat > /dev/input/event2
cat /mnt/us/prevpage.dat > /dev/input/event2
The data files are 64 bytes long and the contents I got are:
Code:
od -t x1 nextpage.dat
0000000 fe 67 62 5a 0d 90 09 00 01 00 6d 00 01 00 00 00
0000020 fe 67 62 5a 14 90 09 00 00 00 00 00 00 00 00 00
0000040 fe 67 62 5a d1 b8 0b 00 01 00 6d 00 00 00 00 00
0000060 fe 67 62 5a d3 b8 0b 00 00 00 00 00 00 00 00 00
od -t x1 prevpage.dat
0000000 25 68 62 5a 86 a0 00 00 01 00 68 00 01 00 00 00
0000020 25 68 62 5a 8d a0 00 00 00 00 00 00 00 00 00 00
0000040 25 68 62 5a 73 0f 03 00 01 00 68 00 00 00 00 00
0000060 25 68 62 5a 76 0f 03 00 00 00 00 00 00 00 00 00
There is probably a much better way to do this.