summaryrefslogtreecommitdiffstats
path: root/src/pymap.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/pymap.xml')
-rw-r--r--src/pymap.xml25
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 -->