View Single Post
Old 12-29-2015, 04:15 AM   #1
thaonphuong
Member
thaonphuong began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Apr 2015
Device: EZReader
Kindle Touch-open specific image by command line

Hello,
I intend to control opening images stored on kindle touch (images folder) by one script.

With that need, i try to understand Kindle command to open specific images instead of manual action (tap on images). I see that running usr/bin/imageviewer.sh behaves like opening Images folder, then i have to tap on image to open it

Do you have any advice to do this or any similar packages to perform to open specific images? Appreciate for your help


P/S: i see kindle always returns following event when i touch/tap on images after running command udevadm monitor --property. Honestly, i do not understand and if we can utilize these information in making script to open specific image?

Code:
KERNEL[1451380348.330980] change   /devices/platform/zforce.0/input/input4 (input)
UDEV_LOG=3
ACTION=change
DEVPATH=/devices/platform/zforce.0/input/input4
SUBSYSTEM=input
ZForce=touch
PRODUCT=0/0/0/0
NAME="zforce"
PHYS="zforce/input0"
EV==b
KEY==6420 0 0 0 0 0 0 0 0 0 3
ABS==2608000 3
MODALIAS=input:b0000v0000p0000e0000-e0,1,3,k145,14A,14D,14E,ra0,1,2F,35,36,39,mlsfw
SEQNUM=1970

UDEV  [1451380348.332288] change   /devices/platform/zforce.0/input/input4 (input)
UDEV_LOG=3
ACTION=change
DEVPATH=/devices/platform/zforce.0/input/input4
SUBSYSTEM=input
ZForce=touch
PRODUCT=0/0/0/0
NAME="zforce"
PHYS="zforce/input0"
EV==b
KEY==6420 0 0 0 0 0 0 0 0 0 3
ABS==2608000 3
MODALIAS=input:b0000v0000p0000e0000-e0,1,3,k145,14A,14D,14E,ra0,1,2F,35,36,39,mlsfw
SEQNUM=1970

KERNEL[1451380348.432021] change   /devices/platform/zforce.0/input/input4 (input)
UDEV_LOG=3
ACTION=change
DEVPATH=/devices/platform/zforce.0/input/input4
SUBSYSTEM=input
ZForce=notouch
PRODUCT=0/0/0/0
NAME="zforce"
PHYS="zforce/input0"
EV==b
KEY==6420 0 0 0 0 0 0 0 0 0 3
ABS==2608000 3
MODALIAS=input:b0000v0000p0000e0000-e0,1,3,k145,14A,14D,14E,ra0,1,2F,35,36,39,mlsfw
SEQNUM=1971

UDEV  [1451380348.432332] change   /devices/platform/zforce.0/input/input4 (input)
UDEV_LOG=3
ACTION=change
DEVPATH=/devices/platform/zforce.0/input/input4
SUBSYSTEM=input
ZForce=notouch
PRODUCT=0/0/0/0
NAME="zforce"
PHYS="zforce/input0"
EV==b
KEY==6420 0 0 0 0 0 0 0 0 0 3
ABS==2608000 3
MODALIAS=input:b0000v0000p0000e0000-e0,1,3,k145,14A,14D,14E,ra0,1,2F,35,36,39,mlsfw
SEQNUM=1971

Last edited by eschwartz; 01-04-2016 at 03:46 AM. Reason: add code tags
thaonphuong is offline   Reply With Quote