aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-11-05 19:42:09 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-11-05 19:42:09 +0100
commit3238fce693dbe855e0e75b40eb26c883e940403d (patch)
tree5792a418218e9644af2e730e6404975cd7990550 /lib
parent7fd4241a1d7b8d7c36385860b24882636517473b (diff)
downloadenigma2-3238fce693dbe855e0e75b40eb26c883e940403d.tar.gz
enigma2-3238fce693dbe855e0e75b40eb26c883e940403d.zip
add support for dm7020hd
Diffstat (limited to 'lib')
-rwxr-xr-xlib/python/Plugins/SystemPlugins/TempFanControl/meta/plugin_tempfancontrol.xml2
-rwxr-xr-xlib/python/Plugins/SystemPlugins/VideoEnhancement/meta/plugin_videoenhancement.xml3
-rw-r--r--lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py4
-rwxr-xr-xlib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py4
4 files changed, 8 insertions, 5 deletions
diff --git a/lib/python/Plugins/SystemPlugins/TempFanControl/meta/plugin_tempfancontrol.xml b/lib/python/Plugins/SystemPlugins/TempFanControl/meta/plugin_tempfancontrol.xml
index a0bb5fa5..5c6565a9 100755
--- a/lib/python/Plugins/SystemPlugins/TempFanControl/meta/plugin_tempfancontrol.xml
+++ b/lib/python/Plugins/SystemPlugins/TempFanControl/meta/plugin_tempfancontrol.xml
@@ -2,6 +2,8 @@
<prerequisites>
<hardware type="dm8000" />
<hardware type="dm500hd" />
+ <hardware type="dm800se" />
+ <hardware type="dm7020hd" />
<tag type="System" />
</prerequisites>
<info>
diff --git a/lib/python/Plugins/SystemPlugins/VideoEnhancement/meta/plugin_videoenhancement.xml b/lib/python/Plugins/SystemPlugins/VideoEnhancement/meta/plugin_videoenhancement.xml
index 11b0c59f..e86184fd 100755
--- a/lib/python/Plugins/SystemPlugins/VideoEnhancement/meta/plugin_videoenhancement.xml
+++ b/lib/python/Plugins/SystemPlugins/VideoEnhancement/meta/plugin_videoenhancement.xml
@@ -2,7 +2,8 @@
<prerequisites>
<hardware type="dm8000" />
<hardware type="dm800" />
- <hardware type="dm500hd" />
+ <hardware type="dm800se" />
+ <hardware type="dm7020hd" />
<tag type="Display" />
<tag type="System" />
</prerequisites>
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
index 59c50476..dc4e8c56 100644
--- a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
+++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
@@ -239,9 +239,9 @@ class VideoHardware:
portlist = self.getPortList()
for port in portlist:
descr = port
- if descr == 'DVI' and hw_type in ('dm500hd', 'dm800se'):
+ if descr == 'DVI' and hw_type in ('dm500hd', 'dm800se', 'dm7020hd'):
descr = 'HDMI'
- elif descr == 'DVI-PC' and hw_type in ('dm500hd', 'dm800se'):
+ elif descr == 'DVI-PC' and hw_type in ('dm500hd', 'dm800se', 'dm7020hd'):
descr = 'HDMI-PC'
lst.append((port, descr))
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
index 9b9044ee..18e81764 100755
--- a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
+++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
@@ -90,7 +90,7 @@ class VideoWizard(WizardLanguage, Rc):
for port in self.hw.getPortList():
if self.hw.isPortUsed(port):
descr = port
- if descr == 'DVI' and hw_type in ('dm500hd', 'dm800se'):
+ if descr == 'DVI' and hw_type in ('dm500hd', 'dm800se', 'dm7020hd'):
descr = 'HDMI'
if port != "DVI-PC":
list.append((descr,port))
@@ -108,7 +108,7 @@ class VideoWizard(WizardLanguage, Rc):
self.inputSelect(self.selection)
if self["portpic"].instance is not None:
picname = self.selection
- if picname == "DVI" and HardwareInfo().get_device_name() in ("dm500hd", "dm800se"):
+ if picname == "DVI" and HardwareInfo().get_device_name() in ("dm500hd", "dm800se", "dm7020hd"):
picname = "HDMI"
self["portpic"].instance.setPixmapFromFile(resolveFilename(SCOPE_PLUGINS, "SystemPlugins/Videomode/" + picname + ".png"))