Hi,
ich nehm da minicom.
cu
Hi,
ich nehm da minicom.
cu
Hi,
allgemein soll putty (für telnet und ssh kram) recht gut sein.. und tutty (dasselbe blos für seriell) auch taugen.. (hab ich mir sagen lassen.. ich selber benutze nur Linux)
cu
Hi,
na die kernel cmdline ist doch immer noch falsch...
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock3 rootfstype=jffs2
mtdblock2 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! nicht mtdblock3
Abgesehen davon sehen die logfiles die das komische windows terminal programm bastelt immer total kaputt aus.. alles durcheinander.. gibts da nix anderes? / besseres?
cu
Hi,
dann stimmt was nicht.. das log muss anders aussehen.. es haben ja andere Leute auch schon 1.5er Images gebaut.. und die laufen...
Zeig mal ein neues log.. also gebootet von /dev/mtdblock2 mit debug an..
cu
Hi,
für 1.5er images ist die Kernel commandline zum loggen nicht mehr
console=ttyS0,115200 root=/dev/mtdblock3 rootfstype=jffs2 rw
sondern
console=ttyS0,115200 root=/dev/mtdblock2 rootfstype=jffs2 ro
...
Aber ich vermute jetzt mal ins schwarze, dass Du das Treiberdate hochgesetzt hast in dreambox-dvb-modules.bb.. und in aktuellen Treibern gibt es da einen neuen Tunertreiber von dem die xilleon.ko abhängt.. also nicht mehr lädt, wenn diese fehlt.
Kurz gesagt die dreambox-dvb-modules.bb ist nicht mehr aktuell für die neuen Treiber.
Bzw. tmbinc hat dieses Problem eben im OE behoben.. also nochmal das OE updaten...
cu
Hi,
we are looking for the problem... when we have a solution we release new drivers and post a small info here...
cya
Hi,
jo wenn das mal wer testen möchte:
http://ghost.dream-multimedia-…12_2.6.12-r4_dm600pvr.ipk
http://ghost.dream-multimedia-…-20070702-r0_dm600pvr.ipk
sollte auch auf der box mit ipkg install <source> installierbar sein...
Wichtig damit das mit dem kernel tauschen klappt muss vor dem "ipkg install ....kernel-image-2.6.12_2.6.12-r4_dm600pvr.ipk"
eingegeben werden
cya
Hi,
zusammen mit dem neuen Kernel sollte damit auch das Netzwerk und IDE schneller sein...
cu
Hi,
na wird denn irgendwo DISABLE_HDD auch definiert?
Also so wie die anderen DISABLE_*** ENABLE_*** am besten in der configure.ac..
cu
Hi,
da ist der Fehler.. sorry
eListBoxEntryTextPixmap::eListBoxEntryTextPixmap( eListBox<eListBoxEntryTextPixmap> *lb, const char* text, void *key, bool pm_visible, int align, const eString& hlptxt, int keytype )
:eListBoxEntryText((eListBox<eListBoxEntryText> *)lb, text, key, align, hlptxt, keytype )
,pm_visible(false)
das muss natürlich so sein
eListBoxEntryTextPixmap::eListBoxEntryTextPixmap( eListBox<eListBoxEntryTextPixmap> *lb, const char* text, void *key, bool pm_visible, int align, const eString& hlptxt, int keytype )
:eListBoxEntryText((eListBox<eListBoxEntryText> *)lb, text, key, align, hlptxt, keytype )
,pm_visible(pm_visible)
sonst ist pm_visible immer false.. und damit wird das pixmap auch nie gerendert
cu
Hi,
achso.. ich seh gerade da fehlt im plugin_exec das dlg.exec(); zwischen dlg.show() und dlg.hide()....
irgendwie klar, dass sich das so sofort beendet
cu
Hi,
naja ich habs nicht getestet... weil auf die schnelle keine box mit e1 zur hand.. da müsste ich hier erst umklemmen.. mach ich nachher evtl mal..
cu
Hi,
hmm ich meine bei den Dreamboxen steht da:
DiSEqC AA
DiSEqC AB (nicht BA)
DiSEqC BA
DiSEqC BB
sprich die mittleren beiden sollten verdreht sein... schonmal versucht das zu drehen?
cu
Hi,
okay.. also ich habs mal soweit gefixt, dass es kompiliert...
Also das Hauptproblem ist allerdings, dass die configure.ac im plugins Verzeichniss nicht ganz korrekt ist.. dort fehlen die FREETYPE_CFLAGS.. das muss angepasst werden.. bei mir isses nun so:
CPPFLAGS="$CPPFLAGS $TUXTXT_CFLAGS $XMLTREE_CFLAGS $PNG_CFLAGS $SIGC_CFLAGS $FREETYPE_CFLAGS $CURL_CFLAGS"
CFLAGS="$CFLAGS $TUXTXT_CFLAGS $XMLTREE_CFLAGS $PNG_CFLAGS $SIGC_CFLAGS $FREETYPE_CFLAGS $CURL_CFLAGS"
Also das ist einfach im cvs schon falsch.. und da kein anderes Plugin diesen header einbindet, isses auch nicht aufgefallen.. ich werd das im tuxbox-cvs mal fixen.. das bringt aber direkt im OE nix weil das ältere stände auscheckt.. also da müsste dann ein diff erstellt werden und mit im jeweiligen .bb file eingebunden werden..
#include <plugin.h>
#include <stdio.h>
#include <lib/gui/ewindow.h>
#include <lib/gui/elabel.h>
#include <lib/gui/ebutton.h>
#include <lib/gui/emessage.h>
#include <lib/gui/listbox.h>
#include <lib/gui/epixmap.h>
#include <lib/gdi/font.h>
class eListBoxEntryTextPixmap: public eListBoxEntryText
{
static gPixmap *pm; // class member !!! the same pixmap for all entries...
bool pm_visible;
public:
eListBoxEntryTextPixmap(eListBox<eListBoxEntryTextPixmap>* lb, const char* txt=0, void *key=0, bool pm_visible=false, int align=0, const eString &hlptxt="", int keytype = value );
const eString& redraw(gPainter *rc, const eRect& rect, gColor coActiveB, gColor coActiveF, gColor coNormalB, gColor coNormalF, int state );
};
gPixmap *eListBoxEntryTextPixmap::pm; // class member !!! the same pixmap for all entries...
eListBoxEntryTextPixmap::eListBoxEntryTextPixmap( eListBox<eListBoxEntryTextPixmap> *lb, const char* text, void *key, bool pm_visible, int align, const eString& hlptxt, int keytype )
:eListBoxEntryText((eListBox<eListBoxEntryText> *)lb, text, key, align, hlptxt, keytype )
,pm_visible(false)
{
if (pm_visible && !pm)
{
pm = eSkin::getActive()->queryImage("sselect_folder");
// load pixmap here... with pm = eSkin::getActive()->queryImage("bla");
// or pm = loadPNG("full_path_and_name_of_png_file");
}
}
const eString &eListBoxEntryTextPixmap::redraw(gPainter *rc, const eRect& complete_rect, gColor coActiveB, gColor coActiveF, gColor coNormalB, gColor coNormalF, int state)
{
bool b;
if ( (b = (state == 2)) )
state = 0;
drawEntryRect( rc, complete_rect, coActiveB, coActiveF, coNormalB, coNormalF, state );
eRect rect = complete_rect;
if (pm && pm_visible)
{
int yPos = rect.top()+((rect.height() - pm->y) / 2); // center pixmap
rc->blit(*pm, ePoint(rect.left(), yPos), rect, gPixmap::blitAlphaTest );
rect.setLeft( rect.left() + pm->x + 10 );
}
if (!para) // render text to render para
{
para = new eTextPara( eRect(0, 0, rect.width(), rect.height()) );
para->setFont(font);
para->renderString(text);
para->realign(align);
}
rc->renderPara(*para, ePoint(rect.left(), rect.top()) );
if (b)
drawEntryBorder( rc, complete_rect, coActiveB, coActiveF, coNormalB, coNormalF );
return text;
}
class eListboxMainWindow: public eWindow
{
eLabel *label;
eListBox<eListBoxEntryTextPixmap> *theList;
void message1(eListBoxEntryTextPixmap *item);
public:
eListboxMainWindow();
~eListboxMainWindow();
};
extern "C" int plugin_exec( PluginParam *par )
{
eListboxMainWindow dlg;
dlg.show();
dlg.hide();
return 0;
}
eListboxMainWindow::eListboxMainWindow(): eWindow(1)
{
cmove(ePoint(100, 100));
cresize(eSize(520, 376));
setText("Pixlistbox");
label=new eLabel(this);
label->move(ePoint(10, 10));
label->resize(eSize(400, 60));
label->setText("Auswahl");
theList = new eListBox<eListBoxEntryTextPixmap>(this);
theList->move(ePoint(10, 100));
theList->resize(eSize(clientrect.width() - 20, clientrect.height() - 160));
theList->loadDeco();
theList->setColumns(1);
theList->beginAtomic();
theList->clearList();
new eListBoxEntryTextPixmap(theList, "Kreuz", (void *) (1));
new eListBoxEntryTextPixmap(theList, "Pic", (void *) (2));
new eListBoxEntryTextPixmap(theList, "Herz", (void *) (3));
new eListBoxEntryTextPixmap(theList, "Karo", (void *) (4));
theList->endAtomic();
CONNECT(theList->selected, eListboxMainWindow::message1);
setFocus(theList);
}
void eListboxMainWindow::message1(eListBoxEntryTextPixmap *item)
{
eString message, message2;
message2 = item->getText();
message = "Farbe:\n " + message2;
eMessageBox msg((message), "Info", eMessageBox::iconInfo|eMessageBox::btOK);
msg.show();
msg.exec();
msg.hide();
}
eListboxMainWindow::~eListboxMainWindow()
{
}
Alles anzeigen
cya
Hi,
ja -C und -T Tuner der 7025 passen auch in der 600er.. weil die von der Bauform schon kurz sind..
cu
Hi,
pack mir das ganze Verzeichniss mal zusammen.. und mails mir einfach an ghost@dream-multimedia-tv.de dann schau ich mir das mal an....
cu
Hi,
hier mal der code wie man ein ein png in einem listbox entry rendert..
class eListBoxEntryTextPixmap: public eListBoxEntryText
{
static gPixmap *pm; // class member !!! the same pixmap for all entries...
bool pm_visible;
public:
eListBoxEntryTextPixmap(eListBox<eListBoxEntryTextPixmap>* lb, const char* txt=0, void *key=0, bool pm_visible=false, int align=0, const eString &hlptxt="", int keytype = value )
const eString& redraw(gPainter *rc, const eRect& rect, gColor coActiveB, gColor coActiveF, gColor coNormalB, gColor coNormalF, int state );
};
eListBoxEntryTextPixmap::eListBoxEntryTextPixmap( eListBox<eListBoxEntryMenu> *lb, const char* text, void *key, bool pm_visible, int align, const eString& hlptxt, int keytype )
:eListBoxEntryText(lb, text, key, align, hlptxt, keytype )
,pm(eSkin::getActive()->queryImage("eListBoxEntryCheck"))
,pm_visible(false)
{
if (pm_visible && !pm)
{
// load pixmap here... with pm = eSkin::getActive()->queryImage("bla");
// or pm = loadPNG("full_path_and_name_of_png_file");
}
}
const eString &eListBoxEntryTextPixmap::redraw(gPainter *rc, const eRect& complete_rect, gColor coActiveB, gColor coActiveF, gColor coNormalB, gColor, int state)
{
bool b;
if ( (b = (state == 2)) )
state = 0;
drawEntryRect( rc, complete_rect, coActiveB, coActiveF, coNormalB, coNormalF, state );
eRect rect = complete_rect;
if (pm && pm_visible)
{
int yPos = rect.top()+((rect.height() - pm->y) / 2); // center pixmap
rc->blit(*pm, ePoint(rect.left(), yPos), rect, gPixmap::blitAlphaTest );
rect.setLeft( rect.left() + pm->x + 10 );
}
if (!para) // render text to render para
{
para = new eTextPara( eRect(0, 0, rect.width(), rect.height()) );
para->setFont(font);
para->renderString(text);
para->realign(align);
}
rc->renderPara(*para, ePoint(rect.left(), rect.top()) );
if (b)
drawEntryBorder( rc, complete_rect, coActiveB, coActiveF, coNormalB, coNormalF );
return text;
}
Alles anzeigen
Anstelle von eListBoxEntryText muss man nun halt eListBoxEntryTextPixmap benutzen..
cu
Hi,
hmm also den erste Eintrag selektieren ist einfach:
listbox->moveSelection(eListBoxBase::dirFirst);
Oder war das nicht gemeint?
cu
Hi,
mal ne blöde Frage.. du hast nicht zufällig in irgendeiner Form eine CF Karte in Betrieb?
Also bisher hatten alle Leute die Probleme beim spulen oder abspielen hatten eine CF im Gerät stecken.. dort gibt es ein Treiber Problem.. deshalb kann ich momentan nur davon abraten eine CF dauerhaft beim normalen Betrieb im Gerät zu lassen.
cu
Hi,
also du könntest Dir etliches an diesen alten strxxx functionen sparen, wenn Du eString benutzt...
da braucht man kein strcpy..kein strcat... usw..
Bei Strings kann man einfach sowas machen:
eString bla;
bla="text";
bla += "blubber";
bla="neuer text"...
usw.. das wird dann alles einfacher..
cu