summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <simon.ser@intel.com>2019-05-13 11:28:52 +0300
committerSimon Ser <simon.ser@intel.com>2019-05-13 13:18:09 +0300
commit7455cff58bfaba946b70e62e354851feb5f55f3a (patch)
tree510a1ac2316dbf5d378b9c43706ccea1d7f6ca95
parent7e0246a2fc8f2b5d6d1c1825b90619e8b327bc3f (diff)
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 <simon.ser@intel.com> Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Reviewed-by: Imre Deak <imre.deak@intel.com>
-rw-r--r--docs/chamelium.txt10
1 files changed, 10 insertions, 0 deletions
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: