Jump to content


The_Ripper

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

Posts I've Made

In Topic: unofficial Open PLi for AZBox , coming soon

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

In Topic: unofficial Open PLi for AZBox , coming soon

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

In Topic: unofficial Open PLi for AZBox , coming soon

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.

In Topic: unofficial Open PLi for AZBox , coming soon

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.

In Topic: PLI azbox ?

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