open("/proc/stb/video/aspect", "w").write("any")
open("/proc/stb/video/policy", "w").write("panscan")
+ def saveMode(self, port, mode, rate):
+ config.av.videoport.value = port
+ config.av.videomode[port].value = mode
+ config.av.videorate[mode].value = rate
+
def isPortAvailable(self, port):
# fixme
return True
rate = config.av.videorate[mode].value
self.setMode(port, mode, rate)
+
config.av.edid_override = ConfigYesNo(default = False)
video_hw = VideoHardware()
</code>
</step>
<step id="end">
+ <code>
+self.hw.saveMode(self.port, self.mode, self.rate)
+ </code>
<text value="The input port should be configured now.\nYou can now configure the screen by displaying some test pictures. Do you want to do that now?" />
<!--text value="You have successfully finished the video setup. If you want to change the settings later, you can do this in the settings menu."/-->
<displaytext value="No picture on TV? Press EXIT and retry." />