summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2012-04-09 18:39:42 +0200
committerMichal Minar <miminar@redhat.com>2012-04-09 18:39:42 +0200
commitcd02d888da708d70464f189ddd714b393ee41431 (patch)
tree59dbf3a667d5b05181e14027e1a73217091f2be0
parent38df04a097fd43c416341b1cffb1c1f495e9862f (diff)
downloadopenlmi-providers-cd02d888da708d70464f189ddd714b393ee41431.tar.gz
openlmi-providers-cd02d888da708d70464f189ddd714b393ee41431.tar.xz
openlmi-providers-cd02d888da708d70464f189ddd714b393ee41431.zip
cleanup
-rw-r--r--mof/Linux_Fan.registration2
-rw-r--r--mof/Linux_FanSensor.mof80
2 files changed, 0 insertions, 82 deletions
diff --git a/mof/Linux_Fan.registration b/mof/Linux_Fan.registration
deleted file mode 100644
index 6d608a0..0000000
--- a/mof/Linux_Fan.registration
+++ /dev/null
@@ -1,2 +0,0 @@
-# Classname Namespace ProviderName ProviderModule ProviderTypes ...
-Linux_Fan root/cimv2 Devel_ProcessorProvider cmpiDevel_ProcessorProvider instance
diff --git a/mof/Linux_FanSensor.mof b/mof/Linux_FanSensor.mof
deleted file mode 100644
index a90a93d..0000000
--- a/mof/Linux_FanSensor.mof
+++ /dev/null
@@ -1,80 +0,0 @@
-//
-// Linux_FanSensor.mof
-//
-
-#pragma locale ("en_US")
-//#pragma namespace ("root/cimv2")
-
-// ===================================================================
-// Linux_Fan
-// ===================================================================
-
-[ Provider("cmpi:cmpiLinux_Fan") ]
-class Linux_Fan : CIM_Fan {
-
- [ Key, Override("DeviceID"),
- Description("Uniquely identifies fan. It is a composition of
- SysPath and Name glued with slash ('/').") ]
- string DeviceId;
-
- [ Key, Override("Name"),
- Description("Name of fan.") ]
- string Name;
-
- [ Description("Array of fan features, that are exposed through system
- interface. In other words: those that are readible/writable."),
- ValueMap { "1", "2", "3", "4", "5", "6", "7", "8" },
- Values { "MinSpeed", "MaxSpeed", "Divisor", "Pulses", "Beep",
- "Alarm", "MinAlarm", "MaxAlarm" }
- ]
- uint16 AccessibleFeatures[];
-
- [ Description("Minimum speed value."),
- Write,
- Units("Revolutions per Minute") ]
- uint64 MinSpeed;
-
- [ Description("Maximum speed value."),
- Write,
- Units("Revolutions per Minute") ]
- uint64 MaxSpeed;
-
- [ Description("Fan divisisor. It affects Minimum and Maximum speed value
- and accuracy of readings.
- The drivers account for the 'fan divisor' in their calculation
- of RPM. So changing the fan divisor will NOT change the
- nominal RPM reading, it will only affect the minimum and maximum
- readings and the accuracy of the readings.
- The actual formula is RPM = (60 * 22500) / (count * divisor)"),
- Write ]
- uint32 Divisor;
-
- [ Description("Number of tachometer pulses per fan revolution.
- Integer value, typically between 1 and 4.
- This value is a characteristic of the fan connected to the
- device's input, so it has to be set in accordance with the fan
- model."),
- Write ]
- uint32 Pulses;
-
- [ Description("This indicates, whether a PC's speaker should beep
- when an alarm occurs."),
- Write ]
- boolean Beep;
-
- [ Description("ALARM warning indicating, that current speed is out of
- range. This information is supplied by fan's chip driver.") ]
- boolean Alarm;
-
- [ Description("ALARM warning indicating, that current speed is below
- the critical level. This information is supplied by fan's chip driver.")
- ]
- boolean MinAlarm;
-
- [ Description("ALARM warning indicating, that current speed is above
- the critical level. This information is supplied by fan's chip driver.")
- ]
- boolean MaxAlarm;
-
-};
-