aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-05-22 14:43:39 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-05-22 14:43:39 +0000
commit06c6fcf1e814c32ef8aaa6cb6f5e3a567f64c866 (patch)
tree26708db9d5584a66b7a4c6b85df1cf86e42eda12 /lib/python
parentd97aa3303fcbdcbd6488397d55126f1334511910 (diff)
downloadenigma2-06c6fcf1e814c32ef8aaa6cb6f5e3a567f64c866.tar.gz
enigma2-06c6fcf1e814c32ef8aaa6cb6f5e3a567f64c866.zip
revert DVI workaround... because hdmi is broken when one time a dvi mode was
selected until we dont have a better solution its possible to enable this workaround manually by writing "echo 1 > /proc/stb/hdmi/enable_hdmi_reset" to /etc/init.d/bootpup
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
index b9b5dca8..43543bb1 100644
--- a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
+++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
@@ -146,17 +146,6 @@ class VideoHardware:
if mode_60 is None or force == 50:
mode_60 = mode_50
- dvimode = (mode_50.find('x') != -1 or mode_60.find('x') != -1) and '1' or '0'
- try:
- open("/etc/dvimode", "w").write(dvimode) # use 50Hz mode (if available) for booting
- except IOError:
- print "writing initial dvimode to /etc/dvimode failed."
-
- try:
- open("/proc/stb/hdmi/enable_hdmi_reset", "w").write(dvimode)
- except IOError:
- print "setting dvimode failed."
-
try:
open("/proc/stb/video/videomode_50hz", "w").write(mode_50)
open("/proc/stb/video/videomode_60hz", "w").write(mode_60)