add support for dm7020hd
authorghost <andreas.monzner@multimedia-labs.de>
Fri, 5 Nov 2010 18:42:09 +0000 (19:42 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Fri, 5 Nov 2010 18:42:09 +0000 (19:42 +0100)
lib/python/Plugins/SystemPlugins/TempFanControl/meta/plugin_tempfancontrol.xml
lib/python/Plugins/SystemPlugins/VideoEnhancement/meta/plugin_videoenhancement.xml
lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py

index a0bb5fa5ce1869ed770893e285fa7e72d7c2ce39..5c6565a97c8894b32e99afc100452953c8a03017 100755 (executable)
@@ -2,6 +2,8 @@
          <prerequisites>
                     <hardware type="dm8000" />
                     <hardware type="dm500hd" />
+                    <hardware type="dm800se" />
+                    <hardware type="dm7020hd" />
                     <tag type="System" />
          </prerequisites>
           <info>
index 11b0c59f1168f2aaf9c620d11940b4bde33308d0..e86184fd2fb0984f00d74c066df74d9aea480b89 100755 (executable)
@@ -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>
index 59c50476e6551d43cf76c59fd733b101a96bf49d..dc4e8c564ac67f2ccc1dc980f0f231447f3f4009 100644 (file)
@@ -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))
 
index 9b9044eee34669ea787aa394fd9110be72ef0990..18e817645639fb6e041ee1f67e69a60494647949 100755 (executable)
@@ -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"))