View Single Post
Old 01-25-2015, 09:09 AM   #409
traycold
Connoisseur
traycold doesn't littertraycold doesn't litter
 
Posts: 63
Karma: 196
Join Date: Oct 2010
Device: Kobo Glo Hd, Kobo H2O2
simulate poweroff action

Quote:
Originally Posted by KevinShort View Post
Just in case anyone's interested, here's the command to simulate the power slider on the Glo:
Code:
echo -e '\xc9wuQ\xad>\x08\x00\x01\x00t\x00\x01\x00\x00\x00\xc9w
uQC\x9e\t\x00\x01\x00t\x00\x00\x00\x00\x00' > /dev/input/event0
hi KevinShort,
I'm interested in simulating the poweroff action (i.e. long press of power slider) on kobo glo.
If I launch your command from a telnet shell or a script, it actually triggers the stand-by. Do you think it would be possible (with another code, or just executing N times in a row the command) to simulate the real switch off ot the reader?
Thanks
traycold is offline   Reply With Quote