[BUG] Dreambox-Neutrino

Wünsche, Anträge, Fehlermeldungen
fergy
Developer
Beiträge: 93
Registriert: Dienstag 13. September 2005, 15:30

[BUG] Dreambox-Neutrino

Beitrag von fergy »

Hello.
I have two strange things.
First, freetype libs 2.1.4 link is sometime down, so I was wondering can We add another link to it? :gruebel:
Second, got following error:
controld.cpp: In function `void setvideooutput(CControld::video_format, bool)':
controld.cpp:445: error: `SAA_MODE_YUV_V' undeclared (first use this function)
Note, it's Dreambox build.
Thx
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: [BUG] Dreambox-Neutrino

Beitrag von seife »

Please tell me your exact configure command so that I can reproduce it.
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: [BUG] Dreambox-Neutrino

Beitrag von seife »

Sorry, cannot reproduce here with:

Code: Alles auswählen

./configure --enable-maintainer-mode --with-cvsdir=/local/seife/src/tmp/dream-test --prefix=/local/seife/src/tmp/dream-test/root --enable-flashrules --with-checkImage=rename --with-rootpartitionsize=0x5A0000 --with-as
sume-kernelsources-old --with-boxtype=dreambox --with-boxmodel=dm500 --disable-ccache
(I don't think that --with-rootpartitionsize does anything on dream, but that's my standard configure script)
fergy
Developer
Beiträge: 93
Registriert: Dienstag 13. September 2005, 15:30

Re: [BUG] Dreambox-Neutrino

Beitrag von fergy »

seife hat geschrieben:Please tell me your exact configure command so that I can reproduce it.
Hello Seife.
Well, I was try to build it with Dreambox branch:

Code: Alles auswählen

make dreamboximage_neutrinoroot
Wasn't use newmake for that, just old standard:

Code: Alles auswählen

cvs -d fergy@cvs.tuxbox.org:/cvs/tuxbox -z3 co -P -rdreambox .
cd cdk
chmod 755 prepare_neutrino
./prepare_neutrino
make checkout_neutrino
make dreamboximage_neutrinoroot
Configure is also default for that branch, nothing extra was enabled or disabled.
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: [BUG] Dreambox-Neutrino

Beitrag von seife »

nobody is using the dreambox branch anymore, especially with neutrino. No Idea why it fails. Just use HEAD.
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: [BUG] Dreambox-Neutrino

Beitrag von rhabarber1848 »

I saw a CVS commit today fixing this. And yes, the dreambox branch is unmaintained.
kamikazemike
Interessierter
Interessierter
Beiträge: 23
Registriert: Donnerstag 21. März 2002, 00:10

Re: [BUG] Dreambox-Neutrino

Beitrag von kamikazemike »

ja ja, die *ewig gestrigen*
wenn das schon keiner nutzt bzw. nutzen soll, würde ich mich an eurer stelle auch um
solche sachen kümmern.
fergy
Developer
Beiträge: 93
Registriert: Dienstag 13. September 2005, 15:30

Re: [BUG] Dreambox-Neutrino

Beitrag von fergy »

@Seife, well, some people still use it and I hawe lots of questions from day by day, because They don't want to use newmake.... for unknown reason. Probably, They are just lazy to switch... :lol:
Anyway, can We update Dreambox branch? I can do that if You agree.

@kamikazemike, yup, there is how-to in wiki and will be nice to someone make update for dreambox. :up:
Thx
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: [BUG] Dreambox-Neutrino

Beitrag von seife »

kamikazemike hat geschrieben:ja ja, die *ewig gestrigen*
wenn das schon keiner nutzt bzw. nutzen soll, würde ich mich an eurer stelle auch um
solche sachen kümmern.
Du weisst, dass das ein Wiki ist? Also dass du dich darum kümmern kannst?
fergy hat geschrieben:@Seife, well, some people still use it and I hawe lots of questions from day by day, because They don't want to use newmake.... for unknown reason. Probably, They are just lazy to switch... :lol:
Anyway, can We update Dreambox branch? I can do that if You agree.

@kamikazemike, yup, there is how-to in wiki and will be nice to someone make update for dreambox. :up:
Thx
It makes no sense to fix dreambox branch neutrino builds as it is totally unsupported. If they want to build enigma from that, well, that's their choice, but they should know that probably nobody here wants to support them.

You are free to fix it, but make sure to not break the enigma setup, because I think dream-MM still might need it to put out an update for old boxes, should they decide they want to (I doubt, but still).

And to you the same as to kamikazemike: It is a wiki, so YOU can fix it. Waiting for "somebody" does not really help.
fergy
Developer
Beiträge: 93
Registriert: Dienstag 13. September 2005, 15:30

Re: [BUG] Dreambox-Neutrino

Beitrag von fergy »

No problem. This time I will triple recheck before make any update to cvs.
About wiki, that link is on German, so I'll rather prefer that @kamikazemike do update on German as My German grammar is not so good for that kind of writing.
I will try to inspect today evening what's happening with that Neutrino build there and will post back here results. Maybe, if someone have a wish to check, please post back so We can update that.
Thank You for responding and cheers. :up:
kamikazemike
Interessierter
Interessierter
Beiträge: 23
Registriert: Donnerstag 21. März 2002, 00:10

Re: [BUG] Dreambox-Neutrino

Beitrag von kamikazemike »

i have build a neutrino-image with the *old-dreambox-branch*.
but it is very tricki.
the problem is (you need): --with-boxtype=dreambox & --with-boxmodel=dm7000 (or dm500...)
--with-boxmodel is not a parameter in this *old-dreambox-branch*... and --with-boxtype is default dm7000 or dm500 (and not dreambox)
so you have to change many things to compile a image.
if you change this parameters to compile neutrino, dreambox-enigma-branch is broken.
sorry for my very bad englisch, but i hope you understand.

cu kami
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: [BUG] Dreambox-Neutrino

Beitrag von seife »

The neutrino buildsystem is simply no longer compatible with the old dreambox cdk/ branch.
I suggest to just use HEAD (don't use newmake! it's dead!). That's the tested path and actually there is no reason to use the outdated stuff in the dreambox branch.
fergy
Developer
Beiträge: 93
Registriert: Dienstag 13. September 2005, 15:30

Re: [BUG] Dreambox-Neutrino

Beitrag von fergy »

kamikazemike hat geschrieben:i have build a neutrino-image with the *old-dreambox-branch*.
but it is very tricki.
the problem is (you need): --with-boxtype=dreambox & --with-boxmodel=dm7000 (or dm500...)
--with-boxmodel is not a parameter in this *old-dreambox-branch*... and --with-boxtype is default dm7000 or dm500 (and not dreambox)
so you have to change many things to compile a image.
if you change this parameters to compile neutrino, dreambox-enigma-branch is broken.
sorry for my very bad englisch, but i hope you understand.

cu kami
Hello. Thx for this post.
Well, when You use prepare_neutrino script, default boxmodel is dreambox and default box is dm7000.
Anyway, yes, it's old and tricky.
@seife, no problem I will check-out that old branch.
C Ya
hannebamb(el)
Foren-Moderator
Beiträge: 297
Registriert: Montag 11. Oktober 2004, 14:51

Re: [BUG] Dreambox-Neutrino

Beitrag von hannebamb(el) »

if you pretend to stick with oldmake.
Otherwise it would be a good idea to just use HEAD which uses newmake now ;)
fergy
Developer
Beiträge: 93
Registriert: Dienstag 13. September 2005, 15:30

Re: [BUG] Dreambox-Neutrino

Beitrag von fergy »

hannebamb(el) hat geschrieben:if you pretend to stick with oldmake.
Otherwise it would be a good idea to just use HEAD which uses newmake now ;)
Well, if there is any possibility to update "old good branch" in other word, old-make I will do that as I have really too much "inboxed" my inbox on my forum from members and my email from other peoples, so probably will be a good thing to fix dreambox branch... just that it is updated and anyone of persons who use it (still) can make own Neutrino image on "old" way. :wink:
No, seriously, most of peoples I know don't want (or don't know) to use newmake. I don't have a time to explain one-by-one how-to, and wiki don't have an newmake how-to for Neutrino-Dreambox... umh, and for enigma too (correct Me if there is link and You will safe My life!!!!). So, logically, I was make an question about that, but for god thing, didn't think that it will be so big thread here (except when somebody was work on new patch and then was more posts...) :dash:
Well, sorry if I was do some "non-usual" thing here, but as few times was broke branch, this time I must to be sure.
Thank You.
R
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: [BUG] Dreambox-Neutrino

Beitrag von seife »

The old way never did work very well. The sooner they start using head, the better. Don't waste resouces riding a dead horse. It won't take you anywhere.

There is nothing special for the dreambox, vs. the dbox howtos. You just select the proper boxtype and boxmodel during configure and then do "make neutrino" or "make flash-neutrino-squashfs". That's it.

Oh - and if it is not a DM500, neutrino will probably not work correctly, as that's the only hardware where it was tested (it might work on dm7000 but has not been tested for a long time).
fergy
Developer
Beiträge: 93
Registriert: Dienstag 13. September 2005, 15:30

Re: [BUG] Dreambox-Neutrino

Beitrag von fergy »

@Seife, thank You for fast reply.
Well, I was just now take an fast look into stuff an make diff ... guess what, image was compiled and it work on My test 7000.

Code: Alles auswählen

--- apps/dvb/zapit/src/controld.cpp 
+++ apps/dvb/zapit/src/controld.cpp 
@@ -41,9 +41,7 @@
 #include <sys/types.h>
 #include <sys/un.h>
 
-#if defined HAVE_DBOX_HARDWARE || defined HAVE_DREAMBOX_HARDWARE || defined HAVE_IPBOX_HARDWARE
 #include <dbox/fp.h>
-#endif
 #include <zapit/audio.h>
 #include <zapit/channel.h>
 
@@ -70,17 +68,8 @@
 #define CONF_FILE CONFIGDIR "/controld.conf"
 #define FORMAT_16_9_FILE CONFIGDIR "/16:9.start"
 #define FORMAT_4_3_FILE  CONFIGDIR "/4:3.start"
-
-#ifndef HAVE_TRIPLEDRAGON
 #define AVS_DEVICE	"/dev/dbox/avs0"
 #define SAA7126_DEVICE	"/dev/dbox/saa0"
-#else
-#include <tddevices.h>
-#define AVS_DEVICE	"/dev/" DEVICE_NAME_AVS
-#define SAA7126_DEVICE	"/dev/" DEVICE_NAME_VIDEO
-#define SAA_MODE_FBAS	VID_OUTFMT_CVBS
-#endif
-
 
 extern CAudio *audioDecoder;
 extern CVideo *videoDecoder;
@@ -131,15 +120,7 @@
 };
 
 avs_vendor_settings current_avs_settings;
-// char aspectRatio_vcr;
-// char aspectRatio_dvb;
-// bool vcr;
-// bool videoOutputDisabled;
-
-#if defined HAVE_DBOX_HARDWARE || defined HAVE_DREAMBOX_HARDWARE || defined HAVE_IPBOX_HARDWARE
 void routeVideo();
-#endif
-
 void sig_catch(int);
 
 #include "avs_settings.cpp"
@@ -350,51 +331,17 @@
 	controldSaveSettings();
 }
 
-#ifdef HAVE_DBOX_HARDWARE
-void setRGBCsync(int val)
-{
-	int fd;
-	settings.csync = val;
-	if ((fd = open(SAA7126_DEVICE, O_RDWR|O_NONBLOCK)) < 0)
-		perror("[controld] " SAA7126_DEVICE);
-
-	else {
-		if ((ioctl(fd, SAAIOSCSYNC, &settings.csync) < 0))
-			perror("[controld] SAAIOSCSYNC");
-		
-		close(fd);
-	}
-	controldconfig->setInt32("csync", settings.csync);
-}
-#else
 void setRGBCsync(int)
 {
 	fprintf(stderr, "[controld] SAAIOSCSYNC only implemented on dbox\n");
 }
-#endif
 
 char getRGBCsync()
 {
-#ifdef HAVE_DBOX_HARDWARE
-	int fd, val=0;
-	if ((fd = open(SAA7126_DEVICE, O_RDWR|O_NONBLOCK)) < 0)
-		perror("[controld] " SAA7126_DEVICE);
-
-	else {
-		if ((ioctl(fd, SAAIOGCSYNC, &val) < 0))
-			perror("[controld] SAAIOGCSYNC");
-		
-		close(fd);
-	}
-	return val;
-#else
 	fprintf(stderr, "[controld] SAAIOGCSYNC only implemented on dbox\n");
 	return 0;
-#endif
-}
-
-#if defined HAVE_DBOX_HARDWARE
-/* AFAIK only the dbox can put different signals on VCR and TV SCART */
+}
+
 void setvcroutput(CControld::video_format format) {
   if ((format != CControld::FORMAT_CVBS) && (format != CControld::FORMAT_SVIDEO)) {
     printf("[controld] illegal format (=%d) specified for VCR output (using CVBS)!", format);
@@ -404,13 +351,7 @@
   controldconfig->setInt32("vcroutput", settings.vcroutput);
   routeVideo();
 }
-#else
-void setvcroutput(CControld::video_format)
-{
-}
-#endif
-
-#if defined HAVE_DBOX_HARDWARE || defined HAVE_DREAMBOX_HARDWARE || defined HAVE_IPBOX_HARDWARE
+
 void setvideooutput(CControld::video_format format, bool bSaveSettings)
 {
 	int fd;
@@ -441,17 +382,19 @@
 	case CControld::FORMAT_SVIDEO:
 		arg = SAA_MODE_SVIDEO;
 		break;
+#if HAVE_DVB_API_VERSION < 3
+	case CControld::FORMAT_YUV_VBS:
+	case CControld::FORMAT_YUV_CVBS:
+		fprintf(stderr, "[controld] FORMAT_YUV_VBS/FORMAT_YUV_CVBS not supported on dreambox\n");
+		return;
+		break;
+#else
 	case CControld::FORMAT_YUV_VBS:
 		arg = SAA_MODE_YUV_V;
 		break;
-#ifdef HAVE_DBOX_HARDWARE
 	case CControld::FORMAT_YUV_CVBS:
 		arg = SAA_MODE_YUV_C;
 		break;
-#else
-	case CControld::FORMAT_YUV_CVBS:
-		fprintf(stderr, "[controld] FORMAT_YUV_CVBS not supported\n");
-		return;
 #endif
 	}
 
@@ -464,60 +407,9 @@
 		
 		close(fd);
 	}
-
-#ifdef HAVE_DBOX_HARDWARE
 	if(format == CControld::FORMAT_RGB || format == CControld::FORMAT_YUV_VBS || format == CControld::FORMAT_YUV_VBS)
 		setRGBCsync(settings.csync);
-#endif
-}
-#endif
-
-#if defined HAVE_GENERIC_HARDWARE || defined HAVE_COOL_HARDWARE
-/* not implemented yet */
-void setvideooutput(CControld::video_format, bool)
-{
-}
-#endif
-
-#ifdef HAVE_TRIPLEDRAGON
-void setvideooutput(CControld::video_format format, bool bSaveSettings)
-{
-	if ((format < 0) || (format >=  CControld::no_video_formats))
-	{
-		printf("[controld] illegal format %d specified (using default)\n", format);
-		format = CControld::FORMAT_RGB; // FORMAT_CVBS switches off RGB - bad default.
-	}
-
-	if (bSaveSettings) // only set settings if we dont come from watchdog
-	{
-		settings.videooutput = format;
-		controldconfig->setInt32("videooutput", settings.videooutput);
-	}
-
-	vidOutFmt_t arg;
-	switch (format)
-	{
-	case CControld::FORMAT_SVIDEO:		// not used on TD
-		arg = VID_OUTFMT_SVIDEO_SVIDEO;
-		break;
-	case CControld::FORMAT_YUV_VBS:		// not used on TD
-	case CControld::FORMAT_YUV_CVBS:
-		arg = VID_OUTFMT_YBR_SVIDEO;
-		break;
-	case CControld::FORMAT_CVBS:
-		arg = VID_OUTFMT_RGBKILL_CVBS;
-		break;
-	// case CControld::FORMAT_RGB:		// this one is best.
-	default:
-		arg = VID_OUTFMT_RGBC_SVIDEO;
-		break;
-	};
-
-	//fprintf(stderr, "%s:%d CControld::video_format: %d arg %d\n",__FUNCTION__,__LINE__, format, arg);
-	if (videoDecoder)
-		videoDecoder->setVideoOutput(arg);
-}
-#endif
+}
 
 void execute_start_file(const char *filename)
 {
@@ -530,7 +422,6 @@
 	}
 }
 
-#ifdef HAVE_DBOX_HARDWARE
 void routeVideo(int v1, int a1,
 		int v2, int a2,
 		int v3, int a3, int fblk)
@@ -559,16 +450,6 @@
 
 		if (ioctl(fd, AVSIOSASW2, &a2) < 0)
 			perror("[controld] AVSIOSASW2");
-
-		// Sagem does not have v3, see CXA2126 data sheet
-		if (settings.boxtype != CControld::TUXBOX_MAKER_SAGEM)
-			if (ioctl(fd, AVSIOSVSW3, &v3) < 0)
-				perror("[controld] AVSIOSVSW3");
-
-		// Only Nokia has a3
-		if (settings.boxtype == CControld::TUXBOX_MAKER_NOKIA)
-			if (ioctl(fd, AVSIOSASW3, &a3) < 0)
-				perror("[controld] AVSIOSASW3");
 	}
 
 	if (fd != -1)
@@ -622,92 +503,7 @@
 
   routeVideo(v1, f.a1, v2, f.a2, v3, f.a3, fblk);
 }
-#endif
-
-#if defined HAVE_DREAMBOX_HARDWARE || defined HAVE_IPBOX_HARDWARE
-void routeVideo()
-{
-	/* i deduced the fblk and scart setting from the enigma code */
-	int scart[6];
-	if (settings.vcr)
-	{
-		scart[0] = 3;
-		scart[1] = 2;
-		scart[2] = 1;
-		scart[3] = 0;
-		scart[4] = 1;
-		scart[5] = 1;
-	}
-	else
-	{
-		scart[0] = 5;
-		scart[1] = 1;
-		scart[2] = 1;
-		scart[3] = 1;
-		scart[4] = 1;
-		scart[5] = 1;
-	}
-
-	switchvalue fblk = 0;
-	if (!settings.videoOutputDisabled &&
-	    !settings.vcr &&
-	    (settings.videooutput == CControld::FORMAT_RGB ||
-	     settings.videooutput == CControld::FORMAT_YUV_VBS))
-		fblk = 1;
-
-	int fd = open(AVS_DEVICE, O_RDWR);
-	if (fd < 0)
-		perror("[controld] " AVS_DEVICE);
-	else
-        {
-		if (ioctl(fd, AVSIOSFBLK, &fblk) < 0)
-			perror("[controld] AVSIOSFBLK");
-		ioctl(fd, AVSIOSVSW1, scart[0]);
-		ioctl(fd, AVSIOSASW1, scart[1]);
-		ioctl(fd, AVSIOSVSW2, scart[2]);
-		ioctl(fd, AVSIOSASW2, scart[3]);
-		ioctl(fd, AVSIOSVSW3, scart[4]);
-		ioctl(fd, AVSIOSASW3, scart[5]);
-	}
-}
-#endif
-
-#ifdef HAVE_TRIPLEDRAGON
-void routeVideo()
-{
-	int fd;
-	printf("[controld] %s VCR SCART\n", settings.vcr?"enabling":"disabling");
-
-	fd = open(AVS_DEVICE, O_RDWR);
-	if (fd < 0)
-	{
-		perror("routeVideo: "AVS_DEVICE);
-		return;
-	}
-
-	if (settings.vcr)
-	{
-		printf("[controld] setting FASTBLANK to follow VCR SCART\n");
-		if (ioctl(fd, IOC_AVS_FASTBLANK_SET, (unsigned char)3) < 0)
-			perror("IOC_AVS_FASTBLANK_SET, 3");
-		/* TODO: should probably depend on aspect ratio setting */
-		printf("[controld] setting SCART_PIN_8 to follow VCR SCART\n");
-		if (ioctl(fd, IOC_AVS_SCART_PIN8_FOLLOW_VCR) < 0)
-			perror("IOC_AVS_SCART_PIN8_FOLLOW_VCR");
-		printf("[controld] routing VCR to TV SCART\n");
-		if (ioctl(fd, IOC_AVS_ROUTE_VCR2TV) < 0)
-			perror("IOC_AVS_ROUTE_VCR2TV");
-	}
-	else
-	{
-		printf("[controld] routing TV encoder to TV SCART\n");
-		if (ioctl(fd, IOC_AVS_ROUTE_ENC2TV) < 0)
-			perror("IOC_AVS_ROUTE_ENC2TV");
-	}
-}
-#endif
-
-#if defined HAVE_DREAMBOX_HARDWARE || defined HAVE_DBOX_HARDWARE || defined HAVE_IPBOX_HARDWARE || defined HAVE_TRIPLEDRAGON
+
 void switch_vcr( bool vcr_on)
 {
 	int activeAspectRatio;
@@ -757,20 +553,12 @@
 {
 	if(onoff)
 	{
-		/* we might need to mute / unmute the AVS */
-		//lcdd.setMode(CLcddTypes::MODE_SCART);
 	}
 	else
 	{
-		//lcdd.setMode(CLcddTypes::MODE_TVRADIO);
 	}
 	switch_vcr( onoff );
 }
-#else
-void setScartMode(bool)
-{
-}
-#endif
 
 void disableVideoOutput(bool disable)
 {
@@ -791,29 +579,11 @@
 		close(fd);
 	}
 #endif
-	/*
-	  arg=disable?0:0xf;
-	  if((fd = open("/dev/dbox/fp0",O_RDWR|O_NONBLOCK)) < 0)
-	  {
-	  perror("[controld] FP DEVICE: ");
-	  return;
-	  }
-
-	  if ( (ioctl(fd,FP_IOCTL_LCD_DIMM,&arg) < 0))
-	  {
-	  perror("[controld] IOCTL: ");
-	  close(fd);
-	  return;
-	  }
-	  close(fd);
-	*/
-
 	if (!disable)
 	{
 		//zapit.setStandby(false);
-		if (!settings.mute)
-			audioDecoder->unmute();
-#if defined HAVE_DREAMBOX_HARDWARE || defined HAVE_IPBOX_HARDWARE
+		audioDecoder->unmute();
+#if HAVE_DVB_API_VERSION < 3
 		startPlayBack(cc);
 #endif
 		setvideooutput(settings.videooutput, false);
@@ -821,16 +591,11 @@
 	}
 	else
 	{
-#ifdef HAVE_TRIPLEDRAGON
-		if (videoDecoder)
-			videoDecoder->setVideoOutput(VID_OUTFMT_DISABLE_DACS);
-#else
 		setvideooutput(CControld::FORMAT_CVBS, false);
-#endif
 		videoDecoder->setVideoFormat(-1);
 		//zapit.setStandby(true);
 		audioDecoder->mute();
-#if defined HAVE_DREAMBOX_HARDWARE || defined HAVE_IPBOX_HARDWARE
+#if HAVE_DVB_API_VERSION < 3
 		stopPlayBack();
 #endif
 	}
@@ -841,21 +606,9 @@
 #ifdef USE_LIBTUXBOX
 	switch ( tuxbox_get_vendor() )
 	{
-	case TUXBOX_VENDOR_SAGEM:
-		settings.boxtype = CControld::TUXBOX_MAKER_SAGEM;
-		break;
-	case TUXBOX_VENDOR_PHILIPS:
-		settings.boxtype = CControld::TUXBOX_MAKER_PHILIPS;
-		break;
-	case TUXBOX_VENDOR_NOKIA:
-		settings.boxtype = CControld::TUXBOX_MAKER_NOKIA;
-		break;
 	case TUXBOX_VENDOR_DREAM_MM:
 		settings.boxtype = CControld::TUXBOX_MAKER_DREAM_MM;
 		break;
-	case TUXBOX_VENDOR_TECHNOTREND:
-		settings.boxtype = CControld::TUXBOX_MAKER_TECHNOTREND;
-		break;
 	default:
 		settings.boxtype = CControld::TUXBOX_MAKER_UNKNOWN;
 	}
@@ -865,11 +618,7 @@
 #endif
 		const char * maker_str[] = {
 			"unknown",
-			"Nokia",
-			"Philips",
-			"Sagem",
-			"Dream Multimedia",
-			"Technotrend"
+			"Dream Multimedia"
 		 };
 
 		char * strmID = getenv("mID");
@@ -886,15 +635,6 @@
 			case 11:
 			case 12:
 				settings.boxtype= CControld::TUXBOX_MAKER_DREAM_MM;
-				break;
-			case 3:	
-				settings.boxtype= CControld::TUXBOX_MAKER_SAGEM;
-				break;
-			case 2:	
-				settings.boxtype= CControld::TUXBOX_MAKER_PHILIPS;
-				break;
-			case 1:
-				settings.boxtype= CControld::TUXBOX_MAKER_NOKIA;
 				break;
 			default:
 				settings.boxtype = CControld::TUXBOX_MAKER_UNKNOWN;
@@ -923,9 +663,7 @@
 	settings.volume                = controldconfig->getInt32("volume", 100);
 	settings.volume_avs            = controldconfig->getInt32("volume_avs", 100);
 	settings.mute                  = controldconfig->getBool("mute", false);
-//	settings.mute_avs              = controldconfig->getBool("mute_avs", false);
 	settings.scale_logarithmic     = controldconfig->getBool("scale_logarithmic", true);
-//	settings.scale_logarithmic_avs = controldconfig->getBool("scale_logarithmic_avs", true);
 	settings.vcroutput             = (CControld::video_format) controldconfig->getInt32("vcroutput", CControld::FORMAT_CVBS);
 	settings.videooutput           = (CControld::video_format) controldconfig->getInt32("videooutput", CControld::FORMAT_RGB);
 	settings.videoformat           = controldconfig->getInt32("videoformat", 2); // fnc2 - 4:3
@@ -960,7 +698,6 @@
 
 void CControldAspectRatioNotifier::aspectRatioChanged( int newAspectRatio )
 {
-	//printf("[controld] CControldAspectRatioNotifier::aspectRatioChanged( %x ) \n", newAspectRatio);
 	/* the videodecoder gets initialized after the watchdog thread is started */
 	if (!videoDecoder)
 		return;
@@ -972,12 +709,6 @@
 	else
 		activeAspectRatio = settings.aspectRatio_dvb;
 
-#ifdef HAVE_TRIPLEDRAGON
-	// probably not correct for VCR scart
-	videoDecoder->setZoomAspect(activeAspectRatio != 0);
-	videoDecoder->setZoom(-1);
-	videoDecoder->setVideoFormat(settings.videoformat);
-#else
 	if (settings.videoformat == 0 && (settings.vcr || !settings.videoOutputDisabled))
 	{
 		switch (activeAspectRatio)
@@ -997,6 +728,5 @@
 	else
 		videoDecoder->setVideoFormat(settings.videoformat);
 #endif
-#endif
-}
-
+}
+
Not an "clean" patch but it work now.
It's not point in that, that image work or not on 7000/56x0/500 as I don't have idea how in real that image must work.... Anything I know about Neutrino is from dissasembling russian image... This one scan and show programs. It is not so fast on 7000 but work, let's say stable for now. Will tell You more tomorrow. Anything else I must take a look/care for?
Cheers,
R
EDIT: sorry for edit but rules don't allow name of image what I was mentioned, so was must to rename it :up:
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: [BUG] Dreambox-Neutrino

Beitrag von seife »

Still this patch is totally wrong as it surely will break tripledragon and dbox (at least)

Just reverting everything we fixed over the last years is not a viable option.
fergy
Developer
Beiträge: 93
Registriert: Dienstag 13. September 2005, 15:30

Re: [BUG] Dreambox-Neutrino

Beitrag von fergy »

I know that this will broke other boxes. I was just make an quick fix (sure, it's crap but at least work) and it's Dreambox solution for Dreambox build so I don't need other things that Dreambox.
Striper
Erleuchteter
Erleuchteter
Beiträge: 625
Registriert: Samstag 8. September 2007, 16:17

Re: [BUG] Dreambox-Neutrino

Beitrag von Striper »

I still don't understand why you are not using HEAD? It works for Dreambox and there are a lot of fixes in it.
prodigy7
Erleuchteter
Erleuchteter
Beiträge: 595
Registriert: Donnerstag 1. Januar 2004, 16:59

Re: [BUG] Dreambox-Neutrino

Beitrag von prodigy7 »

Maybe it's an problem in understanding what HEAD means?

@fergy: If you want build an image with the newest features and bugfixes, you should use the cvs branch, called "HEAD". Normally you should find all what you need unter http://wiki.tuxbox-cvs.sourceforge.net/ ... _erstellen. I know, it's currently not perfect but you can use Google Translation for understanding this page: http://translate.google.de/translate?hl ... _erstellen

I'll grub out my personal "quick & dirty" build script and post it later here - I hope it helps you and our other english speaking tuxbox friends.

Edit:
My script tuxbox-do follows

Code: Alles auswählen

#!/bin/bash
INSTANCES=4
CDKDIR=/public/Development/TuxboxCVS/cdk


if [ "$1" == "config" ] ; then
    cd $CDKDIR
    ./autogen.sh;
    ./configure \
        --enable-maintainer-mode \
        --with-cvsdir=/public/Development/TuxboxCVS \
        --prefix=/public/Development/TuxboxBuild/ \
        --enable-flashrules \
        --with-customizationsdir=/public/Development/TuxboxCustom/ \
        --with-assume-kernelsources-old \
        --enable-ccache \
        --with-boxtype=dreambox \
        --with-boxmodel=dm500 \
        --enable-dreambox-serial-console \
        --with-filesystems=nfs \
        --enable-dreambox-serial-console \
        --enable-radiotext \
        --enable-esd \
        --enable-upnp \
        --enable-flac \
        --enable-movieplayer2

    cd -
fi

if [ "$1" == "clean" ] ; then
    cd $CDKDIR
    make flash-clean
    cd -
fi

if [ "$1" == "moreclean" ] ; then
    cd $CDKDIR
    make flash-clean clean
    cd -
fi

if [ "$1" == "make" ] ; then
    cd $CDKDIR
    time make J=$INSTANCES flash-neutrino-squashfs
    cd -
fi

if [ "$1" == "update" ] ; then
    cd $CDKDIR/..
    cvs update -dPC | tee /tmp/cvs.log
    cd -
fi

if [ "$1" == "copy" ] ; then
    rm /network/movie/root-neutrino-squashfs.img
    cp $CDKDIR/../../TuxboxBuild/cdkflash/root-neutrino-squashfs.img /network/movie
fi

if [ "$1" == "new" ] ; then
    cd $CDKDIR/..
    cvs -d anoncvs@cvs.tuxbox.org:/cvs/tuxbox -z3 co -P .
    cd -
fi

if [ "$1" == "default" ] ; then
    $0 clean; $0 update; $0 config; $0 make; $0 copy
fi

if [ "$1" == "" ] ; then
    echo -en "\n"
    echo -en "config\t\texecute configure script\n"
    echo -en "moreclean\tclean all targets\n"
    echo -en "clean\t\tclean all targets\n"
    echo -en "make\t\tbuild targets\n"
    echo -en "update\t\tupdate cvs sources\n"
    echo -en "copy\t\tcopy root squashfs\n"
    echo -en "new\t\tcall this the first time\n"
    echo -en "default\t\tdo mostly\n"
    echo -en "\n"
fi
Explaination:

Modify the variable which is corresponding with you cpu hardware. If you've an dual core cpu, you can leave 4, if you've an single core cpu, set 2 here (this value set only, how many instances during compiling are used)
Please modify the variable CDKDIR=/public/Development/TuxboxCVS/cdk which set, where the sources are stored and also compiled. If you call the script with the parameter help, you get a list of available commands.
Normally the command tuxbox-do default should work - it calls the most important steps. Maybe you should customize the ./configure parameters for your requirements. This config builds an image for dm500.

Exit 2:
Please call the first time tuxbox-do new before you call tuxbox-do default
fergy
Developer
Beiträge: 93
Registriert: Dienstag 13. September 2005, 15:30

Re: [BUG] Dreambox-Neutrino

Beitrag von fergy »

Hello @prodigy7 and thank You for this useful how-to.
I must to clear things about newmake. It's not a problem that I cannot build neutrino image for dreambox with newmake, it's just note that lot's of peoples I know don't know or don't want to use newmake and have a strong wish to build own neutrino dreambox image. :dash:
This thing is now clear and I was send a link to how-to. :up:

@Striper
Well, as I say above, it's not up to Me. :wink:
prodigy7
Erleuchteter
Erleuchteter
Beiträge: 595
Registriert: Donnerstag 1. Januar 2004, 16:59

Re: [BUG] Dreambox-Neutrino

Beitrag von prodigy7 »

np fergy.
How to build with newmake should be clear now and if the people who won't use newmake have an really good reason, they maybe can post their reasons here and then we can discuss about it.
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: [BUG] Dreambox-Neutrino

Beitrag von seife »

I actually will remove the neutrino targets from the dreambox branch.

a) they dont work
b) they dont make sense
c) they create support load

This will make totally clear what is supported and what is not.
prodigy7
Erleuchteter
Erleuchteter
Beiträge: 595
Registriert: Donnerstag 1. Januar 2004, 16:59

Re: [BUG] Dreambox-Neutrino

Beitrag von prodigy7 »

Okay ... the only think, I'll miss in the current branch is the feature in the dreambox branch, that the leds blinks and looks like the lights on airport panels if an flight is ready for boarding.
Maybe it find it's way in the current branch ? ;-)