LinuxMCE Forums
General => Developers => Topic started by: nite_man on August 30, 2008, 07:50:49 pm
-
Hi,
I need a help with modification of Orbiter for Nokia Internet Tablets. Basically, it works fine. But when I built the Orbiter from the latest 0710 sources I found the problem with icons on floorplan. Let me first a clarify the Orbiter's logic (as I understand it). All icons on the floor plan have color pink (255, 102, 255). When the screen with floor plan is opened the Orbiter starts checking all pixels from the screen area to compare their colors with pink. If such pixel is found its color is replaced by proper color (red, yellow, black etc). There is a hack (which works fine with current version of the Orbiter) to fill icons by proper color. I just increase the maximum difference between RGB parts of pink and retrieved pixel to 10 (originally it's 3):
if ( abs(Source[0]-red)<max_diff && abs(Source[1]-green)<max_diff && abs(Source[2]-blue)<max_diff )
The problem with Nokia is that. It uses 16bit surface but on-screen Orbiter - 32bit. I solved a problem with comparison source color (pink, 32bit) with retrieved pixel color (16bit) by using SDL_GetRGB function:
SDL_GetRGB((Uint32)Pixel, m_pScreenImage->format, &red, &green, &blue);
But now I have to convert replacement color from 32bit to 16. I don't have a lot of SDL of C++ knowledge. So, any help will be very appreciated!
You can find the code in the Orbiter/SDL/OrbiterRenderer_SDL.cpp, method OrbiterRenderer_SDL::ReplaceColorInRectangle. Here is a my version of that method:
void OrbiterRenderer_SDL::ReplaceColorInRectangle(int x, int y, int width, int height, PlutoColor ColorToReplace, PlutoColor ReplacementCol
or, DesignObj_Orbiter *pObj/* = NULL*/)
{
SDL_PixelFormat * PF = m_pScreenImage->format;
Uint32 PlutoPixelDest, PlutoPixelSrc, Pixel;
Uint8 red, green, blue;
#ifdef DEBUG
LoggerWrapper::GetInstance()->Write(LV_STATUS, "ReplaceColor: ColorToReplace --> %u %u %u : ReplacementColor --> %u %u %u",
ColorToReplace.R(), ColorToReplace.G(), ColorToReplace.B(),
ReplacementColor.R(), ReplacementColor.G(), ReplacementColor.B());
#endif
//PlutoPixelSrc = (ColorToReplace.R() << PF->Rshift) | (ColorToReplace.G() << PF->Gshift) | (ColorToReplace.B() << PF->Bshift); // | (C
olorToReplace.A() << PF->Ashift);
PlutoPixelSrc = (ColorToReplace.R() << rshift) | (ColorToReplace.G() << gshift) | (ColorToReplace.B() << bshift); // | (ColorToReplace.
A() << PF->Ashift);
unsigned char *Source = (unsigned char *) &PlutoPixelSrc;
//PlutoPixelDest = ReplacementColor.R() << PF->Rshift | ReplacementColor.G() << PF->Gshift | ReplacementColor.B() << PF->Bshift;// TOD
O -- this should work | ReplacementColor.A() << PF->Ashift;
// By some reason, SDL pixel format doesn't take into account byte order (for Nokia it's - little endian). As result pixel color is wrong after
// shift. I use values from the SDL_Helper/SDL_Defs.h
PlutoPixelDest = (ReplacementColor.R() << rshift) | (ReplacementColor.G() << gshift) | (ReplacementColor.B() << bshift);// TODO -- thi
s should work | ReplacementColor.A() << PF->Ashift;
for (int j = 0; j < height; j++)
{
for (int i = 0; i < width; i++)
{
// we may need locking on the surface
Pixel = SDLGraphic::getpixel(m_pScreenImage, i + x, j + y);
unsigned char *pPixel = (unsigned char *) &Pixel;
#ifndef MAEMO_NOKIA770
const int max_diff = 3;
if ( abs(Source[0]-pPixel[0])<max_diff && abs(Source[1]-pPixel[1])<max_diff && abs(Source[2]-pPixel[2])<max_diff && abs(Source[
3]-pPixel[3])<max_diff )
{
SDLGraphic::putpixel(m_pScreenImage,i + x, j + y, PlutoPixelDest);
}
#else
const int max_diff = 5;
//SDLGraphic::get_RGB(m_pScreenImage, Pixel);
SDL_GetRGB((Uint32)Pixel, m_pScreenImage->format, &red, &green, &blue);
LoggerWrapper::GetInstance()->Write(LV_STATUS, "Source=%u %u %u - Pixel=%u %u %u \n", Source[0], Source[1], Source[2], red, gre
en, blue);
//if ( abs(Source[0]-pPixel[0])<max_diff && abs(Source[1]-pPixel[1])<max_diff && abs(Source[2]-pPixel[2])<max_diff )
if ( abs(Source[0]-red)<max_diff && abs(Source[1]-green)<max_diff && abs(Source[2]-blue)<max_diff )
{
SDLGraphic::putpixel(m_pScreenImage,i + x, j + y, PlutoPixelDest);
LoggerWrapper::GetInstance()->Write(LV_STATUS, "Replace pixel: %u %u %u - 0x%x\n!",
Source[0], Source[1], Source[2], PlutoPixelDest);
}
else
{
LoggerWrapper::GetInstance()->Write(LV_STATUS, "Do not do anything!");
}
#endif
}
}
PlutoRectangle rect(x, y, width, height);
}
All pixel operation are implemented in the Orbiter/SDL/SDLGraphic.cpp
-
Hi,
I need a help with modification of Orbiter for Nokia Internet Tablets. Basically, it works fine. But when I built the Orbiter from the latest 0710 sources I found the problem with icons on floorplan. Let me first a clarify the Orbiter's logic (as I understand it). All icons on the floor plan have color pink (255, 102, 255). When the screen with floor plan is opened the Orbiter starts checking all pixels from the screen area to compare their colors with pink. If such pixel is found its color is replaced by proper color (red, yellow, black etc). There is a hack (which works fine with current version of the Orbiter) to fill icons by proper color. I just increase the maximum difference between RGB parts of pink and retrieved pixel to 10 (originally it's 3):
if ( abs(Source[0]-red)<max_diff && abs(Source[1]-green)<max_diff && abs(Source[2]-blue)<max_diff )
The problem with Nokia is that. It uses 16bit surface but on-screen Orbiter - 32bit. I solved a problem with comparison source color (pink, 32bit) with retrieved pixel color (16bit) by using SDL_GetRGB function:
SDL_GetRGB((Uint32)Pixel, m_pScreenImage->format, &red, &green, &blue);
But now I have to convert replacement color from 32bit to 16. I don't have a lot of SDL of C++ knowledge. So, any help will be very appreciated!
You can find the code in the Orbiter/SDL/OrbiterRenderer_SDL.cpp, method OrbiterRenderer_SDL::ReplaceColorInRectangle. Here is a my version of that method:
void OrbiterRenderer_SDL::ReplaceColorInRectangle(int x, int y, int width, int height, PlutoColor ColorToReplace, PlutoColor ReplacementCol
or, DesignObj_Orbiter *pObj/* = NULL*/)
{
SDL_PixelFormat * PF = m_pScreenImage->format;
Uint32 PlutoPixelDest, PlutoPixelSrc, Pixel;
Uint8 red, green, blue;
#ifdef DEBUG
LoggerWrapper::GetInstance()->Write(LV_STATUS, "ReplaceColor: ColorToReplace --> %u %u %u : ReplacementColor --> %u %u %u",
ColorToReplace.R(), ColorToReplace.G(), ColorToReplace.B(),
ReplacementColor.R(), ReplacementColor.G(), ReplacementColor.B());
#endif
//PlutoPixelSrc = (ColorToReplace.R() << PF->Rshift) | (ColorToReplace.G() << PF->Gshift) | (ColorToReplace.B() << PF->Bshift); // | (C
olorToReplace.A() << PF->Ashift);
PlutoPixelSrc = (ColorToReplace.R() << rshift) | (ColorToReplace.G() << gshift) | (ColorToReplace.B() << bshift); // | (ColorToReplace.
A() << PF->Ashift);
unsigned char *Source = (unsigned char *) &PlutoPixelSrc;
//PlutoPixelDest = ReplacementColor.R() << PF->Rshift | ReplacementColor.G() << PF->Gshift | ReplacementColor.B() << PF->Bshift;// TOD
O -- this should work | ReplacementColor.A() << PF->Ashift;
// By some reason, SDL pixel format doesn't take into account byte order (for Nokia it's - little endian). As result pixel color is wrong after
// shift. I use values from the SDL_Helper/SDL_Defs.h
PlutoPixelDest = (ReplacementColor.R() << rshift) | (ReplacementColor.G() << gshift) | (ReplacementColor.B() << bshift);// TODO -- thi
s should work | ReplacementColor.A() << PF->Ashift;
for (int j = 0; j < height; j++)
{
for (int i = 0; i < width; i++)
{
// we may need locking on the surface
Pixel = SDLGraphic::getpixel(m_pScreenImage, i + x, j + y);
unsigned char *pPixel = (unsigned char *) &Pixel;
#ifndef MAEMO_NOKIA770
const int max_diff = 3;
if ( abs(Source[0]-pPixel[0])<max_diff && abs(Source[1]-pPixel[1])<max_diff && abs(Source[2]-pPixel[2])<max_diff && abs(Source[
3]-pPixel[3])<max_diff )
{
SDLGraphic::putpixel(m_pScreenImage,i + x, j + y, PlutoPixelDest);
}
#else
const int max_diff = 5;
//SDLGraphic::get_RGB(m_pScreenImage, Pixel);
SDL_GetRGB((Uint32)Pixel, m_pScreenImage->format, &red, &green, &blue);
LoggerWrapper::GetInstance()->Write(LV_STATUS, "Source=%u %u %u - Pixel=%u %u %u \n", Source[0], Source[1], Source[2], red, gre
en, blue);
//if ( abs(Source[0]-pPixel[0])<max_diff && abs(Source[1]-pPixel[1])<max_diff && abs(Source[2]-pPixel[2])<max_diff )
if ( abs(Source[0]-red)<max_diff && abs(Source[1]-green)<max_diff && abs(Source[2]-blue)<max_diff )
{
SDLGraphic::putpixel(m_pScreenImage,i + x, j + y, PlutoPixelDest);
LoggerWrapper::GetInstance()->Write(LV_STATUS, "Replace pixel: %u %u %u - 0x%x\n!",
Source[0], Source[1], Source[2], PlutoPixelDest);
}
else
{
LoggerWrapper::GetInstance()->Write(LV_STATUS, "Do not do anything!");
}
#endif
}
}
PlutoRectangle rect(x, y, width, height);
}
All pixel operation are implemented in the Orbiter/SDL/SDLGraphic.cpp
Michael,
I've asked Radu if he has any ideas on this.
Andrew
-
Thanks, Andrew. I found one example how to create a 16bit pixel using RGB:
Uint16 value = ((red >> fmt->Rloss) << fmt->Rshift) +
((green >> fmt->Gloss) << fmt->Gshift) +
((blue >> fmt->Bloss) << fmt->Bshift);
where fmt is SDL pixel format. But as I already mentioned, it seems that pixel format doesn't take into account byte order. I found RGB shifts for little endian in the SDL_Helper/SDL_Defs.h. But I have no idea where can get appropriate loss values.
-
i'd assume you want no loss.
just shift the byte to the left 8 times. If you have endian issues swap them.
best regards,
Hari
-
Thanks, Hari. Will try it.
-
oh i think i told BS. From your posted code I take you want to store all three values in 16bit?
-
oh i think i told BS. From your posted code I take you want to store all three values in 16bit?
so if yes, you have to divide the 16 bits on three colors, so i'd assume it is sth like 5+6+5 (giving green an additional bit). So you have to "loose" 3 bits for R & B and 2 for G. EDIT: (starting with 8 bits per color)
but this is just guessing..
best regards,
Hari
-
Thanks to all for your suggestions. Finally I solved the problem with color of icons. Now all icons are displayed correctly including MD (it was a long time issue). The only one issue which still exists is olive color of pressed button (some lighting scenario, for example). It happens because all Oriter's colors are 32bit but Nokia supports 16bit. So, the color light blue - #7387BC (115, 135, 188 in RGB) becomes to olive - #738700 because it looses last two bytes.
I have no idea where those buttons are rendered. Does somebody can point me?
TIA
-
Thanks to all for your suggestions. Finally I solved the problem with color of icons. Now all icons are displayed correctly including MD (it was a long time issue). The only one issue which still exists is olive color of pressed button (some lighting scenario, for example). It happens because all Oriter's colors are 32bit but Nokia supports 16bit. So, the color light blue - #7387BC (115, 135, 188 in RGB) becomes to olive - #738700 because it looses last two bytes.
I have no idea where those buttons are rendered. Does somebody can point me?
TIA
Hey thats great Michael... nice work ;-)
I'll see if Radu has any info on the button colour issue later.
Andrew
-
Thanks to all for your suggestions. Finally I solved the problem with color of icons. Now all icons are displayed correctly including MD (it was a long time issue). The only one issue which still exists is olive color of pressed button (some lighting scenario, for example). It happens because all Oriter's colors are 32bit but Nokia supports 16bit. So, the color light blue - #7387BC (115, 135, 188 in RGB) becomes to olive - #738700 because it looses last two bytes.
I have no idea where those buttons are rendered. Does somebody can point me?
TIA
Cool effort. Thanks very much for this one ;D... How can we get the update ?
Regards,
Bulek.
-
The package is available here (https://garage.maemo.org/frs/download.php/4527/lmceorbiter-os2008-0710-04_armel.deb). I'm gonna to test it tonight and if it'll be ok I'll upload it to the http://diapub.com/~michael/ (http://diapub.com/~michael/) to provide one-click-installation and upgrade.
-
The package is available here - https://garage.maemo.org/frs/download.php/4520/lmceorbiter-os2008-0710-04_armel.deb (https://garage.maemo.org/frs/download.php/4520/lmceorbiter-os2008-0710-04_armel.deb). I'm gonna to test it tonight and if it'll be ok I'll upload it to the http://diapub.com/~michael/ (http://diapub.com/~michael/) to provide one-click-installation and upgrade.
Michael,
Just installed it here on Diablo and it seems to be working fine. We'll use it for 'real' today and post any issues here later.
all the best
Andrew
-
Just installed it here on Diablo and it seems to be working fine. We'll use it for 'real' today and post any issues here later.
Great! I attached patches for the Nokia's Orbiter - http://www.mediafire.com/?14nicedkntt (http://www.mediafire.com/?14nicedkntt). They are made from 0710 branch. Have a look on it and if they're ok let's put them into LMCE repository.
-
Just installed it here on Diablo and it seems to be working fine. We'll use it for 'real' today and post any issues here later.
Great! I attached patches for the Nokia's Orbiter - http://www.mediafire.com/?14nicedkntt (http://www.mediafire.com/?14nicedkntt). They are made from 0710 branch. Have a look on it and if they're ok let's put them into LMCE repository.
Your new rev is being used for a demo now... so that will give it a good 'workout' ;-)
So the only remaining issues are the button highlights and making it possible to switch to another N800 app and then back to the Orbiter without the Orbiter crashing. By the way is the screen-saver disabled in this version?
Great work!
All the best
Andrew
-
By the way is the screen-saver disabled in this version?
Yes, there is a disabled screen-saver. I applied Oliver's path before build the Orbiter.
So the only remaining issues are the button highlights and making it possible to switch to another N800 app and then back to the Orbiter without the Orbiter crashing.
Yes, I'm working on it.
Another thing which can be done with the floorplan icons is that. To use color with different intensity according to value came with ON. For example, if some dimmer has is set ON with 50% its color will be rgb(255,255,96) and not rgb(255,255,0). In that case it'll be more visible what intensity has each lighting object.
For each object on the floorplan is returned a string with its properties. For example, dimmer information looks like that:
-256|On|ON/10|2275|
where 10 is its intensity.
-
Another thing which can be done with the floorplan icons is that. To use color with different intensity according to value came with ON. For example, if some dimmer has is set ON with 50% its color will be rgb(255,255,96) and not rgb(255,255,0). In that case it'll be more visible what intensity has each lighting object.
For each object on the floorplan is returned a string with its properties. For example, dimmer information looks like that:
-256|On|ON/10|2275|
where 10 is its intensity.
Hmmm... thats a very cool idea!
Are you saying that you have implemented that in the new build? Or are you saying that you are thinking of implementing it?
Another idea (this would require changes in the UI1 screens and therefore some work in HAD) would be to indicate the current 'dim' level of lights controlled by the ON/OFF buttons in the main menu. This could be by colour too I guess... but 25%...50%...75% next to the buttons would be good too.
All the best
Andrew
-
Are you saying that you have implemented that in the new build? Or are you saying that you are thinking of implementing it?
It's just an idea for the next release :)
Another idea (this would require changes in the UI1 screens and therefore some work in HAD) would be to indicate the current 'dim' level of lights controlled by the ON/OFF buttons in the main menu. This could be by colour too I guess... but 25%...50%...75% next to the buttons would be good too.
Do you mean buttons for scenarios? If so, this is useless IMHO because all lighting levels should be specified in the scenario definition.
-
[Another idea (this would require changes in the UI1 screens and therefore some work in HAD) would be to indicate the current 'dim' level of lights controlled by the ON/OFF buttons in the main menu. This could be by colour too I guess... but 25%...50%...75% next to the buttons would be good too.
Do you mean buttons for scenarios? If so, this is useless IMHO because all lighting levels should be specified in the scenario definition.
I was thinking that displaying the current 'dimmer' value next to the 'ON/OFF' buttons in the main menu screen would be useful. It would allow you to see at a glance what the lighting level value was. Having these values next to each lighting icon on the lighting floorpan would also be useful ie as per the how the current Temp is displayed next to Temperature Sensors or Thermostats when you place those onto the floorplan.
Andrew
-
Ok, got it :) But maybe it can be difficult to understand the picture in case of a big number of lighting objects on the plan. But it's just a guessing.
-
The package is available here - https://garage.maemo.org/frs/download.php/4520/lmceorbiter-os2008-0710-04_armel.deb (https://garage.maemo.org/frs/download.php/4520/lmceorbiter-os2008-0710-04_armel.deb). I'm gonna to test it tonight and if it'll be ok I'll upload it to the http://diapub.com/~michael/ (http://diapub.com/~michael/) to provide one-click-installation and upgrade.
Michael,
Just installed it here on Diablo and it seems to be working fine. We'll use it for 'real' today and post any issues here later.
all the best
Andrew
Ok... we have now used the updated N800 Orbiter on two N800 for most of the day and they seem totally stable as far as we can tell... so great work Michael!!
Andrew
-
Ok, I'll upload the Os2008 Orbiter tonight to the diapub.com. Also I'll build tomorrow the Orbiter for OS2007 as well.
-
Ok, I'll upload the Os2008 Orbiter tonight to the diapub.com. Also I'll build tomorrow the Orbiter for OS2007 as well.
Great ;-)
Andrew
-
The new Orbiter package for OS2008 is already in the repo (diablo and chinook). The package for OS2007 can be downloaded from the maemo garage (https://garage.maemo.org/frs/download.php/4529/lmceorbiter-os2007-0710-4_armel.deb). Tonight it'll be uploaded to the repo as well.
-
The new Orbiter package for OS2008 is already in the repo (diablo and chinook). The package for OS2007 can be downloaded from the maemo garage (https://garage.maemo.org/frs/download.php/4529/lmceorbiter-os2007-0710-4_armel.deb). Tonight it'll be uploaded to the repo as well.
I'll do some test installs tomorrow... thanks ;-)
Andrew
-
Hi,
just tried new updated version on my N800 and my pretty complex floorplans are working ok now including rendering of icons...
Thanks niteman, you're da man.... ;D
Regards,
Bulek.
-
Nice to see that the Orbiter works fine for us :)
I'm working currently with fixing the last issue with color (buttons become olive after pressing). I found one place where (most probably) the buttons are rendered - ObjectRenderer::RenderGraphic:
//if a button doesn't have a mng as selected state (see bDisableEffects), then the png
//used in normal state will be rendered for selected state + a blue rectangle to show the selection
The keyword is blue rectangle. But I still cannot find where that rectangle are rendered.
-
Hey all,
I uninstalled this on my n810 recently (diablo / OS 2008) and went to reinstall - but am now getting an error: "Operation Failed" (from the diapub URL)...
This happens after the Install pop-up (lmce-orbiter-installer 0.0.1-2) 8.4MB
Is this just me? Can other install after removing?
Cheers,
WR.
-
Strange ... To trace your problem let's do following:
1. Enable R&D mode on your device if it wasn't enabled:
sudo ./flasher-3.0 --enable-rd-mode -R
2. Open terminal window and type:
sudo gainroot
apt-get install lmce-orbiter-installer
3. Post here output from apt-get
4. Disable R&D mode if prefer live without it:
sudo ./flasher-3.0 --disable-rd-mode -R
-
Ok, I'll upload the Os2008 Orbiter tonight to the diapub.com. Also I'll build tomorrow the Orbiter for OS2007 as well.
Michael I have noticed that when we display the 'Floorplan' views the speed at which icons change from their unselected to selected state seems to be sluggish compared to the earlier revs of the N800 Orbiter. Have you noticed this at all?
All the best
Andrew
-
Michael,
Are you still doing builds for OS 2006 as well?
regards
Darren
-
Michael I have noticed that when we display the 'Floorplan' views the speed at which icons change from their unselected to selected state seems to be sluggish compared to the earlier revs of the N800 Orbiter. Have you noticed this at all?
It's possible. I'm not C++ programmer. So, most probably I implemented my patch using not efficient way. Somebody who has a good C++ experience can check the code and optimize it. Sure, I'll try to do it as well.
-
Michael,
Are you still doing builds for OS 2006 as well?
regards
Darren
I though that nobody use OS2006 now :) I'll build the Orbiter for OS2006 today and will upload it to the garage page and diapub.com
-
Strange ... To trace your problem let's do following:
1. Enable R&D mode on your device if it wasn't enabled:
sudo ./flasher-3.0 --enable-rd-mode -R
2. Open terminal window and type:
sudo gainroot
apt-get install lmce-orbiter-installer
3. Post here output from apt-get
4. Disable R&D mode if prefer live without it:
sudo ./flasher-3.0 --disable-rd-mode -R
Thanks Michael. Can't seem to get sudo password to work. I'll chase this up and give it a go...
Cheers,
Adriel.
-
Thanks Michael. Can't seem to get sudo password to work. I'll chase this up and give it a go...
Where? On the Nokia or on your PC? I put sudo because I run Kubuntu on my home PC. For example, on Fedora by default it doesn't work. So, the flasher command should run from the root account (su -).
-
Was trying directly on the Nokia... Appears I need to run this via the PC / USB... oops ::)
-
OK - see error below:
/home/user # apt-get install lmce-orbiter-installerReading package lists... Done
Building dependency tree
Reading state information... Done
E: The package mysql-common needs to be reinstalled, but I can't find an archive for it.
Not sure how to do this (reinstall mysql-common) and could find much on the web. I tried installing Mysql DB (http://maemo.org/downloads/product/OS2008/mysqldatabase/ (http://maemo.org/downloads/product/OS2008/mysqldatabase/)) just in case but no luck...
Thoughts?
Thanks!
Adriel.
-
Woombiroller-
I am experiencing a similar error- after the running the diablo.install, my n810 prompts me with an install screen that wants me to install the 8.5mb application. I hit OK and it tells me the software was not obtained from Nokia, so I hit OK again and it begins to download the 8.48 mb file.
It appears the download bar gets to the end and then a box appears that says, "Downloading lmce-orbiter-installer failed". I've tried both the Diablo and the Chinook versions and the result is the same.
Any thoughts?
-
Woombiroller-
I am experiencing a similar error- after the running the diablo.install, my n810 prompts me with an install screen that wants me to install the 8.5mb application. I hit OK and it tells me the software was not obtained from Nokia, so I hit OK again and it begins to download the 8.48 mb file.
It appears the download bar gets to the end and then a box appears that says, "Downloading lmce-orbiter-installer failed". I've tried both the Diablo and the Chinook versions and the result is the same.
Any thoughts?
We've seen that on some N800's... look in 'Extras' and you should see the Nokia Orbiter is installed and working however.
All the best
Andrew
-
Woombiroller-
I am experiencing a similar error- after the running the diablo.install, my n810 prompts me with an install screen that wants me to install the 8.5mb application. I hit OK and it tells me the software was not obtained from Nokia, so I hit OK again and it begins to download the 8.48 mb file.
It appears the download bar gets to the end and then a box appears that says, "Downloading lmce-orbiter-installer failed". I've tried both the Diablo and the Chinook versions and the result is the same.
Any thoughts?
We've seen that on some N800's... look in 'Extras' and you should see the Nokia Orbiter is installed and working however.
All the best
Andrew
No luck here I am afraid. I recall it did error out on the original install (a month of so ago), but after that it was still available. Since I removed and attempted to re-install however, it fails and remains un-installed.... :(
-
Woombiroller-
I am experiencing a similar error- after the running the diablo.install, my n810 prompts me with an install screen that wants me to install the 8.5mb application. I hit OK and it tells me the software was not obtained from Nokia, so I hit OK again and it begins to download the 8.48 mb file.
It appears the download bar gets to the end and then a box appears that says, "Downloading lmce-orbiter-installer failed". I've tried both the Diablo and the Chinook versions and the result is the same.
Any thoughts?
Hmm... very strange. We've installed on half a dozen N800's with Diablo installed and have not seen this at all. I wonder if its N810 specific or specific to your Diablo install on your N810.
Michael any thoughts?
Andrew
We've seen that on some N800's... look in 'Extras' and you should see the Nokia Orbiter is installed and working however.
All the best
Andrew
No luck here I am afraid. I recall it did error out on the original install (a month of so ago), but after that it was still available. Since I removed and attempted to re-install however, it fails and remains un-installed.... :(
-
I suspect that it happens with upgrade only. I replaced the wrong mysql packages by correct ones. So, it cause the problem with upgrade LMCE Orbiter. You can try to de-install mysql-common with dpkg - on your device run following commands:
sudo gainroot
dpkg -r --force-all mysql-common
and then install Orbiter again.
jimmejames, please, try to install the Orbiter from the command line (see how to do it in the earlier replies) and post error message.
-
I suspect that it happens with upgrade only. I replaced the wrong mysql packages by correct ones. So, it cause the problem with upgrade LMCE Orbiter. You can try to de-install mysql-common with dpkg - on your device run following commands:
sudo gainroot
dpkg -r --force-all mysql-common
and then install Orbiter again.
jimmejames, please, try to install the Orbiter from the command line (see how to do it in the earlier replies) and post error message.
Thanks for your help Michael, but alas - this doesn't seem to work for me. Same error. See below output.
BusyBox v1.6.1 (2008-05-22 10:32:35 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ $ sudo gainroot
Root shell enabled
BusyBox v1.6.1 (2008-05-22 10:32:35 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
/home/user # dpkg -r --force-all mysql-common
dpkg - warning, overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 21394 files and directories currently installed.)
Removing mysql-common ...
dpkg (subprocess): unable to execute post-removal script: No such file or directory
dpkg: error processing mysql-common (--remove):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
mysql-common
/home/user # apt-get install lmce-orbiter-installerReading package lists... Done
Building dependency tree
Reading state information... Done
E: The package mysql-common needs to be reinstalled, but I can't find an archive for it.
/home/user #
Any other ideas ???
-
Just remove file /var/lib/dpkg/info/mysql-common.postrm from your device (under sudo gainroot), de-install mysql-common and try to install LMCE Orbiter again.
-
Just remove file /var/lib/dpkg/info/mysql-common.postrm from your device (under sudo gainroot), de-install mysql-common and try to install LMCE Orbiter again.
You're a star Michael - all sorted after deleting /var/lib/dpkg/info/mysql-common.postrm... Thanks again for your help :)
-
I suspect that it happens with upgrade only. I replaced the wrong mysql packages by correct ones. So, it cause the problem with upgrade LMCE Orbiter. You can try to de-install mysql-common with dpkg - on your device run following commands:
sudo gainroot
dpkg -r --force-all mysql-common
and then install Orbiter again.
jimmejames, please, try to install the Orbiter from the command line (see how to do it in the earlier replies) and post error message.
I ran the commands listed previously (with the apt-get and all) and on some of the files (libsdl-gfx1.2-4 2.0.13-3 for example) I get 404s and for the lmce-orbiter-installer_0.0.1-2_armel.deb) I get a size mismatch.
Thanks for the help
-
wombiroller, nice to see that you solved that problem :)
jimmejames, try to refresh the package list:
apt-get update
from command line or via Application Manager (there is an option refresh package list).
-
Michael,
Are you still doing builds for OS 2006 as well?
regards
Darren
Hi Darren!
Try the Orbiter (https://garage.maemo.org/frs/download.php/4548/lmceorbiter-os2006-0710-4_armel.deb) for OS2006.
-
wombiroller, nice to see that you solved that problem :)
jimmejames, try to refresh the package list:
apt-get update
from command line or via Application Manager (there is an option refresh package list).
Before and after trying the code mentioned previously, I ran apt-get update and then again just now. I still get the 404s or the downloading failed errors. Maybe I don't have something correct. I got my n810 maybe 2 weeks ago and have a random assortment of things installed- few games, canola2, python, unzip, etc and I installed rootsh to gain root access.
To install LMCE, (this is all done on the n810) I open the x terminal, type in "sudo gainroot" and I'm taken to the /home/user directory. Here I type in, apt-get update (everything seems to go through with no errors) and then I type in "apt-get install lmce-orbiter-installer" and am told it will take up 15.9mb of space (I ran apt-get install lmce-orbiter-installer --fix-missing" and some things were installed, so that 15.9 is down from 17.something. Between the 404s and the size mismatches, it doesn't install.
Thanks for you help
-
Michael,
Are you still doing builds for OS 2006 as well?
regards
Darren
Hi Darren!
Try the Orbiter (https://garage.maemo.org/frs/download.php/4548/lmceorbiter-os2006-0710-4_armel.deb) for OS2006.
Thanks Michael,
I will try and give it a go as soon as I can
-
jimmejames, do you have Chinook or Diablo on your N810? Did you install LMCE Orbiter before? As a suggestion try to remove Maemo, Maemo Extra and LinuxMCE repositories from the Application Manager, refresh the package list and try to install from the beginning using one-click installation.
-
I have os2008, not sure what that means for Diablo vs Chinook. About a week and a half ago (just a couple days before you guys got the one click 710 going) I was able to install the Diablo 0704 version of LMCE. I removed that just prior to trying to get 0710 installed.
I can just go to the application manager, find Maemo and the others that you listed, and delete them from there, right? If so, I will try that tonight and post my results.
Thanks
-
OK- I have deleted all of the installed applications (except the otto-xterm (or something like that)) which is "required". I still get the downloading failed error when trying the Diablo and Chinook versions.
Does someone still have the 0704 version? If you could temporarily put that back on http://diapub.com/~michael/ and let me try to see if that installs, it would be appreciated.
Thanks
-
I fixed that problem. Actually you use Chinook and the problem was there not in Diablo. Please, refresh the packages and try to install again.
-
I hosed my system and put Diablo on it. For anyone curious, you can get the latest software from Nokia's website- you will need your wireless MAC address to download the software (about 123 mb for Diablo 4.2008). Installation took about 45 seconds because I had already dled the OS.
nite_man's installation file from diapub.com/~michael was slick- need to add a few dependencies (easy because it prompts you to either OK the adding or cancel the installation) and then you choose where you want your shortcut to reside.
nite_man and everyone, thanks for the help!
-
Michael,
Are you still doing builds for OS 2006 as well?
regards
Darren
Hi Darren!
Try the Orbiter (https://garage.maemo.org/frs/download.php/4548/lmceorbiter-os2006-0710-4_armel.deb) for OS2006.
Thanks Michael,
I will try and give it a go as soon as I can
Michael,
Tried a few times but struggling with dependencies. The new one seems to need libsdl-gfx1.2.4 and I can only get 1.2.2 or something like that. (which is the one in the maemo garage)
any ideas?
Regards
Darren
-
Michael,
Tried a few times but struggling with dependencies. The new one seems to need libsdl-gfx1.2.4 and I can only get 1.2.2 or something like that. (which is the one in the maemo garage)
any ideas?
Regards
Darren
Hi Darren,
I fixed that. Please, try the new package (https://garage.maemo.org/frs/download.php/4589/lmceorbiter-os2006-0710-4_armel.deb) and let me know result.
-
Thanks Michael - installed and runs. Havn't done much testing yet but all seems OK.
Darren
-
I tried to install the 2007 package on my N770 Hacker Edition 2007 using the one-click installer, however I get the error "Application packages missing: libc6 (>=2.5.0-1)". OS2007 was a clean install. My packages list includes maemo and maemo extra as instructed.
Any ideas?
Thanks,
Chris
-
Will check it tonight, Chirs. As I remember OS2007 doesn't include libc6 and I installed it from chinook. But I'm not sure. I'll let you know tonight.
-
Cool, can you point me to a URL where I can find the installer for libc6?
Cheers,
Chris
-
Cool, can you point me to a URL where I can find the installer for libc6?
Ok, my mistake. OS2007 includes libc6 2.3.5 but in the package requirements specified 2.5.0. So, I'm gonna to release a new version with Exit button (thanks a lot Tom, for his patch) and will correct that problem as well.
-
Fixed that problem for bora and uploaded a new version of the Orbiter with button 'Exit'. Try it and let me know about results.
-
Fixed that problem for bora and uploaded a new version of the Orbiter with button 'Exit'. Try it and let me know about results.
Hi Michael,
Tried adding the new version to a Diablo N800. Browsed to the Diapub repos and then clicked 'Diablo' and installed the packages.
I see both packages in the App Manager 'Installable Application' list;
- lmce-orbiter-installer
- lmceorbiter-os2008
Click the 'lmce-orbiter-installer' and then click 'OK' when asked if I want to install. I almost immediately see a 'Operation Failed' warning over the progress bar window with an 'OK' button (the progress bar continues to animate in the background). If I click the 'OK' button then the install stops and I nothing is installed.
Have you see this at all?
Andrew
-
Hi Michael,
this night I've installed the new package lme-orbiter-0710-5 for my nokia 770 OS2007HE, and it seems working well.
I made some tests, and the exit botton worked well. Great jobs and thanks also to Thom for the info about the missing button.
10x all
Luke
-
Andrew, I installed yesterday the latest diablo package using one-click method on my N810 without any problems. Moreover, I installed it under VMwave diablo maemo appliance using apt-get. It was also ok.
Luke, nice to see that iy works for you :)
-
Andrew, I installed yesterday the latest diablo package using one-click method on my N810 without any problems. Moreover, I installed it under VMwave diablo maemo appliance using apt-get. It was also ok.
Luke, nice to see that iy works for you :)
Hmmm... ok maybe as a test I should re-flash Diablo and see if that makes a difference. I'll do that later and report back with any news ;-)
Andrew
-
Andrew, I installed yesterday the latest diablo package using one-click method on my N810 without any problems. Moreover, I installed it under VMwave diablo maemo appliance using apt-get. It was also ok.
Luke, nice to see that iy works for you :)
Hmmm... ok maybe as a test I should re-flash Diablo and see if that makes a difference. I'll do that later and report back with any news ;-)
Andrew
OK after reflashing my N800 with Diablo I successfully installed the latest maemo Orbiter without any problems at all.
Andrew
-
all is good here too. Exit button and nice floorplans w000000t
now if I could flash my $#(@#$(@# webDT.. :P
-Thom
-
I am finding the N770 does not always register screen presses using OS2007 and the one-click installer. How much better is the N800? I notice they can be had reasonably cheaply now.
-
the n800 and n810 work much more reliably. the CPU is faster, there is considerably more memory, and better power consumption.
with that said, you should go into control panel > memory, and turn on virtual memory (be sure you have say a 128mb RS-MMC card installed.).. this will cause reliability to go up to almost 100%.
-Thom
-
In additional to Tom's suggestion have a look that (http://wiki.linuxmce.com/index.php/Nokia_770#Tune_Nokia770_to_use_it_as_LinuxMCE_Orbiter) wiki page. It explains how to tune Nokia770 for better performance and stability of LMCE Orbiter.
-
Yeah, done all that but still not 100% happy with it. Guess the 800 will be the best bet. They're pretty cheap now.
BTW it would be nice to have some feedback from the orbiter buttons, so I know the message has been registered. Some of them go yellow when I press them (scenarios) but others don't seem to. Also for scenarios it would be good to get some knowledge of whether it had been completed successfully. For example when I'm going out I push the scenario button which switches everything off in my house, but how can I be sure it has worked if nothing in my hallway was turned on anyway? At the moment I have a quick look round the other rooms of the house.
It would be good to have a popup when you pick a scenario (maybe at bottom of screen) which displays the currently running step, then a tick appears when it's complete (or cross) and it moves to the next. Or anyone any other ideas?
-
Yeah, done all that but still not 100% happy with it. Guess the 800 will be the best bet. They're pretty cheap now.
BTW it would be nice to have some feedback from the orbiter buttons, so I know the message has been registered. Some of them go yellow when I press them (scenarios) but others don't seem to. Also for scenarios it would be good to get some knowledge of whether it had been completed successfully. For example when I'm going out I push the scenario button which switches everything off in my house, but how can I be sure it has worked if nothing in my hallway was turned on anyway? At the moment I have a quick look round the other rooms of the house.
It would be good to have a popup when you pick a scenario (maybe at bottom of screen) which displays the currently running step, then a tick appears when it's complete (or cross) and it moves to the next. Or anyone any other ideas?
Just check a floorplan... if you want some confirmation of device status etc
Andrew