aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/SystemInfo.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-12-03 16:37:52 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-12-03 16:43:50 +0100
commit44fb489521cf6ad1defba93311366df08d7938a4 (patch)
tree8f2b8b5a62d75a04eab9fc11d708eea5705b6263 /lib/python/Components/SystemInfo.py
parentb79bdb964320dabf4180ef6820a1ce335afccaa5 (diff)
downloadenigma2-44fb489521cf6ad1defba93311366df08d7938a4.tar.gz
enigma2-44fb489521cf6ad1defba93311366df08d7938a4.zip
Components/SystemInfo.py: add new SystemInfo entry "DeepstandbySupport"
Diffstat (limited to 'lib/python/Components/SystemInfo.py')
-rw-r--r--lib/python/Components/SystemInfo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Components/SystemInfo.py b/lib/python/Components/SystemInfo.py
index d2b405a2..f9c4065f 100644
--- a/lib/python/Components/SystemInfo.py
+++ b/lib/python/Components/SystemInfo.py
@@ -1,5 +1,6 @@
from enigma import eDVBResourceManager
from Tools.Directories import fileExists
+from Tools.HardwareInfo import HardwareInfo
SystemInfo = { }
@@ -27,3 +28,4 @@ def countFrontpanelLEDs():
SystemInfo["NumFrontpanelLEDs"] = countFrontpanelLEDs()
SystemInfo["FrontpanelDisplay"] = fileExists("/dev/dbox/oled0") or fileExists("/dev/dbox/lcd0")
SystemInfo["FrontpanelDisplayGrayscale"] = fileExists("/dev/dbox/oled0")
+SystemInfo["DeepstandbySupport"] = HardwareInfo().get_device_name() != "dm800"