View Single Post
Old 01-25-2015, 09:20 AM   #410
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,578
Karma: 79436940
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by traycold View Post
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

why not just use the poweroff command
Quote:
poweroff -h
poweroff: invalid option -- 'h'
BusyBox v1.22.0.kobo (2013-06-07 09:01:34 EDT) multi-call binary.

Usage: poweroff [-d DELAY] [-n] [-f]

Halt and shut off power

-d SEC Delay interval
-n Do not sync
-f Force (don't go through init)

Last edited by PeterT; 01-25-2015 at 09:23 AM.
PeterT is offline   Reply With Quote