Dual Tuner Möglichkeit ?

  • Zitat

    Originally posted by Homey[GER]
    my usbtuner binary is hardcoded for SAT Tuners. I did not had any time and knowledge to make the required changes that it supports DVB-T Tuners too. But it's not that complicated to get it working with DVB-C or -T


    Source code is still available here:
    http://www.homeys-bunker.de/dm800/projects/usbtuner/


    Feel free to modify it to support DVB-C and -T Tuners :winking_face:



    @ Homey


    Thanks for you post


    the big problem is my limited knowledge in dvb structure and C programming (equal to zero)


    Do you have some hints how to mod the usbtuner source for dvb-t compatibility?



    thanks again

  • Hi there!


    As I said earlier on pages 20-22, now cinergy t2 dvb-t usb really works on e2, including scan and also watching tv. Pay atention to the patches for DVB-T and specially for Cinergy T2

  • Zitat

    Originally posted by liviurosioara Hi there! As I said earlier on pages 20-22, now cinergy t2 dvb-t usb really works on e2, including scan and also watching tv. Pay atention to the patches for DVB-T and specially for Cinergy T2


    Hi
    Do you mean you had a working cinergyt2 in dm800?can you post your setup?which image and driver?do you use the usbtuner binary mod by rmie on page22?
    Thanks


  • Ich habe den Treiber auf einem WDTV mit Kernel 2.6.15 am laufen. Er stammt von hier: http://mercurial.intuxication.org/hg/s2-liplianin. Ich habe dann weitergemacht und ihn auf 2.6.12 portiert. Leider gibt es Probleme wegen nicht sauber ausgerichteter Datenstrukturen. Hier sind die Fehlermeldungen beim Laden:


    Ich würde jetzt am einfachsten in unaligned.c einschalten, daß das ignoriert wird, aber ich habe nicht gefunden, wie das bei einem Kernel-Modul geht. Bei einem Anwendungsprogramm ist das einfach. Da ich hier nicht weiterkam, habe ich erstmal versucht, ein eigenes Image zu erstellen, um die Original Kernel-Quellen zu verwenden. Das ganze hat fast 3 Monate gedauert, weil Openembedded ein ziemlicher Mist ist. (Dauernder Internetzugriff, falsche Fehlermeldungen, vorausgesetzte Versionen, die nicht abgefragt werden, usw.) Nun versuche ich dvb-core auf einen brauchbaren Stand zu bringen. Blöderweise hat Dream das in den Kernel einkompiliert und nicht als Modul erstellt. Das macht die Sache umso langwieriger, weil ich jedesmal einen neuen Kernel erzeugen und diesen auf der Box einsetzen muß. Das Modul auszutauschen wäre so einfach.

  • Zitat

    Original von rmie


    Leider haben wir nicht die Wahl den einfacheren Weg zu gehen, also ein DVB S2 Repository nach 2.6.18 zurückzuportieren, da wir nicht alle DVB Module (vorallem dvb-core) neu kompilieren können (mangels Quellcode, bzw. DMM proprietäre Erweiterungen).


    Es bleibt also nur der "steinige" Weg daß in den 2.6.18 Kernel "einzubauen".


    Das ist aber (zum Glück) falsch. Der Quellkode von dvb-core ist verfügbar und kann beliebig angepaßt werden. Ist nur sehr umständlich, weil kein Modul. Siehe meine Antwort oben.

  • Zitat

    Originally posted by mvsroot


    Das ist aber (zum Glück) falsch. Der Quellkode von dvb-core ist verfügbar und kann beliebig angepaßt werden. Ist nur sehr umständlich, weil kein Modul. Siehe meine Antwort oben.


    Meine Befürchtung an dieser Stelle ist, daß dann die proprietären Kernel Module von DMM nicht mehr mit dem dvb-core Modul aus dem s2-liplianin Tree zusammenarbeiten werden.

  • Zitat

    Originally posted by rmie


    Meine Befürchtung an dieser Stelle ist, daß dann die proprietären Kernel Module von DMM nicht mehr mit dem dvb-core Modul aus dem s2-liplianin Tree zusammenarbeiten werden.


    Diese Befürchtung habe ich auch. Sie ist zwar lösbar, nur ob der Aufwand im Verhältnis zum Ergebnis steht, kann ich voher nicht beurteilen. Man muß ich schlimmsten Fall die Original Moduln von Dream mit einem Konvertierungsmodul zusammenbinden (linken) und kann das dann verwenden. objdump zeigt ja zumindestens die verwendeten Funktionen. MIt wäre es lieber, ich würde jemanden finden, der sich auf der MIPS-Plattform so gut auskennt, daß er weiß wie man die Strukturausrichtungsproblematik löst.
    Langsam habe ich das Gefühl, daß meine dm800 ein ziemlicher Fehlkauf war. Sie sollte die dm7000 ablösen. Geht nur leider nicht, weil der Stromverbrauch im Bereitschaftsmodus von (gemessenen) 8W jenseits von Gut und Böse ist. Ich werde mich also nicht von der dm7000 trennen und wohl die dm800 wieder verkaufen, da ja nicht mal das mit dem Dualtuner richtig läuft und das Booten viel zu lange dauert. Das Ding ist schlicht zu lahm. Wenn ich die Festplatte der dm7000 dranhänge und eine Aufnahme abspielen will, dauert das bei der dm7000 Sekunden und bei der dm800 etliche Minuten(!). Da das aber alles nicht zum Thema gehört, höre ich jetzt hier auf.

  • Finally i have a working stable configuration with my dm800 and an usb dvb-t pen receiver.


    My setup:


    dm800 with GP 4.6 (23.12.2009 drivers)
    A cinergyT2 usb dvb-t receiver


    I needed a modded driver for cinergy, the default driver based on 2.6.12 kernel is not good. This driver was given kindly from Liviu.


    Also the usbtuner binary doesn't work properly with dvb-t.
    This version attached here works ok for me (patch again by Liviu).
    (attached ko and binary for cinergyT2)


    the only issue is, doing an automatic scan, enigma2 crashes because run in "out of memory" (attached txt log)


    As mentioned above, the files attached here are not my own work. Many thanks to the author, Homey for the original source and Roland and Liviu for their patches.
    Unfortunately i don't have the patched sources, maybe the author can post here for future development.



    Here also a screenshot of my dm800 running usbtuner.


    Hope this helps.


    Ciao.




    PS: the pwd of .rar is: pinko69.


    PS.2: How can i make a script to do automatically the following steps each reboot?


    1) load .ko driver
    2) launch usbtuner binary
    3) restart enigma2



    thanks

  • Zitat

    Original von pinkopallino69
    1) load .ko driver
    2) launch usbtuner binary


    if you have vtunerc ipkg installed, you can "missuse" the start script provided there, edit /etc/vtunerc.conf:

    Code
    insmod /path/to/you/kernel/module
    DAEMON="/path/to/your/binary"
    OPTIONS="options for your deamon"


    Zitat

    Original von pinkopallino69
    3) restart enigma2


    enigma is always restarted if killed (unfriendly) or SIGTERM is sent (more polite :) )


    PS: would be great to see the code, maybe you can ask him to post the changes in his name if he has no account here :)

  • Zitat

    Originally posted by rmie


    if you have vtunerc ipkg installed, you can "missuse" the start script provided there, edit /etc/vtunerc.conf:

    Code
    insmod /path/to/you/kernel/module
    DAEMON="/path/to/your/binary"
    OPTIONS="options for your deamon"



    enigma is always restarted if killed (unfriendly) or SIGTERM is sent (more polite :) )



    I have find this solution (based on skywalker tutorial)



    1) place driver cinergyT2.ko in: /lib/modules/2.6.12-5.1-brcmstb-dm800/extra/
    2) chmod 644
    3) usbtuner in /usr/bin
    4) chmod 755
    5) add this in /usr/bin/enigma2.sh


    cd /home/root
    modprobe cinergyT2
    sleep 3;
    /usr/bin/usbtuner&
    sleep 1;
    (LD_PRELOAD ............)


    6) in telnet:
    depmod -a
    update-modules
    modprobe cinergyT2


    7) in separate telnet session:
    usbtuner


    :smiling_face_with_sunglasses: /usr/bin/enigma2.sh


    9) reboot



    Make sure cinergyT2 is attached to dm800 before powering on the dm800




    Ciao.

  • Zitat

    Original von rmie


    enigma is always restarted if killed (unfriendly) or SIGTERM is sent (more polite :) )


    PS: would be great to see the code, maybe you can ask him to post the changes in his name if he has no account here :)


    Man kann Enigma auch mit init 4;sleep 5;init 3 neu starten.


  • Can we have the Liviu patches to usbtuner.c source? I want to build it for sh4 platform.

  • Hi.


    I'm very trilled by this whole USB tuner possibility but as I tried to search the net for Cinergy T2 USB stick I could only find one on Ebay for quite a price (69pounds).


    Has anyone got any idea what other USB tuners can be used with usbtuner on DM800 ?


    I've seen somebody mentioning WinTV - any particular model ?
    Or maybe other sticks that drivers are available for DM800 2.6.12 kernel ?

  • Hi everyone!


    It is not a magical patch for usbtuner.c, it's just the rmie's revised usbtuner where I increased the buffers in order to have it working. I am affraid I've lost the virtual machine partition which I've used to compile the binary. I will try to look for a backup this weekend.



  • Hi,
    I am a not an expert and have some troubles.
    I installed vtunerc.ipkg, created a folder on my DM800 (cinergyT2), modified the vtunerc.conf in /etc

    Code
    DAEMON="/usr/sbin/vtunercs"
    OPTIONS=""
    insmod /cinergyT2/cinergyT2-2.6.16.ko
    DAEMON="/cinergyT2/usbtuner"
    OPTIONS=""


    Then I plugged in the T2, restarted my Enigma and nothing happens.


    How can I see whats wrong and why it is not working.


    Thans for your help
    regards

  • Öhhh, after rebooting I can find my Terratec DVB-T Tuner under Configuration and can perform a manuall scan :) It works! I can see and zap to these channels


    The problems are:
    1: Autoscan crashes my box as well.
    2: I can not find all channels. I used http://www.to-st.de/content/pr…-hannover-telemax.de.html for the frequences. I can find channels in 490, 498 and 530 Mhz but not above e.g. 594, 658 and 682. So e.g. Pro7, Sat1 are missing. Anyone know why?
    3: Tryed to record a HD channel and a second channel by using DVB-T. It is working but the performance is bad and it crashed after a couple of minutes.




    regards

  • No, no DAEMON="/usr/sbin/vtunerct"


    I made some test and the performance is really the biggest problem. Sometimes it works fine, sometimes is so slow and I have to restart (unplug the power) my box.


    I am not sure if it is because my settings are wrong or if the driver is buggy or the box is in generell to slow.


    ciao
    knacko

  • Zitat

    Original von liviurosioara
    Hi everyone!


    It is not a magical patch for usbtuner.c, it's just the rmie's revised usbtuner where I increased the buffers in order to have it working. I am affraid I've lost the virtual machine partition which I've used to compile the binary. I will try to look for a backup this weekend.


    Thank you for the information. I'll try to do the same and let you know.

  • So, nun nochmal zurück zum Anfang, welchen USB Tuner (DVB-S) könnte man (Stand heute) empfehlen. Habe jetzt den ganzen (!) Thread gelesen, aber irgendwie komme ivh nicht weiter. :einschenken: