Jump to content


The_Ripper

Member Since 28 Jan 2011
Offline Last Active 14 Mar 2016 14:30
-----

#276870 unofficial Open PLi for AZBox , coming soon

Posted by The_Ripper on 15 May 2012 - 20:47

@littlesat

Are you reffering to this variable in openembedded ?

DISTRO_FEED_URI ?= "http://downloads.openazbox.info/feeds/${FEED_NAME}/${MACHINE}"

Thanks


#276862 unofficial Open PLi for AZBox , coming soon

Posted by The_Ripper on 15 May 2012 - 20:02

Sorry,
I forgot to say, because of just few changes as you can see @littlesat, no need to fork and maintain OpenPLI E2 git and keeping sync, it's easy over patch in openembedded to do it for this few files.

Thanks


#276856 unofficial Open PLi for AZBox , coming soon

Posted by The_Ripper on 15 May 2012 - 19:49

@littlesat
Few changes,

diff -Naur a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py
--- a/lib/python/Components/Harddisk.py	2012-05-15 18:04:23.000000000 +0200
+++ b/lib/python/Components/Harddisk.py	2012-05-15 19:05:41.000000000 +0200
@@ -608,7 +608,7 @@
		 try:
			 removable = bool(int(readFile(devpath + "/removable")))
			 dev = int(readFile(devpath + "/dev").split(':')[0])
-			if dev in (7, 31, 253): # loop, mtdblock, romblock
+			if dev in (1, 7, 31, 253): # ram, loop, mtdblock, romblock
				 blacklisted = True
			 if blockdev[0:2] == 'sr':
				 is_cdrom = True
diff -Naur a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
--- a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py	2012-05-14 16:45:54.000000000 +0200
+++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py	2012-04-19 03:26:00.000000000 +0200
@@ -10,6 +10,7 @@
# available and preferred modes, as well as handling the currently
# selected mode. No other strict checking is done.
class VideoHardware:
+	hw_type = HardwareInfo().get_device_name()
	 rates = { } # high-level, use selectable modes.

	 modes = { }  # a list of (high-level) modes for a certain port.
@@ -38,6 +39,11 @@
								 "60Hz":		{ 60: "1080i" },
								 "multi":	{ 50: "1080i50", 60: "1080i" } }

+	if hw_type == "me" or hw_type == "minime" :
+		rates["1080p"] =		{ "50Hz":		{ 50: "1080p50" },
+								"60Hz":		{ 60: "1080p" },
+								"multi":	{ 50: "1080p50", 60: "1080p" } }
+
	 rates["PC"] = {
		 "1024x768": { 60: "1024x768" }, # not possible on DM7025
		 "800x600" : { 60: "800x600" },  # also not possible
@@ -56,7 +62,11 @@

	 modes["Scart"] = ["PAL", "NTSC", "Multi"]
	 modes["YPbPr"] = ["720p", "1080i", "576p", "480p", "576i", "480i"]
-	modes["DVI"] = ["720p", "1080i", "576p", "480p", "576i", "480i"]
+	if hw_type == "me" or hw_type == "minime" :
+		modes["DVI"] = ["720p", "1080p", "1080i", "576p", "480p", "576i", "480i"]
+		config.av.edid_override = True
+	else:
+		modes["DVI"] = ["720p", "1080i", "576p", "480p", "576i", "480i"]
	 modes["DVI-PC"] = ["PC"]

	 widescreen_modes = set(["720p", "1080i"])
@@ -97,10 +107,14 @@

		 self.readAvailableModes()

+		if self.hw_type == "me" or self.hw_type == "minime" : del self.modes["Scart"]
+
		 if self.modes.has_key("DVI-PC") and not self.getModeList("DVI-PC"):
			 print "remove DVI-PC because of not existing modes"
			 del self.modes["DVI-PC"]

+		if self.hw_type == "me" or self.hw_type == "minime" : self.readPreferredModes()
+
		 self.createConfig()
#		self.on_hotplug.append(self.createConfig)

@@ -151,10 +165,13 @@
		 rate = self.rates[mode][rate]
		 for mode in rate.values():
			 # DVI modes must be in "modes_preferred"
-#			if port == "DVI":
-#				if mode not in self.modes_preferred and not config.av.edid_override.value:
-#					print "no, not preferred"
-#					return False
+			if port == "DVI":
+##### Only for test #####
+				if self.hw_type == "me" or self.hw_type == "minime" :
+					if mode not in self.modes_preferred and not config.av.edid_override.value:
+						print "no, not preferred"
+						return False
+##### Only for test #####
			 if mode not in self.modes_available:
				 return False
		 return True
diff -Naur a/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml b/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml
--- a/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml	2012-05-14 16:45:54.000000000 +0200
+++ b/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml	2012-04-25 19:18:56.000000000 +0200
@@ -9,7 +9,7 @@
self.selectKey("OK")
		 </code>
	 </step>
-	<step id="modeselection" nextstep="rateselection" timeout="20" timeoutaction="selectnext">
+	<step id="modeselection" nextstep="rateselection" timeout="30" timeoutaction="selectnext">
		 <text value="Video mode selection." />
		 <displaytext value="Select video mode" />
		 <list type="dynamic" source="listModes" evaluation="modeSelectionMade" onselect="modeSelectionMoved" />
@@ -20,7 +20,7 @@
self["portpic"].hide()
		 </code>
	 </step>
-	<step id="rateselection" nextstep="end" timeout="20" timeoutaction="selectnext">
+	<step id="rateselection" nextstep="end" timeout="30" timeoutaction="selectnext">
		 <condition>
self.condition = (self.port != "DVI" or self.mode == "PC")
		 </condition>		
diff -Naur a/lib/python/Tools/HardwareInfo.py b/lib/python/Tools/HardwareInfo.py
--- a/lib/python/Tools/HardwareInfo.py	2012-05-14 16:45:54.000000000 +0200
+++ b/lib/python/Tools/HardwareInfo.py	2012-04-18 22:47:00.000000000 +0200
@@ -44,4 +44,4 @@
		 return HardwareInfo.device_version

	 def has_hdmi(self):
-		return (HardwareInfo.device_name == 'dm800se' or HardwareInfo.device_name == 'dm500hd' or (HardwareInfo.device_name == 'dm8000' and HardwareInfo.device_version != None))
+		return (HardwareInfo.device_name == 'me' or HardwareInfo.device_name == 'minime' or HardwareInfo.device_name == 'dm800se' or HardwareInfo.device_name == 'dm500hd' or (HardwareInfo.device_name == 'dm8000' and HardwareInfo.device_version != None))


First one block virtual RAM block device, not important patch , can stay default code, but we added to block it.
Second one is changes regarding 1080p support and test for reading preffered modes (what TV return in EDID message)
Third one is incrise in timeout from 20 sec to 30 sec for Sigma, unfortunally Sigma API regarding TV out seems litlle slow compared to BCM API.
Fourth is just to return HDMI support for me/minime.

Plus changes in enigma2.bb regarding overwriting default remote pictures rc.png/rcold.png to me/minime ones.

So thats all patches regarding E2. Rest of the E2 default code works ok and we dont have a plan to change it.


#276836 unofficial Open PLi for AZBox , coming soon

Posted by The_Ripper on 15 May 2012 - 17:33

Hi all,

I am finishing some last preparation because of changes , where can "OpenPLI" string can stay and where not as requested by PLI team members (I hope I didnt miss something and didnt remove it when all files is up , but I want personally to say to PLi team members it will be removed if I miss something, mistake happens) , plus finishing some final touches in Azbox bitbake files.

Main files, like linux source, initramfs for kernel (for rescue mode, GUI update), Sigma MRUA libs, drivers, etc.. will be/is uploaded here

http://code.google.c.../downloads/list


Fork of the OpenPLI openembedded git is here http://azboxopenpli....tweb-index.cgi.
Right now its still dont have Azbox stuff, but soon I will upload all Azbox bitbake files, plus patches and stay sync to OpenPLI openembedded git.

Thanks.


#263753 PLI azbox ?

Posted by The_Ripper on 15 March 2012 - 17:46

@gorski
I am doing seperate OpenPLI git fork.
Regarding kernel source , you can download it from here http://code.google.c.../downloads/list


#263690 PLI azbox ?

Posted by The_Ripper on 15 March 2012 - 14:43

@gorski
I am not behind OpenRSI that's based on OpenPLI.


#261946 Bad Picture Quality of Enigma2 vs Katherin/Humax/Techisat/Azbox/etc...

Posted by The_Ripper on 9 March 2012 - 02:38

@buyukbang
As Sjaaky said I for Azbox DVB driver leave default init values for "MainVideoScaler" , but seems Koreans (original firmware) after many years of development got correct settings you are referring to (better picture).
For example this scaler setting that is used is disabled by default (EMhwlibDeinterlacingMode_Discard_Bob)

DeinterlacingMode
EMhwlibDeinterlacingMode_Discard_Bob
No deinterlacing is used. At each instance, only one field is taken from the source to generate the output picture. This can result in half the vertical resolution on the display.

EMhwlibDeinterlacingMode_Weave
Weave deinterlacing is used. This is the opposite of Bob deinterlacing where the complete input frame is used each time. There is no problem with half resolution, but in the case of motion between the two fields, the result is very bad.

EMhwlibDeinterlacingMode_ConstantBlend
This is a slightly different form of EMhwlibDeinterlacingMode_Weave where a weight is applied on each field in order to diminish the motion's artifacts.

EMhwlibDeinterlacingMode_MotionAdaptative
Both Weave and Bob deinterlacing are used. Two scalers are used, one to compute the movement between field N-1 and N+1, and the other to generate a Weave N frame from field N-1 and field N+1. The other scaler applies a Bob algorithm on field N to generate the frame N. Finally, the two frames are mixed, with an alpha modulated by the movement detection. In the areas where no motion or little motion is detected, the Weave frame N is used, but in case of motion the Bob frame is used. Finally, the alpha can be also statically modified (on top of movement detection) with two weight factors to increase the Weave or Bob weight in the final frame.



This is just one of the many setting Main Vidoe Scaler has and I leave them with default values. I will see to add over some plugin all possible settings so you can play with them.


#256605 PLI azbox ?

Posted by The_Ripper on 21 February 2012 - 13:29

Hi EdoS,
I am working to bring PLI to Azbox, pls. wait ...

Thx