hi,
it does work on 7000, even the comp in cdk tree. I had seg fault with some commands, i have not reproduced which commands cause the fault yet. perhaps a wrong options association?
Beiträge von tension
-
-
-
-
yes, the shutdown menu and the quit(2) instance for enigma restart. i saw the mailing list with the changes, but i don't know what that line should fix. i wrote because i've been experienced for few weeks in my box7000 memory problems, i never had before. hi
-
-
i confirm this problem: after setting timezone the box shutdown instead restarting enigma.
surely by last days of novemberCode
Alles anzeigen(10) gRC waiting for gRC thread shutdown gRC thread has finished - (9) GFBDC - (9) Font Render Class - (5) d-Box LCD Hardware - (5) eActionMapList - (1) Background File Eraser thread has completed.. thread joined 0 - (1) EAUDIO - (0) Configuration reached rl -1 reached rl -1 verdammt man der war noch gelockt :/ no active skin enigma returned with 0 Shutdown
-
Zitat
Original von tension
Now if i put on hdd the old files too, these are deleted, not new ones, but the rcS contains the lines for removing of both types of files, old and new named..... and we are not in the init=1 condition.this for test we are not in condition init=1, and that the solution is renaming:
rcS:Codehdparm -M 128 /dev/ide/host0/bus0/target${HD}/lun0/disc if [ $init -eq 1 ] ; then rm -f /hdd/epg.* rm -f /hdd/xxx.* fi
with 4 files on /hdd (epg.dat, epg.dat.md5, xxx.dat, xxx.dat.md5) and this rcS at boot
i find only xxx files. ok?
so on hdd:
epg.dat does not work, the files are deleted
xxx.epg.dat works, at boot we find the files on hdd, and the epg complete downloaded before restart is reloaded, all ok
rcS file is normal, standard, official.if i change epgcache path like in webif, say put it to usb, the original files not renamed, are not deleted.
epg file on hdd does not work
epg file on usb works.on my db, sky it epg. ok?
-
Zitat
Originally posted by dbluelle
I think I don't quite understand your problemThe epg.dat file is saved to hdd when going to deep standby and loaded when booting again.
As I said above, it is only erased if you do a flash-erase or if you install a new image.
So there's no need to download or upload it .Maybe something's wrong with your installed image?
Which Dreambox model do you have?
(I can only tell you how this works on my DM7000, but AFAIK it should be the same on the 7020 and the 600)dbluelle
I never experienced what did you described as normal epg working. I noticed that because in this period was looking at the sources regarding epg. My 7000s ( year 2002 ?) 2b series, blue display, hdd maxtor 80g, does not work the same way. Perhaps my images are the problem, but I noticed that others too have the same behaviour, gemini360 for example, and the rcS file is quite the same as original one. I solved the problem as i described above, but i did not understand the reason why. Now if i put on hdd the old files too, these are deleted, not new ones, but the rcS contains the lines for removing of both types of files, old and new named..... and we are not in the init=1 condition.
Thanks dbluelle
-
-
Zitat
Originally posted by dbluelle
epg.dat on /hdd should only be removed if you do a flash-erase
or if you boot a new installed image for the first time
see in rcS:Code
Alles anzeigen# check if /var/.init exist .. then no flash erase is needed .. this is new ! if [ ! -e /var/.init ]; then # new /var/.init not found.. check if old /var/tmp/init exist.. # then not flash erase ist needed if [ -e /var/tmp/init ]; then # ok old /var/tmp/init exist.. no create the new flash_erase detection file.. touch /var/.init # delete /var/tmp folder now.. rm -rf /var/tmp # create link to /tmp <- this is mounted to RAM ln -sf /tmp /var/tmp else # flash erase is needed ... init=1 fi fi . . . . if [ $init -eq 1 ] ; then rm /hdd/epg.* fi
dbluellehi db, i know it, but......:
could i save the cache after epg.dat download? After shutdown (and restart), could enigma utilize that file, the complete epg (1,8mb), without having to stand everyrestart 3 minutes on epgchannel? -
-
-
-thank you Seddi-
-
hi, you must open the file with fopen function and read the lines with fgets function.
fopen
Syntax:#include <stdio.h>
FILE *fopen( const char *fname, const char *mode );The fopen() function opens a file indicated by fname and returns a stream associated with that file. If there is an error, fopen() returns NULL. mode is used to determine how the file will be treated (i.e. for input, output, etc)
fgets
Syntax:#include <stdio.h>
char *fgets( char *str, int num, FILE *stream );The function fgets() reads up to num - 1 characters from the given file stream and dumps them into str. The string that fgets() produces is always NULL-terminated.
PHPfgets() will stop when it reaches the end of a line, in which case str will contain that newline character.
Otherwise, fgets() will stop when it reaches num - 1 characters or encounters the EOF character. fgets() returns str on success, and NULL on an error.
If the wanted line is in a fixed order (number of line) recall fgets till you have your string, or
search for something with other string functions............. -
I tried this:
ghostrider 06/12/19 17:14:26Modified: tuxbox/enigma/src enigma_dyn.cpp
Log:
fix webif remote control on first press and on dbox2
Revision Changes Path
1.562 +6 -3 apps/tuxbox/enigma/src/enigma_dyn.cppDEBUG:
...........
wrote png ! fine !wrote png ! fine !
wrote png ! fine !
...........
...but nothing happens, no osdshot on rc webif screen.
Last working version is 1.560 (at least for me on firefox1.5.0.8, ubunut606).
hi,tension -
hi,
have anyone problems with remote control for the webif with last cvs?
i can't get it working..... none actions on commands sending...... is it mine
problem? I changed nothing in that section....
regardsP.s.: Merry Christmas to developing heads!
-
thank you very much Seddi, it works perfectly
-
history will teach us ........ 4-3
-
hi, doppie
no military secret. for me:I made so for the fr-fec- ecc., for 7000s, naturally:
Code
Alles anzeigeneDVBServiceController *sapi = eDVB::getInstance()->getServiceAPI(); if(sapi) { eString fc = "n/a"; int frq=sapi->transponder->satellite.frequency/1000; int sr=sapi->transponder->satellite.symbol_rate/1000; int pol=sapi->transponder->satellite.polarisation ? 'V' : 'H'; int fec=sapi->transponder->satellite.fec; switch(fec) { case 0: fc="auto"; break; case 1: fc="1/2"; break; case 2: fc="2/3"; break; case 3: fc="3/4"; break; case 4: fc="5/6"; break; case 5: fc="7/8"; break; case 6: fc="8/9"; break; default: break; } lfrq_num->setText(eString().sprintf("%d", frq)); lsr_num->setText(eString().sprintf("%d", sr)); lpol_num->setText(eString().sprintf("%c", pol)); lfec_num->setText(fc);
you can put the patch in enigma_main before the lines:
Code
Alles anzeigenChannelName->setText(name); switch (err) { case 0: Description->setText(""); postMessage(eZapMessage(0), 1); break; case -EAGAIN: Description->setText(_("One moment please...")); postMessage(eZapMessage(0, _("switch"), _("One moment please...")), 1); break; case -ENOENT:
it's ok for me, try it.......
hi to all,
especially to best image makers......./*(!)*/ -