PDA

View Full Version : [DIFFS] UK MODS as of 20-March-2007



Speedy2206
20-03-2007, 02:11 AM
This diff combines all current UK developments into one working file.

For UK developers.
These include:

- Customization/Personalization Menu
- Minimal All-in-Wonder Menu (previously 'DW Extras Menu')
- UK Zapit for Fast Scanning
- Built-in option for NETID on Scan Menu
- Change Stream Information to 'Cable' instead of 'Satellite'
- Infobar POPUP on Channel Change
- UK Profile (Gives correct UK time)
- Cables.xml contains 6952, 6887 and Bruteforce
- Scan.conf defaults to 'Sym6887' instead of 'Kabel Deutschland'
- Change 'Neu Sender' to 'New Channels'
- Change 'Alle Kanal' to 'Unsorted'

Tested and working
20th March 2007 @ 1:09AM
uCodes changing fixed - spotted by bobsylas and NJ, thanks :)

bobsylas
20-03-2007, 02:19 AM
Thanks very much for this speedy will try this tomorrow & let you know how I get on.

This could be my first image.

Speedy2206
20-03-2007, 02:27 AM
Thanks very much for this speedy will try this tomorrow & let you know how I get on.
This could be my first image.

I hope so mate! Took me fooking hours to rewrite those diffs and test them :P

Also just as a sidenote.
To start the cam's you will need to add the attached file to /bin and make it CHMOD 755. Then, in /etc/jnit.d/start or etc/init.d/start_neutrino, add the following line somewhere:


/bin/loadcam &

The loadcam file looks at what value the All-in-Wonder menu is set at, and loads the appropriate camd. So you dont need to do any of this complex writing, just add that one line.

Enjoy.

bobsylas
20-03-2007, 02:35 AM
Very much apreciated m8 looks like I have a lot of work ahead so gonna set my ubuntu off compiling then go to bed.

Thanks

nitr8
20-03-2007, 02:47 AM
does anyone want a console menu to match All-in-Wonder Menu?

if so i can cut down the code of mine, just shout.

something like this:

http://www.team-commando.co.uk/posts/meun.jpg

--me

nitr8
20-03-2007, 03:51 AM
@Speedy2206,

Please speak to me about the SavingAudioPIDs diff i have I think we should include this in here.

--me

cydine
20-03-2007, 02:51 PM
Couple of quick comments:

Does anyone still get front row? You can probably remove the hardcoded front row stuff from descriptors.cpp but leave the pr0n as that's still NVOD.

You can remove SIevents.hpp section. That's part of the sectionsd mod and the rest of it ain't in this diff.

I'll get round to tidying up that scan.cpp code one of these days......

nj2006
20-03-2007, 03:32 PM
does anyone want a console menu to match All-in-Wonder Menu?

if so i can cut down the code of mine, just shout.

something like this:

To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. wouldnt mind that nitr8 if you dont mind m8. if you dont mind sharing it that is.

bobsylas
20-03-2007, 08:59 PM
I hope so mate! Took me fooking hours to rewrite those diffs and test them :P

Also just as a sidenote.
To start the cam's you will need to add the attached file to /bin and make it CHMOD 755. Then, in /etc/jnit.d/start or etc/init.d/start_neutrino, add the following line somewhere:


/bin/loadcam &

The loadcam file looks at what value the All-in-Wonder menu is set at, and loads the appropriate camd. So you dont need to do any of this complex writing, just add that one line.

Enjoy.

Im not having much luck getting the all-in-wonder-menu to change ucodes or cams I put the loadcam file in /bin & chmod755 & put the line in start_neutrino I can get evo or newcamd to work by putting its location in start_neutrino & it works untill I try changing it in the all-in-wonder-menu

If someone can see what im doing wrong it will be much appreciated

cheers

Speedy2206
20-03-2007, 09:13 PM
The cams must go in /var/bin instead of /bin :)

evocamd
mgcamd
newcamd

all three of the above files need to be in /var/bin and CHMOD 755 :)

nj2006
20-03-2007, 09:19 PM
The cams must go in /var/bin instead of /bin :)

evocamd
mgcamd
newcamd

all three of the above files need to be in /var/bin and CHMOD 755 :)

they are in /var/bin m8 and i get same problem

free veiw works fine but emu's dont

Speedy2206
20-03-2007, 09:24 PM
Can you run the /bin/loadcam file from telnet and post the output?
Tested it and worked OK.

Where is /bin/loadcam in your start_neutrino file?

bobsylas
20-03-2007, 09:25 PM
Thanks for that I had the cams in /var/bin/emu moved them to /var/bin & now its working could this be the same for the ucodes they are in /var/tuxbox/ucodes/ ?

cheers

bobsylas
20-03-2007, 09:27 PM
#!/bin/sh

# $Id: start_neutrino,v 1.30 2006/07/23 12:21:37 barf Exp $

date -s 010101001970
sectionsd
timerd
zapit
camd2
/var/bin/loadcam &
controld
nhttpd
until neutrino -f -u ; do
echo "Neutrino exited with nonzero exit status, restarting..."
pidof sectionsd >/dev/null || sectionsd
pidof timerd >/dev/null || timerd
pidof camd2 >/dev/null || camd2
pidof zapit >/dev/null || zapit
pidof controld >/dev/null || controld
pidof nhttpd >/dev/null || nhttpd
done

Speedy2206
20-03-2007, 09:29 PM
Thanks for that I had the cams in /var/bin/emu moved them to /var/bin & now its working could this be the same for the ucodes they are in /var/tuxbox/ucodes/ ?
cheers

The uCodes should be working fine. The menu actually links the appropriate ucode file to ucode.bin rather that doing any of this fancy work with touching files etc. Are you sure that they are not changing?

bobsylas
20-03-2007, 09:32 PM
If I change the ucode then press dbox/service/check ucodes its not changed even after a restart though it doesnt ask for a restart

bobsylas
20-03-2007, 09:38 PM
Nokia D-BOX2 - Kernel 2.4.34-dbox2 (20:28:07).
dbox login: root


BusyBox v1.2.1 (2007.03.20-03:06+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/var # /var/bin/loadcam &
/var # [LOAD-CAMD] Starting Newcamd

nitr8
20-03-2007, 09:39 PM
@ speedy,

i have dound this better than using loadcam, its faster too.

in start_neutrino


if [ -e /var/etc/.evocamd ] ; then
evocamd > /dev/null 2>&1
else
if [ -e /var/etc/.mgcamd ] ; then
mgcamd > /dev/null 2>&1
else
if [ -e /var/etc/.newcamd ] ; then
newcamd > /dev/null 2>&1
fi
fi
fi


extras_menu.cpp


/*
Neutrino-GUI - DBoxII-Project

Copyright (C) 2001 Steffen Hehn 'McClean'
Homepage: Cyberphoria Project Hosting: Willkommen (http://dbox.cyberphoria.org/)

Comments:

This is the "All in Wonder" menu for UK CVS images (formerly called 'extras menu') It allows you to select a
softcam and ucode, turn IDE functionality on or off, and decide which (if any) of the Nagra ROMs to disable.

UPDATE 18/Mar/07 by Speedy2206: I cant be arsed to write a ROM Menu right now.
Somebody else wanna take up the task? :)

License: GPL
*/

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/wait.h>
#include <global.h>
#include <neutrino.h>
#include <driver/fontrenderer.h>
#include <driver/rcinput.h>
#include <daemonc/remotecontrol.h>
#include "widget/menue.h"
#include "widget/messagebox.h"
#include "widget/hintbox.h"
#include "widget/lcdcontroler.h"
#include "widget/keychooser.h"
#include "color.h"
#include "extras_menu.h" /* liam note: include the header file */

#define SOFTCAM_OPTION_COUNT 4
#define UCODE_OPTION_COUNT 6
#define IDE_OPTION_COUNT 2
#define ROM_OPTION_COUNT 4

const CMenuOptionChooser::keyval SOFTCAM_OPTIONS[SOFTCAM_OPTION_COUNT] =
{
{ 0, LOCALE_ALLINWONDER_NONE }, // No Softcam
{ 1, LOCALE_ALLINWONDER_EVOCAMD }, // Evocamd
{ 2, LOCALE_ALLINWONDER_MGCAMD }, // Mgcamd
{ 3, LOCALE_ALLINWONDER_NEWCAMD }, // Newcamd
};

const CMenuOptionChooser::keyval UCODE_OPTIONS[UCODE_OPTION_COUNT] =
{
{ 0, LOCALE_ALLINWONDER_001A }, // uCode 001A
{ 1, LOCALE_ALLINWONDER_0013 }, // uCode 0013 (This is really only useful for Phillips)
{ 2, LOCALE_ALLINWONDER_0014 }, // uCode 0014 (0014 is essentially the same as 'built in')
{ 3, LOCALE_ALLINWONDER_00F0 }, // uCode 00F0 (Again, really only useful for Phillips)
{ 4, LOCALE_ALLINWONDER_00F1 }, // uCode 00F1 (Some Nokia users have reported success)
{ 5, LOCALE_ALLINWONDER_VORT }, // Vortex
};

const CMenuOptionChooser::keyval IDE_OPTIONS[IDE_OPTION_COUNT] =
{
{ 0, LOCALE_ALLINWONDER_ITEMDISABLED }, // IDE Disabled
{ 1, LOCALE_ALLINWONDER_ITEMENABLED }, // IDE Enabled
};

UberNinja_AllInWonder::UberNinja_AllInWonder()
: configfile('\t')
{
frameBuffer = CFrameBuffer::getInstance();
width = 600;
hheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();
mheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
height = hheight+13*mheight+ 10;
x=(((g_settings.screen_EndX- g_settings.screen_StartX)-width) / 2) + g_settings.screen_StartX;
y=(((g_settings.screen_EndY- g_settings.screen_StartY)-height) / 2) + g_settings.screen_StartY;
}

int UberNinja_AllInWonder::exec(CMenuTarget* parent, const std::string & actionKey)
{
int res = menu_return::RETURN_REPAINT;

if(actionKey=="restart_softcam")
{
/* Restart the Softcam - Here we write our changes to the configuration file, look at which softcam has
been selected, and then restart it. We display a hintbox during this operation, so that the user knows
that an operation is occuring and that the box has not frozen. */

configfile.setInt32("allinwonder_activesoftcam", g_settings.allinwonder_activesoftcam);

if (g_settings.allinwonder_activesoftcam == 0)
{
/* Value = 0. If we get here then the user selected 'NONE' as the softcam, and we therefore have
nothing to do. Show a message detailing this problem, and then continue. */
ShowHintUTF(LOCALE_MESSAGEBOX_INFO, "There is no active softcam to start/restart.");
printf("[ALL-IN-WONDER MENU] User did not select a softcam to start or restart"); // Debug message
}
else if (g_settings.allinwonder_activesoftcam == 1)
{
/* Value = 1. If we get here then the user selected 'EVOCAMD' as the softcam. For simplicity sake,
we just kill all the softcams here in one go, instead of trying to decide which one was previously
active. This also eliminates any problems whereby a user may have manually loaded a softcam via
telnet; and the new cam loaded by this menu could cause possible interference. */

CHintBox * softcamBox = new CHintBox(LOCALE_ALLINWONDER_HEAD, "Evocamd is (re)starting, please wait...");
softcamBox->paint();
printf("[ALL-IN-WONDER MENU] Attempting to (re)start Evocamd"); // Debug message
system("killall -q evocamd"); // -- Dont check the return value
system("killall -q mgcamd"); // -- Dont check the return value
system("killall -q newcamd"); // -- Dont check the return value
system("touch /var/etc/.evocamd");
system("/var/evocamd &"); // -- Use /var/bin for this as we may have a SquashFS image and
// -- the user may wish to upgrade cam version at a later date.
softcamBox->hide();
delete softcamBox;
}
else if (g_settings.allinwonder_activesoftcam == 2)
{
/* Value = 2. If we get here then the user selected 'MGCAMD' as the softcam. For simplicity sake,
we just kill all the softcams here in one go, instead of trying to decide which one was previously
active. This also eliminates any problems whereby a user may have manually loaded a softcam via
telnet; and the new cam loaded by this menu could cause possible interference. */

CHintBox * softcamBox = new CHintBox(LOCALE_ALLINWONDER_HEAD, "Mgcamd is (re)starting, please wait...");
softcamBox->paint();
printf("[ALL-IN-WONDER MENU] Attempting to (re)start Mgcamd"); // Debug message
system("killall -q evocamd"); // -- Dont check the return value
system("killall -q mgcamd"); // -- Dont check the return value
system("killall -q newcamd"); // -- Dont check the return value
system("touch /var/etc/.mgcamd");
system("/var/mgcamd &"); // -- Use /var/bin for this as we may have a SquashFS image and
// -- the user may wish to upgrade cam version at a later date.
softcamBox->hide();
delete softcamBox;
}
else if (g_settings.allinwonder_activesoftcam == 3)
{
/* Value = 3. If we get here then the user selected 'NEWCAMD' as the softcam. For simplicity sake,
we just kill all the softcams here in one go, instead of trying to decide which one was previously
active. This also eliminates any problems whereby a user may have manually loaded a softcam via
telnet; and the new cam loaded by this menu could cause possible interference. */

CHintBox * softcamBox = new CHintBox(LOCALE_ALLINWONDER_HEAD, "Newcamd is (re)starting, please wait...");
softcamBox->paint();
printf("[ALL-IN-WONDER MENU] Attempting to (re)start Newcamd"); // Debug message
system("killall -q evocamd"); // -- Dont check the return value
system("killall -q mgcamd"); // -- Dont check the return value
system("killall -q newcamd"); // -- Dont check the return value
system("touch /var/etc/.newcamd");
system("/var/newcamd &"); // -- Use /var/bin for this as we may have a SquashFS image and
// -- the user may wish to upgrade cam version at a later date.
softcamBox->hide();
delete softcamBox;
}
return res;
}
else if(actionKey=="apply_ucode")
{
/* Apply uCode - In this section we write our changes to the configuration file, remove our symlink to
ucode.bin, and then create a new link to the required file. By utilizing the built-in methods of the
neutrino.conf load and save calls we eliminate the need to create 'placeholders' and the necessity to
'touch' files. */

configfile.setInt32("allinwonder_activeucode", g_settings.allinwonder_activeucode);

if (g_settings.allinwonder_activeucode == 0) // -- uCode 001A
{
system("rm /var/tuxbox/ucodes/ucode.bin");
system("ln -sf /var/tuxbox/ucodes/ucode_001A.bin /var/tuxbox/ucodes/ucode.bin");
system("touch /var/etc/.001A");
printf("[ALL-IN-WONDER MENU] uCode 001A has been set");
}
else if (g_settings.allinwonder_activeucode == 1) // -- uCode 0013
{
system("rm /var/tuxbox/ucodes/ucode.bin");
system("ln -sf /var/tuxbox/ucodes/ucode_0013.bin /var/tuxbox/ucodes/ucode.bin");
system("touch /var/etc/.0013");
printf("[ALL-IN-WONDER MENU] uCode 0013 has been set");
}
else if (g_settings.allinwonder_activeucode == 2) // -- uCode 0014
{
system("rm /var/tuxbox/ucodes/ucode.bin");
system("ln -sf /var/tuxbox/ucodes/ucode_0014.bin /var/tuxbox/ucodes/ucode.bin");
system("touch /var/etc/.0014");
printf("[ALL-IN-WONDER MENU] uCode 0014 has been set");
}
else if (g_settings.allinwonder_activeucode == 3) // -- uCode 00F0
{
system("rm /var/tuxbox/ucodes/ucode.bin");
system("ln -sf /var/tuxbox/ucodes/ucode_00F0.bin /var/tuxbox/ucodes/ucode.bin");
system("touch /var/etc/.00F0");
printf("[ALL-IN-WONDER MENU] uCode 00F0 has been set");
}
else if (g_settings.allinwonder_activeucode == 4) // -- uCode 00F1
{
system("rm /var/tuxbox/ucodes/ucode.bin");
system("ln -sf /var/tuxbox/ucodes/ucode_00F1.bin /var/tuxbox/ucodes/ucode.bin");
system("touch /var/etc/.00F1");
printf("[ALL-IN-WONDER MENU] uCode 00F1 has been set");
}
else if (g_settings.allinwonder_activeucode == 5) // -- Vortex
{
system("rm /var/tuxbox/ucodes/ucode.bin");
system("ln -sf /var/tuxbox/ucodes/ucode_vortex.bin /var/tuxbox/ucodes/ucode.bin");
system("touch /var/etc/.Vortex");
printf("[ALL-IN-WONDER MENU] uCode Vortex has been set");
}
return res;
}

if (parent) { parent->hide(); }
ShowWonderMenu();
return res;
}

void UberNinja_AllInWonder::hide()
{
frameBuffer->paintBackgroundBoxRel(x,y, width,height);
}

void UberNinja_AllInWonder::ShowWonderMenu()
{
CMenuWidget* wonderMenu = new CMenuWidget(LOCALE_ALLINWONDER_HEAD,"settings.raw");

wonderMenu->addItem(GenericMenuSeparator);
wonderMenu->addItem(GenericMenuBack);
wonderMenu->addItem(GenericMenuSeparatorLine);
wonderMenu->addItem(new CMenuForwarder(LOCALE_ALLINWONDER_RESTARTCAM, true, NULL, this, "restart_softcam", CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED));
wonderMenu->addItem(new CMenuForwarder(LOCALE_ALLINWONDER_APPLYUCODE, true, NULL, this, "apply_ucode", CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN));
//wonderMenu->addItem(new CMenuForwarder(LOCALE_ALLINWONDER_ROMMENU, true, NULL, new UberNinja_RomMenu(), something...));
wonderMenu->addItem(GenericMenuSeparatorLine);

wonderMenu->addItem(new CMenuOptionChooser(LOCALE_ALLINWONDER_ACTIVESOFTCA M, (int *)&g_settings.allinwonder_activesoftcam, SOFTCAM_OPTIONS, SOFTCAM_OPTION_COUNT, true, NULL));
wonderMenu->addItem(new CMenuOptionChooser(LOCALE_ALLINWONDER_ACTIVEUCODE, (int *)&g_settings.allinwonder_activeucode, UCODE_OPTIONS, UCODE_OPTION_COUNT, true, NULL));

wonderMenu->exec (NULL, "");
wonderMenu->hide ();
delete wonderMenu;

// IDE stuff has been removed (will be in CVS as standard soon)

}
// End of Wonder Menu
// -- Speedy2206
// ================================================== ==================================================

Speedy2206
20-03-2007, 09:39 PM
I just looked mate and your right... I got lazy when I copy and pasted the code ;)

If you look in apps/tuxbox/neutrino/src/gui/extras_menu.cpp you'll find the following lines:



if (g_settings.allinwonder_activeucode == 0) // -- uCode 001A

else if (g_settings.allinwonder_activeucode == 1)// -- uCode 0013

else if (g_settings.allinwonder_activeucode == 1)// -- uCode 0014

else if (g_settings.allinwonder_activeucode == 1)// -- uCode 00F0

else if (g_settings.allinwonder_activeucode == 1)// -- uCode 00F1

else if (g_settings.allinwonder_activeucode == 1)// -- Vortex


As you can see, all the values are set to 1 (oops). These should be changed to:



if (g_settings.allinwonder_activeucode == 0) // -- uCode 001A

else if (g_settings.allinwonder_activeucode == 1)// -- uCode 0013

else if (g_settings.allinwonder_activeucode == 2)// -- uCode 0014

else if (g_settings.allinwonder_activeucode == 3)// -- uCode 00F0

else if (g_settings.allinwonder_activeucode == 4)// -- uCode 00F1

else if (g_settings.allinwonder_activeucode == 5)// -- Vortex



Make these changes, and then save the extras_menu.cpp file.
Then... DO NOT WORRY, YOU DO NOT HAVE TO COMPILE THE ENTIRE IMAGE AGAIN!

instead of doing a make flash-neutrino-jffs2-2x, do this:

1. cd apps/tuxbox/neutrino
2. make
(wait for compile to complete)
3. cd src/.libs
4. cp neutrino /home/username

You'll then have a file called "neutrino" in your home directory. Just copy that file to your DBOX and put it into /bin, making sure it is CHMOD 755.

Speedy2206
20-03-2007, 09:41 PM
@nitr8,
Again.. thats touching the files, which is something I dont like :( but if you wish to do it that way then fine by me! ;)

Speedy2206
20-03-2007, 09:48 PM
Maybe one day I will release something that actually works first time :(

bobsylas
20-03-2007, 11:36 PM
I just looked mate and your right... I got lazy when I copy and pasted the code ;)

If you look in apps/tuxbox/neutrino/src/gui/extras_menu.cpp you'll find the following lines:



if (g_settings.allinwonder_activeucode == 0) // -- uCode 001A

else if (g_settings.allinwonder_activeucode == 1)// -- uCode 0013

else if (g_settings.allinwonder_activeucode == 1)// -- uCode 0014

else if (g_settings.allinwonder_activeucode == 1)// -- uCode 00F0

else if (g_settings.allinwonder_activeucode == 1)// -- uCode 00F1

else if (g_settings.allinwonder_activeucode == 1)// -- Vortex


As you can see, all the values are set to 1 (oops). These should be changed to:



if (g_settings.allinwonder_activeucode == 0) // -- uCode 001A

else if (g_settings.allinwonder_activeucode == 1)// -- uCode 0013

else if (g_settings.allinwonder_activeucode == 2)// -- uCode 0014

else if (g_settings.allinwonder_activeucode == 3)// -- uCode 00F0

else if (g_settings.allinwonder_activeucode == 4)// -- uCode 00F1

else if (g_settings.allinwonder_activeucode == 5)// -- Vortex



Make these changes, and then save the extras_menu.cpp file.
Then... DO NOT WORRY, YOU DO NOT HAVE TO COMPILE THE ENTIRE IMAGE AGAIN!

instead of doing a make flash-neutrino-jffs2-2x, do this:

1. cd apps/tuxbox/neutrino
2. make
(wait for compile to complete)
3. cd src/.libs
4. cp neutrino /home/username

You'll then have a file called "neutrino" in your home directory. Just copy that file to your DBOX and put it into /bin, making sure it is CHMOD 755.

Finaly managed to do this edit & put it in a clean image just to make sure its nothing ive done to mess it up cams still working great but ucodes still wont change :cry:

bobsylas
20-03-2007, 11:43 PM
if (g_settings.allinwonder_activeucode == 0) // -- uCode 001A
{
system("rm /var/tuxbox/ucodes/ucode.bin");
system("ln -sf /var/tuxbox/ucodes/ucode_001A.bin /var/tuxbox/ucodes/ucode.bin");
printf("[ALL-IN-WONDER MENU] uCode 001A has been set");
}
else if (g_settings.allinwonder_activeucode == 1) // -- uCode 0013
{
system("rm /var/tuxbox/ucodes/ucode.bin");
system("ln -sf /var/tuxbox/ucodes/ucode_0013.bin /var/tuxbox/ucodes/ucode.bin");
printf("[ALL-IN-WONDER MENU] uCode 0013 has been set");
}
else if (g_settings.allinwonder_activeucode == 2) // -- uCode 0014
{
system("rm /var/tuxbox/ucodes/ucode.bin");
system("ln -sf /var/tuxbox/ucodes/ucode_0014.bin /var/tuxbox/ucodes/ucode.bin");
printf("[ALL-IN-WONDER MENU] uCode 0014 has been set");
}
else if (g_settings.allinwonder_activeucode == 3) // -- uCode 00F0
{
system("rm /var/tuxbox/ucodes/ucode.bin");
system("ln -sf /var/tuxbox/ucodes/ucode_00F0.bin /var/tuxbox/ucodes/ucode.bin");
printf("[ALL-IN-WONDER MENU] uCode 00F0 has been set");
}
else if (g_settings.allinwonder_activeucode == 4) // -- uCode 00F1
{
system("rm /var/tuxbox/ucodes/ucode.bin");
system("ln -sf /var/tuxbox/ucodes/ucode_00F1.bin /var/tuxbox/ucodes/ucode.bin");
printf("[ALL-IN-WONDER MENU] uCode 00F1 has been set");
}
else if (g_settings.allinwonder_activeucode == 5) // -- Vortex
{
system("rm /var/tuxbox/ucodes/ucode.bin");
system("ln -sf /var/tuxbox/ucodes/ucode_vortex.bin /var/tuxbox/ucodes/ucode.bin");
printf("[ALL-IN-WONDER MENU] uCode Vortex has been set");


this is what I altered

Speedy2206
21-03-2007, 12:25 AM
That looks right. Do you have these files in /var/tuxbox/ucodes: ??

ucode_0014.bin
ucode_001A.bin
ucode_00F0.bin
ucode_00F1.bin
ucode_vortex.bin

Try deleting ucode.bin and then changing uCode in the All in Wonder menu. Apply the setting and then see if the ucode.bin file reappears. If it does then the menu is working correctly; its just your ucode files. If the ucode.bin file does not reappear then something else is wrong.

bobsylas
21-03-2007, 12:32 AM
I have all those ucodes plus one more cam-alpha.bin I deleted ucode.bin changed ucodes & it reapeared

Speedy2206
21-03-2007, 12:38 AM
Hmmm. In that case either all your ucode files as the same, or the uCode check menu within Neutrino doesnt function properly and doesnt correctly detect which uCode is being used.

Are all of your ucode files unique?
I mean is ucode_00F0.bin actually 00F0, or is it really just a renamed version of ucode_0014.bin?

My feeling is that:

ucode_0014.bin = ucode_0014.bin
ucode_001A.bin = ucode_0014.bin
ucode_00F0.bin = ucode_0014.bin
ucode_00F1.bin = ucode_0014.bin
ucode_vortex.bin = ucode_0014.bin

... or something similar.
I dunno. But the presence of the ucode.bin reappearing confirms that the menu is working correctly.

Anyone have any suggestions?

bobsylas
21-03-2007, 12:45 AM
When I delete ucode.bin & change ucodes dbox/service/check ucodes says its changed ? my ucodes were part of the image when I compiled it so is there somewhere I can download them ?

bobsylas
21-03-2007, 12:59 AM
Copied over some ucodes from another image & same thing is happening ?

pt-1
21-03-2007, 01:02 AM
chmod 755 ucode.bin ..?

bobsylas
21-03-2007, 01:10 AM
chmod 755 ucode.bin ..?

Thanks for that m8 but still didnt work

Speedy2206
21-03-2007, 01:19 AM
Try typing this from telnet:

rm /var/tuxbox/ucodes/ucode.bin
ln -s /var/tuxbox/ucodes/ucode_00F0.bin /var/tuxbox/ucodes/ucode.bin

.. then reboot and try that 'ucode check' menu.
If it says 00F0 then everything is OK and something is wrong with the All-in-Wonder.

bobsylas
21-03-2007, 01:58 AM
just done this &

UCode: ucode_0014 (built-in)

is displayed in the ucode check menu

Speedy2206
21-03-2007, 09:49 AM
Then I think it may be the ucode check menu which is at fault; and that the uCode are actually changing :)

nj2006
21-03-2007, 12:26 PM
Then I think it may be the ucode check menu which is at fault; and that the uCode are actually changing :)

if its the ucode check at fault how come i can change ucodes using shellexe script to do so. do you think the making of the symlink is wrong shouldnt it be


ls- l /var/tuxbox/ucodes/vortex.bin /var/tuxbox/ucodes/ucode.*

because thats how it makes the symlink in the shellexe .

please forgive me if this is stupid segestion as im just trying to learn and get this problem fixed.

but then agian when deleting ucode.bin and setting ucode in allinwonder menu it remakes the symlink.
i can see this is gonna pickle me

Speedy2206
21-03-2007, 02:31 PM
@NJ... using shellexec within the same compiled image as the ucodes menu works correctly? Can you post your shellexec.conf file? This is a tricky one. Hmm.

nj2006
21-03-2007, 04:04 PM
here you go m8.

nj2006
21-03-2007, 04:20 PM
here is a neutrino file for the changes i made to the code i cant test it as my box dies everytime i try to swap neutrino.

this has the symlink bits changed to the above code .

ls- l /var/tuxbox/ucodes/vortex.bin /var/tuxbox/ucodes/ucode.*

bobsylas
21-03-2007, 11:50 PM
It would seem you cant change the ucode untill you delete ucode.bin select ucode reboot the box & new ucode is displayed then if you change to any ucode & reboot nothing has changed unless you chose ucode_001A ? then it will change to this.

nj2006
22-03-2007, 12:03 AM
@bob you using the ubuntu distro from image school m8 ?

edited because root folder has nothingto do with it LOL

bobsylas
22-03-2007, 12:10 AM
@bob you using the ubuntu distro from image school m8 ?

yes thats the one I am using at the mo cos I messed my own up
but this came ready setup saves a lot of time every time I destroy it

bobsylas
22-03-2007, 01:08 AM
here is a neutrino file for the changes i made to the code i cant test it as my box dies everytime i try to swap neutrino.
this has the symlink bits changed to the above code .
ls- l /var/tuxbox/ucodes/vortex.bin /var/tuxbox/ucodes/ucode.*

after copying neutrino file you are chmod755 it arnt you ?

nj2006
22-03-2007, 01:15 AM
yes
i am lol

it dont get half way through copy

bobsylas
22-03-2007, 01:17 AM
Does it get half way through then says file exists replace ?

nj2006
22-03-2007, 01:28 AM
after that when i click overwrite it goes 345k then gives a error 550 code

bobsylas
22-03-2007, 01:35 AM
I use flashfxp & delete /bin/neutrino then copy new neutrino to /bin but got error file exist replace ? if you check the file sizes & there is a big different like what happened to me I think the box ran out of space so deleted some stuff that wasnt needed & copied ok.

scruff1963
22-03-2007, 07:13 AM
if you have an image you compiled yourself then the easy way to test another neutrino file is dump it in

root-neutrino-jffs2/bin

overwriting the existing one.

delete root-neutrino.jffs2, neutrino-jffs2.img1x and neutrino-jffs2.img2x
do not delete the jffs2.flfs1x and jffs2.flfs2x

run a compile
make flash-neutrino-jffs2-all

this will compile with your changed neutrino in, using the root-neutrino-jffs2 you can treat it as your box layout and compile ready to run images.
If you delete the jffs2.flfs1x and jffs2.flfs2x or do a make clean flash-neutrino-jffs2-all then all changes will be lost in root-neutrino-jffs2

bobsylas
22-03-2007, 11:30 PM
Then I think it may be the ucode check menu which is at fault; and that the uCode are actually changing :)

I think your right about this m8 Ive been playing with another menu to change ucodes, after a new selection the box reboots & if you go back to that menu the ucode you selected is grayed out & cant be selected again prob cos its in use, & this contradicts what the ucode check menu says

Speedy2206
23-03-2007, 01:17 AM
I think your right about this m8 Ive been playing with another menu to change ucodes, after a new selection the box reboots & if you go back to that menu the ucode you selected is grayed out & cant be selected again prob cos its in use, & this contradicts what the ucode check menu says

Can we pretend that my menu works then? It would make me feel so much better lol :) So when can we expect to see a sample/teaser of your image? Got a release date sorted? I got a feeling that its gunna be good.

bobsylas
23-03-2007, 01:22 AM
Im looking using the all-in-wonder-menu to change the cams this works good but could the ucode option be removed if its not going to work ? also should there be ide options in this menu cos none are in mine.

cheers

Speedy2206
23-03-2007, 01:32 AM
I guess a good way to test would be to change between uCode 0014 and uCode 001A. One of them records only FTA channels and one of them records the 'extra' channels too. If switching causes only FTA to record then the ucode switching works and the neutrino ucode checker itself is at fault. If the checker itself is at fault then we can remove this from the neutrino menus and just use the all-in-wonder. If it is infact the all-in-wonder that doesnt switch properly then we can go further. The IDE options were deliberately taken out due to the IDE menu that the germans were working on. If you want to add the IDE menu to your image then I can post the diffs as it was quite hard to piece together information in the german thread as to how to compile it.

bobsylas
23-03-2007, 01:47 AM
Sorry about this m8 but could it be something in your all-in-wonder-menu that causes ucodes to not display correctly in ucode menu ? cos when I compile an image without these diffs ucode menu is ok ? I also want to keep personalised menus witch is brill & also could use the ide menu if pos ?

bobsylas
23-03-2007, 01:55 AM
So when can we expect to see a sample/teaser of your image? Got a release date sorted? I got a feeling that its gunna be good

I could send you the image I have on my box if you have somewhere for me to send it cos dont want post it on forum yet

Speedy2206
23-03-2007, 02:31 PM
Hang fire bob; version 1.2 of the All-in-Wonder menu will be uploaded today which has a ROM menu and fixed uCode changing :)

Speedy2206
24-03-2007, 02:00 AM
Updated mega diff 24th March 2007 - fully tested and working. Combines everything all in one.

http://www.njlworld.com/~speedy/diffs.php

bobsylas
29-03-2007, 10:20 PM
Hi just applied this diff to a clean cvs & got an error if anyone knows what it is


ubuntu@ubuntu:~$ cd tuxbox-cvs
ubuntu@ubuntu:~/tuxbox-cvs$ patch -p1 < UK-24-03-2007.diff
patching file apps/tuxbox/neutrino/src/gui/rom_menu.cpp
patching file apps/tuxbox/neutrino/src/gui/rom_menu.h
patching file apps/tuxbox/neutrino/src/gui/customize_menu.cpp
patching file apps/tuxbox/neutrino/src/gui/customize_menu.h
patching file apps/tuxbox/neutrino/src/gui/extras_menu.h
patching file apps/tuxbox/neutrino/src/gui/extras_menu.cpp
patching file apps/dvb/config/cables.xml
patching file apps/dvb/zapit/include/zapit/descriptors.h
patching file apps/dvb/zapit/include/zapit/nit.h
patching file apps/dvb/zapit/src/bouquets.cpp
patching file apps/dvb/zapit/src/scan.cpp
patching file apps/dvb/zapit/src/zapsi/descriptors.cpp
patching file apps/dvb/zapit/src/zapsi/nit.cpp
patching file apps/dvb/zapit/src/zapsi/sdt.cpp
patching file apps/tuxbox/neutrino/daemons/sectionsd/SIevents.hpp
patching file apps/tuxbox/neutrino/data/locale/english.locale
patching file apps/tuxbox/neutrino/src/daemonc/remotecontrol.cpp
patching file apps/tuxbox/neutrino/src/gui/Makefile.am
patching file apps/tuxbox/neutrino/src/gui/streaminfo2.cpp
Hunk #1 FAILED at 588.
1 out of 1 hunk FAILED -- saving rejects to file apps/tuxbox/neutrino/src/gui/streaminfo2.cpp.rej
patching file apps/tuxbox/neutrino/src/gui/streaminfo.cpp
patching file apps/tuxbox/neutrino/src/neutrino.cpp
patching file apps/tuxbox/neutrino/src/neutrino.h
patching file apps/tuxbox/neutrino/src/system/locals.h
patching file apps/tuxbox/neutrino/src/system/locals_intern.h
patching file apps/tuxbox/neutrino/src/system/setting_helpers.cpp
patching file apps/tuxbox/neutrino/src/system/setting_helpers.h
patching file apps/tuxbox/neutrino/src/system/settings.cpp
patching file apps/tuxbox/neutrino/src/system/settings.h
patching file cdk/root/etc/profile
ubuntu@ubuntu:~/tuxbox-cvs$


cheers

Speedy2206
29-03-2007, 10:49 PM
Yeah I saw that too. Doesnt seem to affect the build tho as all that hunk in streaminfo2.cpp does is change the word "Satellite / Provider:" to "Cable / UKCVS:" so nothing really major :)

It does demonstrate tho how frequently the CVS is updated and how quickly diffs start to become awkward to use.

renwich
29-03-2007, 10:52 PM
yep I second that, its just an anoyance,,,, build still works

bob808
16-04-2007, 01:04 PM
Speedy - any updates to your 24 march diffs? I am just trying to do a new build with them, but am getting errors...

If so then great, otherwise I will have a look and see what the issues are and try to resolve...


bob808

nitr8
16-04-2007, 01:31 PM
Speedy - any updates to your 24 march diffs? I am just trying to do a new build with them, but am getting errors...
If so then great, otherwise I will have a look and see what the issues are and try to resolve...
bob808

just apply the rejects manly and then make your own diffs.

try and do some of your own work surly if you able to build and image you able to manly apply a diff. If not then you should not be building images i guess.

--me

bob808
16-04-2007, 02:15 PM
nitr8 mate - I said I would be happy to have a go at that - just if it has already been updated then there is no need...

If I manage to get it working then I will post some new diffs.

I know I only have a couple posts here, but I am a long time DF, Unlockers and ModShack/Datacave poster who has been on the scene a while...

More than happy to do my own work - just checked to see if it had already been done - could then focus on using that to build a new image for sharing with others.


bob808

lincsat
24-04-2007, 12:26 AM
I got it to patch OK apart from the streaminfo2.cpp but as has been said, that's a very easy edit - I have tried to fix the diffs, but it still kicks it out.

I'm only a Linux novice currently using the School Ubuntu image - but learning all the time :)