View Single Post
Old 01-06-2013, 09:05 AM   #7
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,491
Karma: 5977000
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
ah right..

as I have more than one kindle...

I grabbed the project and amended the ssh-screenshot.sh to allow for multiple devices

PHP Code:
#!/bin/sh -xe

name=root
device
=$1
#device=192.168.1.whatever

test -"$name&& name=/tmp/kindle

landscape
=`ssh root@$device cat /sys/module/eink_fb_hal_broads/parameters/bs_orientation`
ssh root@$device dd if=/dev/fb0 $name.fb

ls 
-al $name.fb

./fb2pgm.pl $name.fb $landscape && display $name.fb.pgm 
and I call it like

ssh-screenshot.sh kindle5
or
ssh-screenshot.sh 192.168.1.100
etc...

Hope that helps...
Attached Thumbnails
Click image for larger version

Name:	Selection_091.png
Views:	30
Size:	24.5 KB
ID:	98885   Click image for larger version

Name:	Selection_093.png
Views:	31
Size:	29.8 KB
ID:	98886   Click image for larger version

Name:	myTS-screenie.jpg
Views:	32
Size:	86.9 KB
ID:	98887  

Last edited by twobob; 01-06-2013 at 09:19 AM. Reason: I made it a simple - "device only" version for this thread
twobob is offline   Reply With Quote