diff options
author | David Sommerseth <davids@redhat.com> | 2009-07-02 19:30:01 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2009-07-02 19:30:01 +0200 |
commit | 9a62dfed606a010b834fad5400ac93eeb7490e0d (patch) | |
tree | c1ad6aa87d5c1e8aa24e7c37c9c3ab7d1390345f /src | |
parent | c16c803b41d8a7053180169930e34e3e4c1f0c87 (diff) | |
download | python-dmidecode-9a62dfed606a010b834fad5400ac93eeb7490e0d.tar.gz python-dmidecode-9a62dfed606a010b834fad5400ac93eeb7490e0d.tar.xz python-dmidecode-9a62dfed606a010b834fad5400ac93eeb7490e0d.zip |
Completed python XML map for TypeMap 0x1A
Diffstat (limited to 'src')
-rw-r--r-- | src/pymap.xml | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/src/pymap.xml b/src/pymap.xml index 2e7f5aa..d0de6fa 100644 --- a/src/pymap.xml +++ b/src/pymap.xml @@ -598,8 +598,31 @@ </Map> </TypeMap> - <!-- FIXME : Type 26 : Voltage Probe --> + <!-- Type 26 : Voltage Probe --> <TypeMap id="0x1A"> + <Map rootpath="/dmidecode/Probe[@probetype='Voltage']" keytype="string" key="@handle" valuetype="dict"> + <Map keytype="constant" key="dmi_type" valuetype="integer" value="@type"/> + <Map keytype="constant" key="dmi_handle" valuetype="string" value="@handle"/> + <Map keytype="constant" key="dmi_size" valuetype="integer" value="@size"/> + <Map keytype="constant" key="data" valuetype="dict"> + <Map keytype="constant" key="Accuracy" + valuetype="string" value="concat(Accuracy,' ',Accuracy/@unit)"/> + <Map keytype="constant" key="Description" + valuetype="string" value="Description"/> + <Map keytype="constant" key="Location" + valuetype="string" value="Location"/> + <Map keytype="constant" key="Maximum Value" + valuetype="string" value="concat(MaxValue,' ',MaxValue/@unit)"/> + <Map keytype="constant" key="Minimum Value" + valuetype="string" value="concat(MinValue,' ',MinValue/@unit)"/> + <Map keytype="constant" key="OEM-specific Information" + valuetype="string" value="OEMinformation"/> + <Map keytype="constant" key="Resolution" + valuetype="string" value="concat(Resolution,' ',Resolution/@unit)"/> + <Map keytype="constant" key="Status" valuetype="string" value="Status"/> + <Map keytype="constant" key="Tolerance" valuetype="string" value="Tolerance" emptyValue="Unknown"/> + </Map> + </Map> </TypeMap> <!-- FIXME : Type 27 : Cooling Device --> |