[igt-dev] [PATCH i-g-t] docs/chamelium: add manual xmlrpc usage

Simon Ser simon.ser at intel.com
Mon May 13 08:28:52 UTC 2019


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 at intel.com>
---
 docs/chamelium.txt | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/chamelium.txt b/docs/chamelium.txt
index 5cc85d6e9d5e..13edb79409bd 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:
--
2.21.0



More information about the igt-dev mailing list