Quote:
Originally Posted by TulseLuper
geekmaster ,
For the moment working with the framebuffer is bit to raw for me ... lol
I canīt do much with anything RAW thatīs not a DSLR ... hehehehe ...
Seems for this Iīll have to wait some more
But thanks anyway and letīs wait for someone who can work this out for mortals ...
See ya !!
|
You should check the link itīs pretty easy
mkdir ~/GIT
cd ~/GIT
git clone git://github.com/dpavlin/k3libre.git
(if you dont have it
sudo apt-get install git) then repeat the last step
output:
Code:
twobob@dev ~/GIT $ ls
k3libre
cd k3libre
now
nano ~/GIT/k3libre/pdf2fb.sh
and edit the line
Code:
./pgm2fb.pl page-$page.pgm | nc 192.168.x.xxx 8888 || true
putting your kindles IP where the Xīs are.
and do the same for ~/GIT/k3libre/ssh-screenshot.sh
and edit the lines
Code:
landscape=`ssh root@192.168.x.xxx cat /sys/module/eink_fb_hal_broads/parameters/bs_orientation`
and ssh root@192.168.x.xxx dd if=/dev/fb0 > $name.fb
with the same info.
Couple of caveats,
You will need the access via SSH working to the kindle.
You will need to know the kindles IP in advance, a fixed one in the router is not a bad idea.
Usage: ssh-screenshot.sh
This is from memory, Iīll go check my facts. EDIT: Yep just did this from a virgin install.
Unsure if I had to copy anything to kindle but a quick look at the code seem to indicate an
nc call and an eink call, which are both native.
Hope this helps someone.
SIDE NOTE:
I edited my /etc/hosts to simply contain
192.168.x.xx k (this is actually what the OP has set up on the dev box) this is also helpful and you can replace all the ugly IPś with
k
One more point. A link to the script is also handy I made one called
kss for kindle screenshot.
Looking through the stuff in the REPO you can trigger this via launchpad amongst other functions but this should get you going.
It generally fires up ImageMagick or similar to handle the file, you save it yourself.
EDIT: ADDED XTRA PIC
This is on a kindle 3 Keyboard, I don't have the drawing app Iīm afraid