MultiRC (für Parallelbetrieb von Dreamboxen) und LetterBox (zum Reinzoomen) Plugins

  • Hallo,


    da ich schon eine ganze Weile lang diese Funktionen in enigma2 haben wollte, hab ich endlich mal zwei Plugins dafür geschrieben:


    MultiRC - mehrere Dreamboxen im selben Raum mit mehreren Fernbedienungen steuern.
    Damit kann man bis zu vier DM7025/DM800 (DM8000?) im selben Raum betreiben, mit je einer eigenen Fernbedienung.
    tmbinc hat die technische Details und die Konfiguration der Fernbedienung ja erklärt.


    LetterBox Zoom - Zoom-In für Letterbox-Filme.
    Entfernt schwarze Balken links/rechts/oben/unten, je nach Film und Fernseher. Verschlimmert vermutlich die Bildqualität.
    Da mein Fernseher das nicht kann, und ich 4x Trauerrand bei Letterbox-Ausstrahlung von 16:9-Filmen auf meinem 16:9-Screen nicht mehr ertragen konnte.


    Die Plugins finden sich im enigma2-plugins-Repository, wenn dringender Bedarf besteht, kann ich bestimmt auch ipkgs oder zips draus machen:


    MultiRC
    LetterBox


    Edit:
    Ich habe mich mal daran versucht, ipkgs zu erstellen, hab sie aber nicht selber ausprobiert. Bestimmt hab ich irgendwas mit enigma und/oder python 2.4 und/oder 2.5 durcheinander gebracht. Testen auf eigene Gefahr ;)
    enigma2-plugin-extensions-letterbox.ipk
    enigma2-plugin-extensions-multirc.ipk

    DM600s, DM7025+ss, DM8000, DM800t, DM800s2

    Edited once, last by Ge0rG ().

  • Hallo,


    sind irgendwie Zusatzpake im OE für das Image von nöten ala
    gst-plugin-neonhttpsrc_0.10.7-r0_mipsel.ipk -> libgstapp-0.10-0 libneon27 (>= 0.28.2) libgnutls13 (>= 1.4.0) libgcrypt11 (>= 1.2.2) libgpg-error0 (>= 1.3) libexpat1 (>= 2.0.0) oder, oder, oder?



    Ständig habe ich hier Plugins, die nicht richtig dokumentiert sind, welche Zusatzpakete man noch benötigt um ein Plugin vernünftig zu installieren und zwar ohne Fehlermeldung, deswegen frage ich.

    Ein Problem ist halb gelöst, wenn es klar formuliert ist. (John Dewey, 1859-1952)

  • Diese beiden haben keinerlei externe Abhängigkeiten, bis auf ein halbwegs aktuelles enigma2 (MessageBox muss den default-Parameter unterstützen, das sollte seit mindestens Dezember 2007 gehen)


    Die CONTROL-files zum ipkg-bauen habe ich auch eingecheckt, es müsste nur noch SUBDIRS im Makefile.am angepasst werden, damit die beiden zusammen mit dem enigma2-plugins-Package gebaut werden. Damit warte ich aber, bis jemand anders die Plugins getestet hat und für funktionsfähig befindet ;)


  • Don't work with 800 (cvs 20080902) ?( image in flash, no error with BA


    dm500 - dm7000 - dm7025 - dm800 - dm8000

    Edited once, last by eagle ().

  • Hi,


    Quote

    Original von eagle
    Don't work with 800 (cvs 20080902) ?( image in flash, no error with BA


    Code
    1. File "/usr/lib/enigma2/python/Plugins/Extensions/MultiRC/plugin.py", line 79, in set_mask
    2. f = open(MASK, "w")
    3. IOError: [Errno 2] No such file or directory: '/proc/stb/ir/rc/mask'
    4. open /dev/dbox/fp0 for wakeup timer clear failed!(No such file or directory)
    5. ------------------------------------------------------------
    6. (exit code 5)


    It seems, your installation is really hosed. The plugin checks for /proc/stb/ir/rc/mask0 (dm7025/dm800) and /proc/stb/ir/rc/mask (e2 on older DMs), if neither is present, your drivers are not loaded or you are not running on a DreamBox.


    The last line from your log "open /dev/dbox/fp0 for wakeup timer clear failed!(No such file or directory)" also indicates that your drivers are missing.


    Could you please provide a listing of "ls -al /proc/stb/ir/rc/"?



    Georg

  • I solved the earlier problem (caused by a wrong file "bootup" in my image :rolleyes:)


    I tried multirc today (my receiver is a 7025)


    level 2 = ok but responding also the 7000!!!!!
    level 3 = don't work
    level 4 = don't work


    Why don't work level 3 and 4 ? and why the 7000 respond to level 1 BUT also level 2?


    Thanks

    dm500 - dm7000 - dm7025 - dm800 - dm8000

    Edited once, last by eagle ().

  • Quote

    Originally posted by eagle
    I tried multirc today (my receiver is a 7025)


    level 2 = ok but responding also the 7000!!!!!
    level 3 = don't work
    level 4 = don't work


    I can confirm the same problems about levels 3 & 4 not working on 7025 and also on 800.
    Levels 1 & 2 work fine on both, without any interference.
    It's an hardware (RC) or a software (CVS-Plugin) problem? Or both?


    Another issue:
    building an enigma2 image, there is no way to have multirc and letterbox merged into image: they always produce an error "package xxx not found"
    Merging them with an .ipk from "export IPKG_INSTALL = '${RDEPENDS}'" works fine, but I would like to build them like the other plugins do.
    Sources are properly downloaded and inserted as usual into

    Quote

    .../build/tmp/work/enigma2-plugins-2.5cvs2008xxxx-r0/enigma2-plugins/xxx/


    but nothing more happens: no makefile.in, no .ipk and no build.
    Could this be fixed? Or I'm missing something?
    Thx
    Spaeleus


  • No response from author ?

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • Quote

    Original von Spaeleus
    I can confirm the same problems about levels 3 & 4 not working on 7025 and also on 800.
    Levels 1 & 2 work fine on both, without any interference.
    It's an hardware (RC) or a software (CVS-Plugin) problem? Or both?


    It seems to be a hardware problem: when I setup my 7025 RC to layer 3 or 4, it is only recognized as layer 1 by the box (mask0 has bit 1 set). The plugin writes the correct bitmask to the register.


    While testing, I tried <long shift>0035 and now my RC is not sending any layer any more ;(


    Ge0rG

  • Hello again!

    It seems to be a hardware problem: when I setup my 7025 RC to layer 3 or 4, it is only recognized as layer 1 by the box (mask0 has bit 1 set). The plugin writes the correct bitmask to the register.

    I have re-verified the problem: there are two different generations of RC units out there: the older models are not detected correctly on layer 3/4, the newer ones are capable to use all four layers.


    You can distinguish the models by pressing "OK" or some other button really really fast - if the LED flashes for every press, it is a new one. If it omits some presses, it is an old one and thus only 1 & 2 work.

    Quote from Ge0rG

    While testing, I tried <long shift>0035 and now my RC is not sending any layer any more ;(

    Thanks to a generous donor, I can verify that the plugin works as expected ;)


    Quote from eagle

    level 2 = ok but responding also the 7000!!!!!

    In the DM7000, there should be a similar register for filtering RC layers. However, the e2 plugin probably won't be easily portable to e1 ;)


    Maybe you can filter it on the DM7000 by running "echo 1 > /proc/stb/ir/rc/mask" for layer 1.


    Edit: old RCs are sending different layers, it is probably a driver problem.

    DM600s, DM7025+ss, DM8000, DM800t, DM800s2

    Edited once, last by Ge0rG ().

  • Thank you Ge0rg!!


    With today drivers for dm7025 (20090116) now layer3 and 4 works!


    Filter "layer1" into dm7000 and the two receiver not interfered!


    I create this file "init" into var/etc :

    Shell-Script
    1. #!/bin/sh
    2. echo 1 > /proc/stb/ir/rc/mask


    and reboot


    Many many thanks!

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • Schonmal die blaue Taste gedrückt, nach Installation und Neustart des GUI ?

  • It seems to be a hardware problem: when I setup my 7025 RC to layer 3 or 4, it is only recognized as layer 1 by the box (mask0 has bit 1 set). The plugin writes the correct bitmask to the register.


    While testing, I tried <long shift>0035 and now my RC is not sending any layer any more ;(


    Ge0rG


    The dm8000 remote control respond to ALL layer... ;( there is a new code for this remote?


    Thanks

    dm500 - dm7000 - dm7025 - dm800 - dm8000