View Single Post
Old 08-21-2017, 07:43 PM   #26
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
Hi all, I'm not sure what the dispatch script is, but I just tested adding noew commands on my PW3.

I added this to /usr/share/webkit-1.0/pillow/debug_cmds.json
Code:
[root@kindle local]# cat /usr/share/webkit-1.0/pillow/debug_cmds.json
{
    ";coplate" : "/var/local/flash.sh",
    ";dm" : "/usr/bin/dm.sh",
    ";dmcc" : "/usr/bin/dmcc.sh",
Code:
[root@kindle local]# cat /var/local/flash.sh
#!/bin/sh
sleep 5
eips 0 0 -f
A 5 second timeout is outside it's wait period, but it did draw a '0' on the screen after 5 seconds.

Code:
170821:233951 Xorg: I GestureEngine:perfScenario::Sending button 1 up 1503358791.023752
170821:233951 cvm[4693]: I GoButtonTask:Information::Debug command entered
170821:233951 SCRIPTEXECUTOR[7669]: I script-Executor:main:Ready for execution:Command=/var/local/flash.sh
170821:233956 cvm[4693]: W lipc:perf:prop=executeDebugCommand, source=com.lab126.system, ms=5027:lipc property access took too long
It originally logged that it was running, but didn't actually, I gave the script full permisions., (777) and it ran. I didn't even need a reboot to change to flash, though the ';coplate' was in there on the last reboot, with a copy of the dump entry.

Nasser, if you are still trying, check the execute permissions on the script?

Last edited by coplate; 08-21-2017 at 07:47 PM.
coplate is offline   Reply With Quote