blob: 6b2945960a662807b013b43d904ce765b7c89292 [file] [log] [blame]
<?xml version="1.0"?>
<root>
<include>
<name>power_tools.xml</name>
</include>
<map>
<name>onoff</name>
<doc>assertive high map for on/off</doc>
<params on="1" off="0"></params>
</map>
<map>
<name>onoff_i</name>
<doc>assertive low map for on/off</doc>
<params on="0" off="1"></params>
</map>
<map>
<name>yes</name>
<doc>singular yes map</doc>
<params yes="1"></params>
</map>
<map>
<name>yesno</name>
<doc>assertive high map for yes/no</doc>
<params yes="1" no="0"></params>
</map>
<map>
<name>yesno_i</name>
<doc>assertive low map for yes/no</doc>
<params yes="0" no="1"></params>
</map>
<map>
<name>press</name>
<doc>map for press and release of buttons</doc>
<params press="0" release="1"></params>
</map>
<map>
<name>uart_parity</name>
<doc>Parity of uart line properties</doc>
<params none="0" odd="1" even="2"></params>
</map>
<map>
<name>uart_sbits</name>
<doc>Number of stop bits for uart line properties</doc>
<params one="0" oneandhalf="1" two="2"></params>
</map>
<map>
<name>uart_bits</name>
<doc>Number of data bits for uart line properties</doc>
<params five="5" six="6" seven="7" eight="8"></params>
</map>
<map>
<name>print</name>
<doc>debug print map</doc>
<params print="0"></params>
</map>
<control>
<name>sleep</name>
<doc>Forces a delay in seconds, according to the parameter</doc>
<params cmd="set" interface="servo" drv="sleep"
input_type="float" />
</control>
<control>
<name>loglevel</name>
<doc>The current log level of the root logger.</doc>
<params drv="loglevel" interface="servo" input_type="str" />
</control>
<control>
<name>rotate_servod_logs</name>
<doc>Trigger a forced servod log rotation.</doc>
<params drv="servo_metadata" interface="servo" map="yes"
subtype="rotate_logs"/>
</control>
<control>
<name>servod_logging_active</name>
<doc>Query whether file logging is turned on.</doc>
<params drv="servo_metadata" interface="servo" map="yesno"
subtype="servod_logs_active"/>
</control>
<control>
<name>log_msg</name>
<doc>Send a string to the servod INFO logs.</doc>
<params drv="servo_metadata" interface="servo" input_type="str"
subtype="log_msg"/>
</control>
<control>
<name>servod_pid</name>
<doc>The process id of the servod instance.</doc>
<params drv="servo_metadata" subtype="pid" interface="servo" />
</control>
<control>
<name>config_files</name>
<doc>A comma separated list of config files used to invoke this
server.</doc>
<params drv="servo_metadata" subtype="config_files"
interface="servo" />
</control>
<control>
<name>serialname</name>
<doc>The serial number of servo being used.</doc>
<params drv="servo_metadata" subtype="serial"
interface="servo" />
</control>
<control>
<name>servo_type</name>
<doc>What type of servo is being used.</doc>
<params drv="servo_metadata" subtype="type" interface="servo" />
</control>
<control>
<name>watchdog</name>
<doc>The connection state of all devices.</doc>
<params drv="servo_watchdog" subtype="watchdog" interface="servo"
input_type="str"/>
</control>
<control>
<name>watchdog_add</name>
<doc>Servod will eventually shutdown if the device is disconnected.</doc>
<params subtype="watchdog_add" interface="servo" drv="servo_watchdog"
input_type="str" cmd="set"></params>
<params drv="servo_watchdog" subtype="watchdog" interface="servo"
input_type="str" cmd="get"/>
</control>
<control>
<name>watchdog_remove</name>
<doc>Servod won't shutdown if the device is disconnected.</doc>
<params subtype="watchdog_remove" interface="servo" drv="servo_watchdog"
input_type="str" cmd="set"></params>
<params drv="servo_watchdog" subtype="watchdog" interface="servo"
input_type="str" cmd="get"/>
</control>
<control>
<name>init_keyboard</name>
<doc>initialize keyboard handler</doc>
<params map="onoff" init="on" drv="kb_handler_init" interface="servo"
subtype="init_default_keyboard" handler_type="ChromeEC"></params>
</control>
</root>