From 7455cff58bfaba946b70e62e354851feb5f55f3a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 13 May 2019 11:28:52 +0300 Subject: docs/chamelium: add manual xmlrpc usage For debugging purposes, it's useful to be able to send manual XML-RPC calls to the Chamelium. This commit adds an example call and links to the utility and the Chamelium API interface docs. Signed-off-by: Simon Ser Reviewed-by: Paul Kocialkowski Reviewed-by: Imre Deak --- docs/chamelium.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/chamelium.txt b/docs/chamelium.txt index 5cc85d6e..13edb794 100644 --- a/docs/chamelium.txt +++ b/docs/chamelium.txt @@ -117,6 +117,16 @@ $ ./scripts/run-tests.sh -t chamelium Debugging the Chamelium ----------------------- +It is possible to manually send Chamelium RPC calls with the xmlrpc utility +(from xmlrpc-c). For instance, to plug the DisplayPort port: +$ xmlrpc http://192.168.1.2:9992 Plug i/1 + +The xmlrpc utility documentation is available at: +http://xmlrpc-c.sourceforge.net/doc/xmlrpc.html + +The XML-RPC Chamelium interface is described here: +https://chromium.googlesource.com/chromiumos/platform/chameleon/+/refs/heads/master/chameleond/interface.py + Logs that may be useful for debugging can be obtained either by connecting to the board via SSH or serial console and looking at the daemon logs from /var/log, such as: -- cgit v1.2.3