From: hschang Date: Mon, 17 Nov 2014 07:08:55 +0000 (+0900) Subject: Support Vu+ Zero. X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=b0fb2521cedeac8089de73c3b59fd15bda0e99e0 Support Vu+ Zero. --- diff --git a/lib/python/Plugins/Extensions/DLNAServer/dlnaserver b/lib/python/Plugins/Extensions/DLNAServer/dlnaserver index 05a13a0..4fad9ab 100755 Binary files a/lib/python/Plugins/Extensions/DLNAServer/dlnaserver and b/lib/python/Plugins/Extensions/DLNAServer/dlnaserver differ diff --git a/lib/python/Plugins/Extensions/HbbTV/bookmark.py b/lib/python/Plugins/Extensions/HbbTV/bookmark.py index 5048564..df96763 100644 --- a/lib/python/Plugins/Extensions/HbbTV/bookmark.py +++ b/lib/python/Plugins/Extensions/HbbTV/bookmark.py @@ -124,7 +124,7 @@ class BookmarkManager(SimpleConfigParser): f = file('/proc/stb/info/vumodel') model = f.read().strip() f.close() - manualmode = (model == "solo2" or model == "duo2" or model == "solose") + manualmode = (model == "solo2" or model == "duo2" or model == "solose" or model == "zero") os.system('echo "[__SYS__]" > %s'%(_dbFileName)) os.system('echo "category_current_idx = 1" >> %s'%(_dbFileName)) diff --git a/lib/python/Plugins/SystemPlugins/3GModemManager/3gcommand b/lib/python/Plugins/SystemPlugins/3GModemManager/3gcommand index 88d58d3..ae61799 100755 Binary files a/lib/python/Plugins/SystemPlugins/3GModemManager/3gcommand and b/lib/python/Plugins/SystemPlugins/3GModemManager/3gcommand differ diff --git a/lib/python/Plugins/SystemPlugins/FirmwareUpgrade/plugin.py b/lib/python/Plugins/SystemPlugins/FirmwareUpgrade/plugin.py index 0eb1d35..21c4661 100644 --- a/lib/python/Plugins/SystemPlugins/FirmwareUpgrade/plugin.py +++ b/lib/python/Plugins/SystemPlugins/FirmwareUpgrade/plugin.py @@ -71,6 +71,15 @@ if os.path.exists("/proc/stb/info/vumodel"): "fpga" : ["http://archive.vuplus.com/download/fpga", "fpga.files", "/dev/fpga_dp;/dev/misc/dp;"] ,"fp" : ["http://archive.vuplus.com/download/fp", "fp.files", "/dev/bcm_mu;"] } + elif info == "zero": + fwlist= [ + ("fpga", _("FPGA")) + ,("fp", _("Front Processor")) + ] + fwdata= { + "fpga" : ["http://archive.vuplus.com/download/fpga", "fpga.files", "/dev/fpga_dp;/dev/misc/dp;"] + ,"fp" : ["http://archive.vuplus.com/download/fp", "fp.files", "/dev/bcm_mu;"] + } import os, fcntl, thread STATUS_READY = 0 diff --git a/lib/python/Plugins/SystemPlugins/HDMICEC/components/HdmiCec.py b/lib/python/Plugins/SystemPlugins/HDMICEC/components/HdmiCec.py index 149b973..bd93f4d 100755 --- a/lib/python/Plugins/SystemPlugins/HDMICEC/components/HdmiCec.py +++ b/lib/python/Plugins/SystemPlugins/HDMICEC/components/HdmiCec.py @@ -86,6 +86,7 @@ class HdmiCec: "solo2": "VU+ Solo2", "duo2": "VU+ Duo2", "solose": "VU+ SoloSE", + "zero": "VU+ Zero", } if fileExists("/proc/stb/info/vumodel"): vumodel = open("/proc/stb/info/vumodel") diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py index 0120f40..346c3b8 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py @@ -56,10 +56,10 @@ class VideoHardware: } widescreen_modes = set(["720p", "1080i", "1080p"]) - hdmi_hw_types = set(["dm500", "dm800se", "dm7020hd", "bm750", "solo", "uno", "ultimo", "solo2", "duo2", "solose"]) - hdmi_pc_hw_types = set(["dm500", "dm800se", "dm7020hd", "bm750", "solo", "uno", "ultimo", "solo2", "duo2", "solose"]) - noscart_hw_types = set() - noypbpr_hw_types = set(["solose"]) + hdmi_hw_types = set(["dm500", "dm800se", "dm7020hd", "bm750", "solo", "uno", "ultimo", "solo2", "duo2", "solose", "zero"]) + hdmi_pc_hw_types = set(["dm500", "dm800se", "dm7020hd", "bm750", "solo", "uno", "ultimo", "solo2", "duo2", "solose", "zero"]) + noscart_hw_types = set(["zero"]) + noypbpr_hw_types = set(["solose", "zero"]) def getDeviceName(self): device_name = "unknown" @@ -74,7 +74,7 @@ class VideoHardware: return device_name def isVumodel(self, hw_type): - return hw_type in set(["bm750", "solo", "uno", "ultimo", "solo2", "duo2", "solose"]) + return hw_type in set(["bm750", "solo", "uno", "ultimo", "solo2", "duo2", "solose", "zero"]) # re-define AVSwitch.getOutputAspect def getOutputAspect(self):