Skip to content

Commit

Permalink
add sf8008
Browse files Browse the repository at this point in the history
  • Loading branch information
atvcaptain committed Aug 20, 2018
1 parent 90d061e commit 74fe1fd
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 22 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ if test "$BOXTYPE" == "u5" -o "$BOXTYPE" == "u5pvr" -o "$BOXTYPE" == "u51" -o "$
AC_DEFINE(HAVE_HISILICON, 1,[define add HISILICON chip])
fi

if test "$BOXTYPE" == "cc1"; then
if test "$BOXTYPE" == "cc1" -o "$BOXTYPE" == "sf8008"; then
AC_DEFINE(HAVE_HISILICON, 1,[define add HISILICON chip])
AC_DEFINE(CONFIG_HISILICON_FB, 1,[define add HISILICON framebuffer blit])
AC_DEFINE(FORCE_ALPHABLENDING_ACCELERATION, 1,[define when the framebuffer acceleration has alphablending support, but detection slow down all])
Expand Down
2 changes: 1 addition & 1 deletion lib/python/Components/AVSwitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class AVSwitch:
# if modes.has_key("DVI-PC") and not getModeList("DVI-PC"):
# print "[AVSwitch] remove DVI-PC because of not existing modes"
# del modes["DVI-PC"]
if modes.has_key("YPbPr") and getBoxType() in ('clap4k','force4','alien5', 'osninopro','protek4k','viperslim','axashis4kcombo','axashis4kcomboplus','dinobot4kplus','dinobot4kmini','zgemmah9t','zgemmah9s','zgemmah9splus','vuzero4k','vuuno4kse','anadol4k','mediabox4k','dinobot4kl','dinobot4k','dinobot4kse','lunix','purehdse','lunix34k','sf5008','et13000','zgemmah6','vipert2c','vipercombo','vipercombohdd','e4hdultra','evoslimse','evoslimt2c','beyonwizu4','zgemmah4','osnino','osninoplus','axultra','gbue4k','spycat4kcombo','spycat4k','valalinux','formuler4ip','formuler3ip','tm4ksuper','galaxy4k','zgemmah52splus','zgemmah2splus','zgemmah7','zgemmah32tc','zgemmah52tc','alphatriple','gi11000','spycat4kmini','tmtwin4k','tmnanom3','tiviarmin','vimastec1000','vimastec1500', 'gbquad4k','revo4k','force3uhdplus','force3uhd','force2nano','evoslim','zgemmah5ac', 'zgemmah3ac', 'bre2zet2c', 'dm900', 'dm920', 'wetekplay', 'wetekplay2', 'wetekhub', 'bre2ze4k', 'vuuno4k', 'vuultimo4k', 'sf4008', 'e4hdcombo', 'ultrabox', 'osmega', 'tmnano3t', 'novaip', 'novacombo', 'novatwin', 'dm520', 'dm525', 'megaforce2', 'purehd', 'sf128', 'sf138', 'mutant11', 'xpeedlxpro', 'mbtwinplus', 'mutant51', 'ax51', 'twinboxlcdci5' , 'twinboxlcdci', 'singleboxlcd', 'formuler4', 'formuler4turbo', 'zgemmah5', 'zgemmah52s', 'zgemmai55', 'sf98', 'odinplus', 'zgemmaslc', '9900lx', '9910lx', '9911lx', 'vusolo4k', 'et7x00mini', 'evomini', 'evominiplus', 'zgemmahs', 'zgemmah2s', 'zgemmah2h', 't2cable', 'xpeedlxcs2', 'xpeedlxcc', 'osmini', 'osminiplus', 'gbx1', 'gbx2', 'gbx3', 'gbx3h', 'sf3038', 'spycat', 'bwidowx', 'bwidowx2', 'fegasusx3', 'fegasusx5s', 'fegasusx5t', 'force2', 'force2plus', 'force2plushv', 'optimussos', 'tmnanose', 'tmnanosem2', 'tmnanosem2plus', 'tmnanocombo', 'zgemmash1', 'zgemmash2', 'zgemmas2s', 'zgemmass', 'mago', 'enibox', 'sf108', 'x1plus', 'xcombo', 'mutant1100', 'mutant1200', 'mutant1265', 'mutant1500', 'mutant500c', 'mutant530c', 'et4x00', 'et7500', 'et7000', 'et7100', 'et8500', 'et8500s', 'xp1000mk', 'xp1000max', 'xp1000plus', 'sf8', 'tm2t', 'tmsingle', 'vusolo2', 'tmnano', 'iqonios300hd', 'iqonios300hdv2', 'classm', 'axodin', 'axodinc', 'genius', 'evo', 'galaxym6', 'geniuse3hd', 'evoe3hd', 'axase3', 'axase3c', 'dm500hdv2', 'dm500hd', 'dm800', 'mixosf7', 'mixoslumi', 'mixosf5mini', 'gi9196lite', 'ixusszero', 'optimussos1', 'enfinity', 'marvel1', 'bre2ze', 'sezam1000hd', 'mbmini', 'atemio5x00', 'xpeedlx1', 'xpeedlx2', 'vusolose', 'gbipbox', 'formuler3', 'optimussos3plus', 'force1plus', 'vuzero', 'vizyonvita') or (about.getModelString() == 'ini-3000'):
if modes.has_key("YPbPr") and getBoxType() in ('sf8008','clap4k','force4','alien5', 'osninopro','protek4k','viperslim','axashis4kcombo','axashis4kcomboplus','dinobot4kplus','dinobot4kmini','zgemmah9t','zgemmah9s','zgemmah9splus','vuzero4k','vuuno4kse','anadol4k','mediabox4k','dinobot4kl','dinobot4k','dinobot4kse','lunix','purehdse','lunix34k','sf5008','et13000','zgemmah6','vipert2c','vipercombo','vipercombohdd','e4hdultra','evoslimse','evoslimt2c','beyonwizu4','zgemmah4','osnino','osninoplus','axultra','gbue4k','spycat4kcombo','spycat4k','valalinux','formuler4ip','formuler3ip','tm4ksuper','galaxy4k','zgemmah52splus','zgemmah2splus','zgemmah7','zgemmah32tc','zgemmah52tc','alphatriple','gi11000','spycat4kmini','tmtwin4k','tmnanom3','tiviarmin','vimastec1000','vimastec1500', 'gbquad4k','revo4k','force3uhdplus','force3uhd','force2nano','evoslim','zgemmah5ac', 'zgemmah3ac', 'bre2zet2c', 'dm900', 'dm920', 'wetekplay', 'wetekplay2', 'wetekhub', 'bre2ze4k', 'vuuno4k', 'vuultimo4k', 'sf4008', 'e4hdcombo', 'ultrabox', 'osmega', 'tmnano3t', 'novaip', 'novacombo', 'novatwin', 'dm520', 'dm525', 'megaforce2', 'purehd', 'sf128', 'sf138', 'mutant11', 'xpeedlxpro', 'mbtwinplus', 'mutant51', 'ax51', 'twinboxlcdci5' , 'twinboxlcdci', 'singleboxlcd', 'formuler4', 'formuler4turbo', 'zgemmah5', 'zgemmah52s', 'zgemmai55', 'sf98', 'odinplus', 'zgemmaslc', '9900lx', '9910lx', '9911lx', 'vusolo4k', 'et7x00mini', 'evomini', 'evominiplus', 'zgemmahs', 'zgemmah2s', 'zgemmah2h', 't2cable', 'xpeedlxcs2', 'xpeedlxcc', 'osmini', 'osminiplus', 'gbx1', 'gbx2', 'gbx3', 'gbx3h', 'sf3038', 'spycat', 'bwidowx', 'bwidowx2', 'fegasusx3', 'fegasusx5s', 'fegasusx5t', 'force2', 'force2plus', 'force2plushv', 'optimussos', 'tmnanose', 'tmnanosem2', 'tmnanosem2plus', 'tmnanocombo', 'zgemmash1', 'zgemmash2', 'zgemmas2s', 'zgemmass', 'mago', 'enibox', 'sf108', 'x1plus', 'xcombo', 'mutant1100', 'mutant1200', 'mutant1265', 'mutant1500', 'mutant500c', 'mutant530c', 'et4x00', 'et7500', 'et7000', 'et7100', 'et8500', 'et8500s', 'xp1000mk', 'xp1000max', 'xp1000plus', 'sf8', 'tm2t', 'tmsingle', 'vusolo2', 'tmnano', 'iqonios300hd', 'iqonios300hdv2', 'classm', 'axodin', 'axodinc', 'genius', 'evo', 'galaxym6', 'geniuse3hd', 'evoe3hd', 'axase3', 'axase3c', 'dm500hdv2', 'dm500hd', 'dm800', 'mixosf7', 'mixoslumi', 'mixosf5mini', 'gi9196lite', 'ixusszero', 'optimussos1', 'enfinity', 'marvel1', 'bre2ze', 'sezam1000hd', 'mbmini', 'atemio5x00', 'xpeedlx1', 'xpeedlx2', 'vusolose', 'gbipbox', 'formuler3', 'optimussos3plus', 'force1plus', 'vuzero', 'vizyonvita') or (about.getModelString() == 'ini-3000'):
del modes["YPbPr"]
if modes.has_key("Scart") and getBoxType() in ('force4','alien5','osninopro','protek4k','vuzero4k','vuuno4kse','lunix','purehdse','sf5008','et13000','e4hdultra','beyonwizu4','osnino','osninoplus','axultra','gbue4k','gi11000','spycat4kmini','tmtwin4k','tmnanom3','gbquad4k','revo4k','force3uhd','force2nano','dm900', 'dm920', 'wetekplay', 'wetekplay2', 'wetekhub', 'bre2ze4k', 'vuuno4k', 'vuultimo4k', 'sf4008', 'novaip', 'dm520', 'dm525', 'purehd', 'vusolo4k', 'fusionhdse', 'fusionhd', 'force2', 'force2plus', 'force2plushv', 'optimussos', 'tmnanose', 'tmnanosecombo', 'gbx1', 'gbx2', 'gbx3', 'gbx3h', 'gbultraue', 'gbultraueh', 'zgemmai55', 'mutant1500'):
del modes["Scart"]
Expand Down
6 changes: 3 additions & 3 deletions lib/python/Components/About.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def getCPUSpeedString():
return "1,5 GHz"
elif getMachineBuild() in ('formuler1tc','formuler1', 'triplex', 'tiviaraplus'):
return "1,3 GHz"
elif getMachineBuild() in ('u51','u52','u53','u5','u5pvr','h9','cc1'):
elif getMachineBuild() in ('u51','u52','u53','u5','u5pvr','h9','cc1','sf8008'):
return "1,6 GHz"
elif getMachineBuild() in ('vuuno4kse','vuuno4k','dm900','dm920', 'gb7252', 'dags7252','xc7439','8100s'):
return "1,7 GHz"
Expand Down Expand Up @@ -96,7 +96,7 @@ def getCPUSpeedString():
def getCPUString():
if getMachineBuild() in ('dags72604','vuuno4kse','vuuno4k', 'vuultimo4k','vusolo4k', 'vuzero4k', 'hd51', 'hd52', 'sf4008', 'dm900','dm920', 'gb7252', 'dags7252', 'vs1500', 'et1x000', 'xc7439','h7','8100s','et13000','sf5008'):
return "Broadcom"
elif getMachineBuild() in ('u51','u52','u53','u5','u5pvr','h9','cc1'):
elif getMachineBuild() in ('u51','u52','u53','u5','u5pvr','h9','cc1','sf8008'):
return "Hisilicon"
elif getMachineBuild() in ('alien5'):
return "AMlogic"
Expand Down Expand Up @@ -127,7 +127,7 @@ def getCpuCoresString():
if len(splitted) > 1:
splitted[1] = splitted[1].replace('\n','')
if splitted[0].startswith("processor"):
if getMachineBuild() in ('u51','u52','u53','vuultimo4k','u5','u5pvr','h9','alien5','cc1'):
if getMachineBuild() in ('u51','u52','u53','vuultimo4k','u5','u5pvr','h9','alien5','cc1','sf8008'):
cores = 4
elif int(splitted[1]) > 0:
cores = 2
Expand Down
2 changes: 1 addition & 1 deletion lib/python/Components/Harddisk.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ def getBlockDevInfo(self, blockdev):
error = False
removable = False
BLACKLIST=[]
if getMachineBuild() in ('dags72604','u51','u52','u53','u5','u5pvr','cc1','vuzero4k','et1x000','vuuno4k','vuuno4kse','vuultimo4k','vusolo4k','hd51','hd52','sf4008','dm900','dm7080','dm820', 'gb7252', 'dags7252', 'vs1500','h7','8100s','et13000','sf5008'):
if getMachineBuild() in ('dags72604','u51','u52','u53','u5','u5pvr','cc1','sf8008','vuzero4k','et1x000','vuuno4k','vuuno4kse','vuultimo4k','vusolo4k','hd51','hd52','sf4008','dm900','dm7080','dm820', 'gb7252', 'dags7252', 'vs1500','h7','8100s','et13000','sf5008'):
BLACKLIST=["mmcblk0"]
elif getMachineBuild() in ('xc7439'):
BLACKLIST=["mmcblk1"]
Expand Down
2 changes: 1 addition & 1 deletion lib/python/Components/SystemInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def countFrontpanelLEDs():
SystemInfo["HaveMultiBootHD"] = fileCheck("/boot/STARTUP") and getMachineBuild() in ('hd51','vs1500','h7')
SystemInfo["HaveMultiBootCY"] = fileCheck("/boot/STARTUP") and getMachineBuild() in ('8100s')
SystemInfo["HaveMultiBootXC"] = fileCheck("/boot/cmdline.txt")
SystemInfo["HaveMultiBootGB"] = fileCheck("/boot/STARTUP") and getMachineBuild() in ('gb7252','cc1')
SystemInfo["HaveMultiBootGB"] = fileCheck("/boot/STARTUP") and getMachineBuild() in ('gb7252','cc1','sf8008')
SystemInfo["need_dsw"] = getBoxType() not in ('osminiplus','osmega')
SystemInfo["HaveCISSL"] = fileCheck("/etc/ssl/certs/customer.pem") and fileCheck("/etc/ssl/certs/device.pem")
SystemInfo["HaveID"] = fileCheck("/etc/.id")
Expand Down
4 changes: 2 additions & 2 deletions lib/python/Plugins/Extensions/Infopanel/MountManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def updateList2(self):
device = parts[3]
if not search('sd[a-z][1-9]',device) and not search('mmcblk[0-9]p[1-9]',device):
continue
if getMachineBuild() in ('cc1','dags72604','u51','u52','u53','vuzero4k','u5','sf5008','et13000','et1x000','vuuno4k','vuuno4kse', 'vuultimo4k', 'vusolo4k', 'hd51', 'hd52', 'dm820', 'dm7080', 'sf4008', 'dm900', 'dm920', 'gb7252', 'dags7252', 'vs1500','h7','8100s') and search('mmcblk0p[1-9]',device):
if getMachineBuild() in ('sf8008','cc1','dags72604','u51','u52','u53','vuzero4k','u5','sf5008','et13000','et1x000','vuuno4k','vuuno4kse', 'vuultimo4k', 'vusolo4k', 'hd51', 'hd52', 'dm820', 'dm7080', 'sf4008', 'dm900', 'dm920', 'gb7252', 'dags7252', 'vs1500','h7','8100s') and search('mmcblk0p[1-9]',device):
continue
if getMachineBuild() in ('xc7439') and search('mmcblk1p[1-9]',device):
continue
Expand Down Expand Up @@ -411,7 +411,7 @@ def updateList(self):
device = parts[3]
if not search('sd[a-z][1-9]',device) and not search('mmcblk[0-9]p[1-9]',device):
continue
if getMachineBuild() in ('cc1','dags72604','u51','u52','u53','vuzero4k','u5','sf5008','et13000','et1x000','vuuno4k','vuuno4kse', 'vuultimo4k', 'vusolo4k', 'hd51', 'hd52', 'dm820', 'dm7080', 'sf4008', 'dm900', 'dm920', 'gb7252', 'dags7252', 'vs1500','h7','8100s') and search('mmcblk0p[1-9]',device):
if getMachineBuild() in ('sf8008','cc1','dags72604','u51','u52','u53','vuzero4k','u5','sf5008','et13000','et1x000','vuuno4k','vuuno4kse', 'vuultimo4k', 'vusolo4k', 'hd51', 'hd52', 'dm820', 'dm7080', 'sf4008', 'dm900', 'dm920', 'gb7252', 'dags7252', 'vs1500','h7','8100s') and search('mmcblk0p[1-9]',device):
continue
if getMachineBuild() in ('xc7439') and search('mmcblk1p[1-9]',device):
continue
Expand Down
10 changes: 5 additions & 5 deletions lib/python/Plugins/SystemPlugins/SoftwareManager/Flash_online.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def list_files(self, PATH):
files = []
if SystemInfo["HaveMultiBoot"]:
path = PATH
if getMachineBuild() in ("hd51","vs1500","h7","8100s","gb7252","cc1"):
if getMachineBuild() in ("hd51","vs1500","h7","8100s","gb7252","cc1","sf8008"):
for name in os.listdir(path):
if name != 'bootname' and os.path.isfile(os.path.join(path, name)):
try:
Expand Down Expand Up @@ -565,11 +565,11 @@ def Start_Flashing(self):
if self.simulate:
text += _("Simulate (no write)")
if SystemInfo["HaveMultiBoot"]:
if getMachineBuild() in ("cc1"):
if getMachineBuild() in ("cc1","sf8008"):
cmdlist.append("%s -r%s -k%s %s > /dev/null 2>&1" % (ofgwritePath, self.MTDROOTFS, self.MTDKERNEL, flashTmp))
else:
cmdlist.append("%s -n -r -k -m%s %s > /dev/null 2>&1" % (ofgwritePath, self.multi, flashTmp))
elif getMachineBuild() in ("u51","u52","u53","u5","u5pvr","cc1"):
elif getMachineBuild() in ("u51","u52","u53","u5","u5pvr","cc1","sf8008"):
cmdlist.append("%s -n -r%s -k%s %s > /dev/null 2>&1" % (ofgwritePath, MTDROOTFS, MTDKERNEL, flashTmp))
elif getMachineBuild() in ("h9"):
cmdlist.append("%s -n -f -r -k %s > /dev/null 2>&1" % (ofgwritePath, flashTmp))
Expand All @@ -584,11 +584,11 @@ def Start_Flashing(self):
if SystemInfo["HaveMultiBoot"]:
if self.List not in ("STARTUP","cmdline.txt"):
os.system('mkfs.ext4 -F ' + self.devrootfs)
if getMachineBuild() in ("cc1"):
if getMachineBuild() in ("cc1","sf8008"):
cmdlist.append("%s -r%s -k%s %s > /dev/null 2>&1" % (ofgwritePath, self.MTDROOTFS, self.MTDKERNEL, flashTmp))
else:
cmdlist.append("%s -r -k -m%s %s > /dev/null 2>&1" % (ofgwritePath, self.multi, flashTmp))
elif getMachineBuild() in ("u51","u52","u53","u5","u5pvr","cc1"):
elif getMachineBuild() in ("u51","u52","u53","u5","u5pvr","cc1","sf8008"):
cmdlist.append("%s -r%s -k%s %s > /dev/null 2>&1" % (ofgwritePath, MTDROOTFS, MTDKERNEL, flashTmp))
elif getMachineBuild() in ("h9"):
cmdlist.append("%s -f -r -k %s > /dev/null 2>&1" % (ofgwritePath, flashTmp))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
VERSION = "Version 6.1 openATV"

HaveGZkernel = True
if getMachineBuild() in ('cc1','dags72604', 'u51','u52','u53','h9','vuzero4k','u5','u5pvr','sf5008','et13000','et1x000',"vuuno4k","vuuno4kse", "vuultimo4k", "vusolo4k", "spark", "spark7162", "hd51", "hd52", "sf4008", "dags7252", "gb7252", "vs1500","h7",'xc7439','8100s'):
if getMachineBuild() in ('sf8008','cc1','dags72604', 'u51','u52','u53','h9','vuzero4k','u5','u5pvr','sf5008','et13000','et1x000',"vuuno4k","vuuno4kse", "vuultimo4k", "vusolo4k", "spark", "spark7162", "hd51", "hd52", "sf4008", "dags7252", "gb7252", "vs1500","h7",'xc7439','8100s'):
HaveGZkernel = False

def Freespace(dev):
Expand Down Expand Up @@ -222,7 +222,7 @@ def doFullBackup(self, DIRECTORY):
self.IMAGEVERSION = self.imageInfo() #strftime("%Y%m%d", localtime(self.START))
if "ubi" in self.ROOTFSTYPE.split():
self.MKFS = "/usr/sbin/mkfs.ubifs"
elif "tar.bz2" in self.ROOTFSTYPE.split() or SystemInfo["HaveMultiBoot"] or self.MACHINEBUILD in ("u51","u52","u53","u5","u5pvr","cc1"):
elif "tar.bz2" in self.ROOTFSTYPE.split() or SystemInfo["HaveMultiBoot"] or self.MACHINEBUILD in ("u51","u52","u53","u5","u5pvr","cc1","sf8008"):
self.MKFS = "/bin/tar"
self.BZIP2 = "/usr/bin/bzip2"
else:
Expand Down Expand Up @@ -286,7 +286,7 @@ def doFullBackup(self, DIRECTORY):
cmd1 = "%s --root=/tmp/bi/root --faketime --output=%s/root.jffs2 %s" % (self.MKFS, self.WORKDIR, self.MKUBIFS_ARGS)
cmd2 = None
cmd3 = None
elif "tar.bz2" in self.ROOTFSTYPE.split() or SystemInfo["HaveMultiBoot"] or self.MACHINEBUILD in ("u51","u52","u53","u5","u5pvr","cc1"):
elif "tar.bz2" in self.ROOTFSTYPE.split() or SystemInfo["HaveMultiBoot"] or self.MACHINEBUILD in ("u51","u52","u53","u5","u5pvr","cc1","sf8008"):
cmd1 = "%s -cf %s/rootfs.tar -C /tmp/bi/root --exclude ./var/nmbd --exclude ./var/lib/samba/private/msg.sock ." % (self.MKFS, self.WORKDIR)
cmd2 = "%s %s/rootfs.tar" % (self.BZIP2, self.WORKDIR)
cmd3 = None
Expand Down
4 changes: 2 additions & 2 deletions lib/python/Screens/About.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def getAboutText():
cpuMHz = " (1,5 GHz)"
elif getMachineBuild() in ('formuler1tc','formuler1', 'triplex', 'tiviaraplus'):
cpuMHz = " (1,3 GHz)"
elif getMachineBuild() in ('u51','u5','u53','u52','u5pvr','h9','cc1'):
elif getMachineBuild() in ('u51','u5','u53','u52','u5pvr','h9','cc1','sf8008'):
cpuMHz = " (1,6 GHz)"
elif getMachineBuild() in ('vuuno4kse','vuuno4k','dm900','dm920', 'gb7252', 'dags7252','xc7439','8100s'):
cpuMHz = " (1,7 GHz)"
Expand Down Expand Up @@ -141,7 +141,7 @@ def getAboutText():
AboutText += _("GStreamer:\t\t%s") % about.getGStreamerVersionString() + "\n"
AboutText += _("Python:\t\t%s") % about.getPythonVersionString() + "\n"

if getMachineBuild() not in ('h9','vuzero4k','sf5008','et13000','et1x000','hd51','hd52','vusolo4k','vuuno4k','vuuno4kse','vuultimo4k','sf4008','dm820','dm7080','dm900','dm920', 'gb7252', 'dags7252', 'vs1500','h7','xc7439','8100s','u5','u5pvr','u52','u53','u51','cc1'):
if getMachineBuild() not in ('h9','vuzero4k','sf5008','et13000','et1x000','hd51','hd52','vusolo4k','vuuno4k','vuuno4kse','vuultimo4k','sf4008','dm820','dm7080','dm900','dm920', 'gb7252', 'dags7252', 'vs1500','h7','xc7439','8100s','u5','u5pvr','u52','u53','u51','cc1','sf8008'):
AboutText += _("Installed:\t\t%s") % about.getFlashDateString() + "\n"

AboutText += _("Last update:\t\t%s") % getEnigmaVersionString() + "\n"
Expand Down
4 changes: 2 additions & 2 deletions lib/python/Screens/Standby.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def Power(self):
if os.path.exists("/usr/script/StandbyLeave.sh"):
Console().ePopen("/usr/script/StandbyLeave.sh &")

if (getBrandOEM() in ('fulan','clap')):
if (getBrandOEM() in ('fulan','clap') or getBoxType() in ('sf8008')):
open("/proc/stb/hdmi/output", "w").write("on")
#set input to encoder
self.avswitch.setInput("ENCODER")
Expand Down Expand Up @@ -148,7 +148,7 @@ def __init__(self, session):
self.avswitch.setInput("SCART")
else:
self.avswitch.setInput("AUX")
if (getBrandOEM() in ('fulan','clap')):
if (getBrandOEM() in ('fulan','clap') or getBoxType() in ('sf8008')):
open("/proc/stb/hdmi/output", "w").write("off")

if int(config.usage.hdd_standby_in_standby.value) != -1: # HDD standby timer value (box in standby) / -1 = same as when box is active
Expand Down
Loading

0 comments on commit 74fe1fd

Please sign in to comment.